0s autopkgtest [19:25:32]: starting date and time: 2025-10-18 19:25:32+0000 0s autopkgtest [19:25:32]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [19:25:32]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.36gr1lb1/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python3-defaults --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.7-2 -- lxd -r lxd-armhf-10.145.243.39 lxd-armhf-10.145.243.39:autopkgtest/ubuntu/resolute/armhf 20s autopkgtest [19:25:52]: testbed dpkg architecture: armhf 22s autopkgtest [19:25:54]: testbed apt version: 3.1.6ubuntu2 26s autopkgtest [19:25:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 28s autopkgtest [19:26:00]: testbed release detected to be: None 35s autopkgtest [19:26:07]: updating testbed package index (apt update) 37s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 38s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [83.3 kB] 38s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 38s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 38s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 38s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 38s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 38s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 38s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [85.4 kB] 38s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 38s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [321 kB] 38s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [3680 B] 38s Get:13 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [307 kB] 38s Get:14 http://ftpmaster.internal/ubuntu resolute/restricted Sources [14.4 kB] 38s Get:15 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.1 MB] 40s Get:16 http://ftpmaster.internal/ubuntu resolute/main Sources [1399 kB] 40s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1357 kB] 40s Get:18 http://ftpmaster.internal/ubuntu resolute/restricted armhf Packages [1672 B] 40s Get:19 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.8 MB] 40s Get:20 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [182 kB] 43s Fetched 40.3 MB in 5s (7398 kB/s) 44s Reading package lists... 49s autopkgtest [19:26:21]: upgrading testbed (apt dist-upgrade and autopurge) 51s Reading package lists... 51s Building dependency tree... 51s Reading state information... 52s Calculating upgrade... 52s The following packages will be upgraded: 52s apparmor apt base-files binutils binutils-arm-linux-gnueabihf 52s binutils-common cloud-init cloud-init-base distro-info-data gcc-15-base 52s gir1.2-girepository-2.0 libapparmor1 libapt-pkg7.0 libatomic1 libbinutils 52s libctf-nobfd0 libctf0 libgcc-s1 libgirepository-1.0-1 libpython3-stdlib 52s libsframe2 libstdc++6 lto-disabled-list python3 python3-minimal sudo-rs 53s 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 53s Need to get 7366 kB of archives. 53s After this operation, 14.3 kB of additional disk space will be used. 53s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf base-files armhf 14ubuntu4 [75.4 kB] 53s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf libatomic1 armhf 15.2.0-5ubuntu1 [7942 B] 53s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-base armhf 15.2.0-5ubuntu1 [58.1 kB] 53s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-s1 armhf 15.2.0-5ubuntu1 [40.6 kB] 53s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++6 armhf 15.2.0-5ubuntu1 [731 kB] 53s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libapt-pkg7.0 armhf 3.1.8ubuntu1 [1148 kB] 53s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf apt armhf 3.1.8ubuntu1 [1404 kB] 53s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.7-2 [27.8 kB] 53s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.7-2 [23.9 kB] 53s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.7-2 [10.6 kB] 53s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf distro-info-data all 0.67~ubuntu1 [7004 B] 53s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libgirepository-1.0-1 armhf 1.86.0-6 [111 kB] 53s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf gir1.2-girepository-2.0 armhf 1.86.0-6 [25.3 kB] 53s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libapparmor1 armhf 5.0.0~alpha1-0ubuntu8.1 [52.9 kB] 53s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf sudo-rs armhf 0.2.8-1ubuntu5.1 [548 kB] 53s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf apparmor armhf 5.0.0~alpha1-0ubuntu8.1 [631 kB] 53s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf libctf0 armhf 2.45-7ubuntu2 [75.7 kB] 53s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf libctf-nobfd0 armhf 2.45-7ubuntu2 [79.1 kB] 53s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-arm-linux-gnueabihf armhf 2.45-7ubuntu2 [1022 kB] 53s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf libbinutils armhf 2.45-7ubuntu2 [411 kB] 53s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf binutils armhf 2.45-7ubuntu2 [3240 B] 53s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-common armhf 2.45-7ubuntu2 [220 kB] 53s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf libsframe2 armhf 2.45-7ubuntu2 [13.4 kB] 53s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init-base all 25.3-0ubuntu1 [625 kB] 53s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init all 25.3-0ubuntu1 [2106 B] 53s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf lto-disabled-list all 71 [12.5 kB] 54s Preconfiguring packages ... 54s Fetched 7366 kB in 1s (7369 kB/s) 54s (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 ... 61081 files and directories currently installed.) 54s Preparing to unpack .../base-files_14ubuntu4_armhf.deb ... 54s Unpacking base-files (14ubuntu4) over (14ubuntu3) ... 54s Setting up base-files (14ubuntu4) ... 54s Installing new version of config file /etc/issue ... 54s Installing new version of config file /etc/issue.net ... 54s Installing new version of config file /etc/lsb-release ... 56s motd-news.service is a disabled or a static unit not running, not starting it. 56s (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 ... 61081 files and directories currently installed.) 56s Preparing to unpack .../libatomic1_15.2.0-5ubuntu1_armhf.deb ... 56s Unpacking libatomic1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 56s Preparing to unpack .../gcc-15-base_15.2.0-5ubuntu1_armhf.deb ... 56s Unpacking gcc-15-base:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 56s Setting up gcc-15-base:armhf (15.2.0-5ubuntu1) ... 56s (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 ... 61081 files and directories currently installed.) 56s Preparing to unpack .../libgcc-s1_15.2.0-5ubuntu1_armhf.deb ... 56s Unpacking libgcc-s1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 56s Setting up libgcc-s1:armhf (15.2.0-5ubuntu1) ... 56s (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 ... 61081 files and directories currently installed.) 56s Preparing to unpack .../libstdc++6_15.2.0-5ubuntu1_armhf.deb ... 56s Unpacking libstdc++6:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 56s Setting up libstdc++6:armhf (15.2.0-5ubuntu1) ... 56s (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 ... 61081 files and directories currently installed.) 56s Preparing to unpack .../libapt-pkg7.0_3.1.8ubuntu1_armhf.deb ... 56s Unpacking libapt-pkg7.0:armhf (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 56s Setting up libapt-pkg7.0:armhf (3.1.8ubuntu1) ... 56s (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 ... 61081 files and directories currently installed.) 56s Preparing to unpack .../apt_3.1.8ubuntu1_armhf.deb ... 56s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 56s Setting up apt (3.1.8ubuntu1) ... 57s (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 ... 61081 files and directories currently installed.) 57s Preparing to unpack .../python3-minimal_3.13.7-2_armhf.deb ... 57s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 57s Setting up python3-minimal (3.13.7-2) ... 57s (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 ... 61081 files and directories currently installed.) 57s Preparing to unpack .../00-python3_3.13.7-2_armhf.deb ... 57s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 57s Preparing to unpack .../01-libpython3-stdlib_3.13.7-2_armhf.deb ... 57s Unpacking libpython3-stdlib:armhf (3.13.7-2) over (3.13.7-1) ... 57s Preparing to unpack .../02-distro-info-data_0.67~ubuntu1_all.deb ... 57s Unpacking distro-info-data (0.67~ubuntu1) over (0.66) ... 57s Preparing to unpack .../03-libgirepository-1.0-1_1.86.0-6_armhf.deb ... 57s Unpacking libgirepository-1.0-1:armhf (1.86.0-6) over (1.84.0-1) ... 57s Preparing to unpack .../04-gir1.2-girepository-2.0_1.86.0-6_armhf.deb ... 57s Unpacking gir1.2-girepository-2.0:armhf (1.86.0-6) over (1.84.0-1) ... 57s Preparing to unpack .../05-libapparmor1_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 57s Unpacking libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 57s Preparing to unpack .../06-sudo-rs_0.2.8-1ubuntu5.1_armhf.deb ... 57s Unpacking sudo-rs (0.2.8-1ubuntu5.1) over (0.2.8-1ubuntu5) ... 57s Preparing to unpack .../07-apparmor_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 59s Unpacking apparmor (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 59s Preparing to unpack .../08-libctf0_2.45-7ubuntu2_armhf.deb ... 59s Unpacking libctf0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 59s Preparing to unpack .../09-libctf-nobfd0_2.45-7ubuntu2_armhf.deb ... 59s Unpacking libctf-nobfd0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 60s Preparing to unpack .../10-binutils-arm-linux-gnueabihf_2.45-7ubuntu2_armhf.deb ... 60s Unpacking binutils-arm-linux-gnueabihf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 60s Preparing to unpack .../11-libbinutils_2.45-7ubuntu2_armhf.deb ... 60s Unpacking libbinutils:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 60s Preparing to unpack .../12-binutils_2.45-7ubuntu2_armhf.deb ... 60s Unpacking binutils (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 60s Preparing to unpack .../13-binutils-common_2.45-7ubuntu2_armhf.deb ... 60s Unpacking binutils-common:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 60s Preparing to unpack .../14-libsframe2_2.45-7ubuntu2_armhf.deb ... 60s Unpacking libsframe2:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 60s Preparing to unpack .../15-cloud-init-base_25.3-0ubuntu1_all.deb ... 60s Unpacking cloud-init-base (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 62s Preparing to unpack .../16-cloud-init_25.3-0ubuntu1_all.deb ... 62s Unpacking cloud-init (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 62s Preparing to unpack .../17-lto-disabled-list_71_all.deb ... 62s Unpacking lto-disabled-list (71) over (69) ... 62s Setting up lto-disabled-list (71) ... 62s Setting up libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) ... 62s Setting up distro-info-data (0.67~ubuntu1) ... 62s Setting up libsframe2:armhf (2.45-7ubuntu2) ... 62s Setting up binutils-common:armhf (2.45-7ubuntu2) ... 62s Setting up libctf-nobfd0:armhf (2.45-7ubuntu2) ... 62s Setting up apparmor (5.0.0~alpha1-0ubuntu8.1) ... 62s Installing new version of config file /etc/apparmor.d/fusermount3 ... 62s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s Reloading AppArmor profiles 62s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "bwrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "babeld". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "bfdd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "bgpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "alsamixer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "dnstracer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "eigrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "fabricd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "dig". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "hostname". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "iotop-c". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "fusermount3". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "isisd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "ldpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "john". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "gs". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "linux-boot-prober". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "compressor". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "locale". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "lsblk". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "lsusb". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "irssi". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "mosquitto". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "nhrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "nslookup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "mbsync". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "notify-send". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "nc.openbsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "ospf6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "ospfd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "os-prober". /sbin/apparmor_parser: Unable to replace "pathd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "pbrd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Unable to replace "pim6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "pimd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "qpdf". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "ripngd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "ripd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "openvpn". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "ssh-keyscan". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "proftpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "staticd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "systemd-detect-virt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "tinyproxy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "mx-extract". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "rygel". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "vrrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "/usr/sbin/chronyd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "cmds". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "tnftp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "wg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "who". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "dumpcap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "tshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "wg-quick". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "znc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 62s 62s Error: At least one profile failed to load 62s Setting up libatomic1:armhf (15.2.0-5ubuntu1) ... 62s Setting up libgirepository-1.0-1:armhf (1.86.0-6) ... 62s Setting up libbinutils:armhf (2.45-7ubuntu2) ... 62s Setting up sudo-rs (0.2.8-1ubuntu5.1) ... 62s Setting up libpython3-stdlib:armhf (3.13.7-2) ... 62s Setting up libctf0:armhf (2.45-7ubuntu2) ... 62s Setting up python3 (3.13.7-2) ... 63s Setting up cloud-init-base (25.3-0ubuntu1) ... 64s Setting up gir1.2-girepository-2.0:armhf (1.86.0-6) ... 64s Setting up binutils-arm-linux-gnueabihf (2.45-7ubuntu2) ... 64s Setting up cloud-init (25.3-0ubuntu1) ... 64s Setting up binutils (2.45-7ubuntu2) ... 64s Processing triggers for plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu1) ... 65s Processing triggers for procps (2:4.0.4-8ubuntu3) ... 65s Processing triggers for install-info (7.1.1-1ubuntu1) ... 65s Processing triggers for libc-bin (2.42-0ubuntu3) ... 65s Processing triggers for rsyslog (8.2504.0-1ubuntu2) ... 65s Processing triggers for systemd (257.9-0ubuntu2) ... 65s Processing triggers for man-db (2.13.1-1) ... 69s Reading package lists... 70s Building dependency tree... 70s Reading state information... 70s Solving dependencies... 71s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 72s autopkgtest [19:26:44]: rebooting testbed after setup commands that affected boot 112s autopkgtest [19:27:24]: testbed running kernel: Linux 6.8.0-58-generic #60~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 28 14:48:37 UTC 2 136s autopkgtest [19:27:48]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 202s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.0-2 (dsc) [4834 B] 202s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.0-2 (tar) [661 kB] 202s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.0-2 (tar) [5679 kB] 202s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.0-2 (diff) [140 kB] 202s gpgv: Signature made Fri Sep 12 02:03:07 2025 UTC 202s gpgv: using RSA key 43B03E28326C54CFA2EC66A340F65066AD7C16DB 202s gpgv: Can't check signature: No public key 202s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.86.0-2.dsc: no acceptable signature found 203s autopkgtest [19:28:55]: testing package glib2.0 version 2.86.0-2 208s autopkgtest [19:29:00]: build not needed 219s autopkgtest [19:29:11]: test build: preparing testbed 221s Reading package lists... 221s Building dependency tree... 221s Reading state information... 221s Solving dependencies... 222s The following NEW packages will be installed: 222s build-essential cpp cpp-15 cpp-15-arm-linux-gnueabihf 222s cpp-arm-linux-gnueabihf g++ g++-15 g++-15-arm-linux-gnueabihf 222s g++-arm-linux-gnueabihf gcc gcc-15 gcc-15-arm-linux-gnueabihf 222s gcc-arm-linux-gnueabihf libasan8 libblkid-dev libc-dev-bin libc6-dev 222s libcc1-0 libcrypt-dev libffi-dev libgcc-15-dev libgio-2.0-dev libgomp1 222s libisl23 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 222s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-15-dev 222s libsysprof-capture-4-dev libubsan1 linux-libc-dev pkgconf pkgconf-bin 222s rpcsvc-proto uuid-dev zlib1g-dev 222s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 222s Need to get 58.1 MB of archives. 222s After this operation, 169 MB of additional disk space will be used. 222s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libc-dev-bin armhf 2.42-0ubuntu3 [21.8 kB] 222s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf linux-libc-dev armhf 6.17.0-5.5 [1771 kB] 224s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libcrypt-dev armhf 1:4.4.38-1build1 [120 kB] 224s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf rpcsvc-proto armhf 1.4.3-1 [62.3 kB] 224s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libc6-dev armhf 2.42-0ubuntu3 [1416 kB] 225s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libisl23 armhf 0.27-1 [546 kB] 225s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf libmpc3 armhf 1.3.1-1build3 [47.2 kB] 225s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15-arm-linux-gnueabihf armhf 15.2.0-5ubuntu1 [10.1 MB] 227s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15 armhf 15.2.0-5ubuntu1 [1034 B] 227s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [5756 B] 227s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf cpp armhf 4:15.2.0-4ubuntu1 [22.4 kB] 227s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libcc1-0 armhf 15.2.0-5ubuntu1 [43.6 kB] 227s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf libgomp1 armhf 15.2.0-5ubuntu1 [129 kB] 227s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libasan8 armhf 15.2.0-5ubuntu1 [2952 kB] 228s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf libubsan1 armhf 15.2.0-5ubuntu1 [1187 kB] 228s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-15-dev armhf 15.2.0-5ubuntu1 [898 kB] 228s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-arm-linux-gnueabihf armhf 15.2.0-5ubuntu1 [19.5 MB] 229s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15 armhf 15.2.0-5ubuntu1 [492 kB] 229s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [1220 B] 229s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf gcc armhf 4:15.2.0-4ubuntu1 [5022 B] 229s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++-15-dev armhf 15.2.0-5ubuntu1 [2635 kB] 229s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15-arm-linux-gnueabihf armhf 15.2.0-5ubuntu1 [11.4 MB] 229s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15 armhf 15.2.0-5ubuntu1 [23.7 kB] 229s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf g++-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [968 B] 229s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf g++ armhf 4:15.2.0-4ubuntu1 [1086 B] 229s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf build-essential armhf 12.12ubuntu1 [5088 B] 229s Get:27 http://ftpmaster.internal/ubuntu resolute/main armhf libffi-dev armhf 3.5.2-1build1 [58.6 kB] 229s Get:28 http://ftpmaster.internal/ubuntu resolute/main armhf uuid-dev armhf 2.41-4ubuntu4 [54.3 kB] 229s Get:29 http://ftpmaster.internal/ubuntu resolute/main armhf libblkid-dev armhf 2.41-4ubuntu4 [223 kB] 229s Get:30 http://ftpmaster.internal/ubuntu resolute/main armhf libsepol-dev armhf 3.8.1-1 [382 kB] 230s Get:31 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-16-0 armhf 10.46-1 [206 kB] 230s Get:32 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-32-0 armhf 10.46-1 [197 kB] 230s Get:33 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-posix3 armhf 10.46-1 [6286 B] 230s Get:34 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-dev armhf 10.46-1 [744 kB] 230s Get:35 http://ftpmaster.internal/ubuntu resolute/main armhf libselinux1-dev armhf 3.8.1-1build1 [169 kB] 230s Get:36 http://ftpmaster.internal/ubuntu resolute/main armhf libmount-dev armhf 2.41-4ubuntu4 [36.2 kB] 230s Get:37 http://ftpmaster.internal/ubuntu resolute/main armhf libsysprof-capture-4-dev armhf 48.0-2 [49.3 kB] 230s Get:38 http://ftpmaster.internal/ubuntu resolute/main armhf libpkgconf3 armhf 1.8.1-4build1 [26.6 kB] 230s Get:39 http://ftpmaster.internal/ubuntu resolute/main armhf pkgconf-bin armhf 1.8.1-4build1 [21.4 kB] 230s Get:40 http://ftpmaster.internal/ubuntu resolute/main armhf pkgconf armhf 1.8.1-4build1 [16.8 kB] 230s Get:41 http://ftpmaster.internal/ubuntu resolute/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu2 [881 kB] 230s Get:42 http://ftpmaster.internal/ubuntu resolute/main armhf libgio-2.0-dev armhf 2.86.0-2 [1730 kB] 230s Fetched 58.1 MB in 8s (7511 kB/s) 230s Selecting previously unselected package libc-dev-bin. 230s (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 ... 61081 files and directories currently installed.) 230s Preparing to unpack .../00-libc-dev-bin_2.42-0ubuntu3_armhf.deb ... 230s Unpacking libc-dev-bin (2.42-0ubuntu3) ... 230s Selecting previously unselected package linux-libc-dev:armhf. 230s Preparing to unpack .../01-linux-libc-dev_6.17.0-5.5_armhf.deb ... 230s Unpacking linux-libc-dev:armhf (6.17.0-5.5) ... 230s Selecting previously unselected package libcrypt-dev:armhf. 230s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.38-1build1_armhf.deb ... 230s Unpacking libcrypt-dev:armhf (1:4.4.38-1build1) ... 230s Selecting previously unselected package rpcsvc-proto. 230s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1_armhf.deb ... 230s Unpacking rpcsvc-proto (1.4.3-1) ... 230s Selecting previously unselected package libc6-dev:armhf. 231s Preparing to unpack .../04-libc6-dev_2.42-0ubuntu3_armhf.deb ... 231s Unpacking libc6-dev:armhf (2.42-0ubuntu3) ... 231s Selecting previously unselected package libisl23:armhf. 231s Preparing to unpack .../05-libisl23_0.27-1_armhf.deb ... 231s Unpacking libisl23:armhf (0.27-1) ... 231s Selecting previously unselected package libmpc3:armhf. 231s Preparing to unpack .../06-libmpc3_1.3.1-1build3_armhf.deb ... 231s Unpacking libmpc3:armhf (1.3.1-1build3) ... 231s Selecting previously unselected package cpp-15-arm-linux-gnueabihf. 231s Preparing to unpack .../07-cpp-15-arm-linux-gnueabihf_15.2.0-5ubuntu1_armhf.deb ... 231s Unpacking cpp-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 231s Selecting previously unselected package cpp-15. 231s Preparing to unpack .../08-cpp-15_15.2.0-5ubuntu1_armhf.deb ... 231s Unpacking cpp-15 (15.2.0-5ubuntu1) ... 231s Selecting previously unselected package cpp-arm-linux-gnueabihf. 231s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 231s Unpacking cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 231s Selecting previously unselected package cpp. 231s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_armhf.deb ... 231s Unpacking cpp (4:15.2.0-4ubuntu1) ... 231s Selecting previously unselected package libcc1-0:armhf. 231s Preparing to unpack .../11-libcc1-0_15.2.0-5ubuntu1_armhf.deb ... 231s Unpacking libcc1-0:armhf (15.2.0-5ubuntu1) ... 231s Selecting previously unselected package libgomp1:armhf. 231s Preparing to unpack .../12-libgomp1_15.2.0-5ubuntu1_armhf.deb ... 231s Unpacking libgomp1:armhf (15.2.0-5ubuntu1) ... 231s Selecting previously unselected package libasan8:armhf. 231s Preparing to unpack .../13-libasan8_15.2.0-5ubuntu1_armhf.deb ... 231s Unpacking libasan8:armhf (15.2.0-5ubuntu1) ... 231s Selecting previously unselected package libubsan1:armhf. 231s Preparing to unpack .../14-libubsan1_15.2.0-5ubuntu1_armhf.deb ... 231s Unpacking libubsan1:armhf (15.2.0-5ubuntu1) ... 231s Selecting previously unselected package libgcc-15-dev:armhf. 231s Preparing to unpack .../15-libgcc-15-dev_15.2.0-5ubuntu1_armhf.deb ... 231s Unpacking libgcc-15-dev:armhf (15.2.0-5ubuntu1) ... 232s Selecting previously unselected package gcc-15-arm-linux-gnueabihf. 232s Preparing to unpack .../16-gcc-15-arm-linux-gnueabihf_15.2.0-5ubuntu1_armhf.deb ... 232s Unpacking gcc-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 232s Selecting previously unselected package gcc-15. 232s Preparing to unpack .../17-gcc-15_15.2.0-5ubuntu1_armhf.deb ... 232s Unpacking gcc-15 (15.2.0-5ubuntu1) ... 232s Selecting previously unselected package gcc-arm-linux-gnueabihf. 232s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 232s Unpacking gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 232s Selecting previously unselected package gcc. 232s Preparing to unpack .../19-gcc_4%3a15.2.0-4ubuntu1_armhf.deb ... 232s Unpacking gcc (4:15.2.0-4ubuntu1) ... 232s Selecting previously unselected package libstdc++-15-dev:armhf. 232s Preparing to unpack .../20-libstdc++-15-dev_15.2.0-5ubuntu1_armhf.deb ... 232s Unpacking libstdc++-15-dev:armhf (15.2.0-5ubuntu1) ... 232s Selecting previously unselected package g++-15-arm-linux-gnueabihf. 232s Preparing to unpack .../21-g++-15-arm-linux-gnueabihf_15.2.0-5ubuntu1_armhf.deb ... 232s Unpacking g++-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 233s Selecting previously unselected package g++-15. 233s Preparing to unpack .../22-g++-15_15.2.0-5ubuntu1_armhf.deb ... 233s Unpacking g++-15 (15.2.0-5ubuntu1) ... 233s Selecting previously unselected package g++-arm-linux-gnueabihf. 233s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 233s Unpacking g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 233s Selecting previously unselected package g++. 233s Preparing to unpack .../24-g++_4%3a15.2.0-4ubuntu1_armhf.deb ... 233s Unpacking g++ (4:15.2.0-4ubuntu1) ... 233s Selecting previously unselected package build-essential. 233s Preparing to unpack .../25-build-essential_12.12ubuntu1_armhf.deb ... 233s Unpacking build-essential (12.12ubuntu1) ... 233s Selecting previously unselected package libffi-dev:armhf. 233s Preparing to unpack .../26-libffi-dev_3.5.2-1build1_armhf.deb ... 233s Unpacking libffi-dev:armhf (3.5.2-1build1) ... 233s Selecting previously unselected package uuid-dev:armhf. 233s Preparing to unpack .../27-uuid-dev_2.41-4ubuntu4_armhf.deb ... 233s Unpacking uuid-dev:armhf (2.41-4ubuntu4) ... 233s Selecting previously unselected package libblkid-dev:armhf. 233s Preparing to unpack .../28-libblkid-dev_2.41-4ubuntu4_armhf.deb ... 233s Unpacking libblkid-dev:armhf (2.41-4ubuntu4) ... 233s Selecting previously unselected package libsepol-dev:armhf. 233s Preparing to unpack .../29-libsepol-dev_3.8.1-1_armhf.deb ... 233s Unpacking libsepol-dev:armhf (3.8.1-1) ... 233s Selecting previously unselected package libpcre2-16-0:armhf. 233s Preparing to unpack .../30-libpcre2-16-0_10.46-1_armhf.deb ... 233s Unpacking libpcre2-16-0:armhf (10.46-1) ... 233s Selecting previously unselected package libpcre2-32-0:armhf. 233s Preparing to unpack .../31-libpcre2-32-0_10.46-1_armhf.deb ... 233s Unpacking libpcre2-32-0:armhf (10.46-1) ... 233s Selecting previously unselected package libpcre2-posix3:armhf. 233s Preparing to unpack .../32-libpcre2-posix3_10.46-1_armhf.deb ... 233s Unpacking libpcre2-posix3:armhf (10.46-1) ... 233s Selecting previously unselected package libpcre2-dev:armhf. 233s Preparing to unpack .../33-libpcre2-dev_10.46-1_armhf.deb ... 233s Unpacking libpcre2-dev:armhf (10.46-1) ... 233s Selecting previously unselected package libselinux1-dev:armhf. 233s Preparing to unpack .../34-libselinux1-dev_3.8.1-1build1_armhf.deb ... 233s Unpacking libselinux1-dev:armhf (3.8.1-1build1) ... 233s Selecting previously unselected package libmount-dev:armhf. 233s Preparing to unpack .../35-libmount-dev_2.41-4ubuntu4_armhf.deb ... 233s Unpacking libmount-dev:armhf (2.41-4ubuntu4) ... 233s Selecting previously unselected package libsysprof-capture-4-dev:armhf. 233s Preparing to unpack .../36-libsysprof-capture-4-dev_48.0-2_armhf.deb ... 233s Unpacking libsysprof-capture-4-dev:armhf (48.0-2) ... 233s Selecting previously unselected package libpkgconf3:armhf. 233s Preparing to unpack .../37-libpkgconf3_1.8.1-4build1_armhf.deb ... 233s Unpacking libpkgconf3:armhf (1.8.1-4build1) ... 233s Selecting previously unselected package pkgconf-bin. 233s Preparing to unpack .../38-pkgconf-bin_1.8.1-4build1_armhf.deb ... 233s Unpacking pkgconf-bin (1.8.1-4build1) ... 233s Selecting previously unselected package pkgconf:armhf. 233s Preparing to unpack .../39-pkgconf_1.8.1-4build1_armhf.deb ... 233s Unpacking pkgconf:armhf (1.8.1-4build1) ... 233s Selecting previously unselected package zlib1g-dev:armhf. 233s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_armhf.deb ... 233s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 233s Selecting previously unselected package libgio-2.0-dev:armhf. 233s Preparing to unpack .../41-libgio-2.0-dev_2.86.0-2_armhf.deb ... 233s Unpacking libgio-2.0-dev:armhf (2.86.0-2) ... 234s Setting up linux-libc-dev:armhf (6.17.0-5.5) ... 234s Setting up libgomp1:armhf (15.2.0-5ubuntu1) ... 234s Setting up libffi-dev:armhf (3.5.2-1build1) ... 234s Setting up libpcre2-16-0:armhf (10.46-1) ... 234s Setting up libsysprof-capture-4-dev:armhf (48.0-2) ... 234s Setting up libpcre2-32-0:armhf (10.46-1) ... 234s Setting up libpkgconf3:armhf (1.8.1-4build1) ... 234s Setting up rpcsvc-proto (1.4.3-1) ... 234s Setting up libmpc3:armhf (1.3.1-1build3) ... 234s Setting up libsepol-dev:armhf (3.8.1-1) ... 234s Setting up pkgconf-bin (1.8.1-4build1) ... 234s Setting up libubsan1:armhf (15.2.0-5ubuntu1) ... 234s Setting up libpcre2-posix3:armhf (10.46-1) ... 234s Setting up libcrypt-dev:armhf (1:4.4.38-1build1) ... 234s Setting up libasan8:armhf (15.2.0-5ubuntu1) ... 234s Setting up libisl23:armhf (0.27-1) ... 234s Setting up libc-dev-bin (2.42-0ubuntu3) ... 234s Setting up cpp-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 234s Setting up libcc1-0:armhf (15.2.0-5ubuntu1) ... 234s Setting up cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 234s Setting up libgcc-15-dev:armhf (15.2.0-5ubuntu1) ... 234s Setting up gcc-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 234s Setting up pkgconf:armhf (1.8.1-4build1) ... 234s Setting up cpp-15 (15.2.0-5ubuntu1) ... 234s Setting up cpp (4:15.2.0-4ubuntu1) ... 234s Setting up libc6-dev:armhf (2.42-0ubuntu3) ... 234s Setting up gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 234s Setting up libpcre2-dev:armhf (10.46-1) ... 234s Setting up libselinux1-dev:armhf (3.8.1-1build1) ... 234s Setting up gcc-15 (15.2.0-5ubuntu1) ... 234s Setting up libstdc++-15-dev:armhf (15.2.0-5ubuntu1) ... 234s Setting up uuid-dev:armhf (2.41-4ubuntu4) ... 234s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 234s Setting up libblkid-dev:armhf (2.41-4ubuntu4) ... 234s Setting up g++-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 234s Setting up gcc (4:15.2.0-4ubuntu1) ... 234s Setting up g++-15 (15.2.0-5ubuntu1) ... 234s Setting up libmount-dev:armhf (2.41-4ubuntu4) ... 234s Setting up g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 234s Setting up libgio-2.0-dev:armhf (2.86.0-2) ... 234s Setting up g++ (4:15.2.0-4ubuntu1) ... 234s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 234s Setting up build-essential (12.12ubuntu1) ... 234s Processing triggers for libc-bin (2.42-0ubuntu3) ... 234s Processing triggers for man-db (2.13.1-1) ... 234s Processing triggers for libglib2.0-0t64:armhf (2.86.0-2) ... 234s No schema files found: doing nothing. 234s Processing triggers for install-info (7.1.1-1ubuntu1) ... 242s autopkgtest [19:29:34]: test build: [----------------------- 244s + mode=dynamic 244s + getopt -o --long static -n debian/tests/build -- 244s + getopt_temp= -- 244s + eval set -- -- 244s + set -- -- 244s + true 244s + shift 244s + break 244s + mktemp -d 244s + WORKDIR=/tmp/tmp.eQJiGeRkPL 244s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 244s + cd /tmp/tmp.eQJiGeRkPL 244s + [ -n ] 244s + CROSS_COMPILE= 244s + cat 244s + cat 244s + cat 244s + cat 244s + cat 244s + cat 244s + cflags= 244s + pcflags= 244s + packages=glib-2.0 244s + pkg-config --cflags --libs glib-2.0 244s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 244s + echo build (glib, dynamic): OK 244s + [ -x glib-dynamic ] 244s + foo=bar ./glib-dynamic 244s + echo run (glib, dynamic): OK 244s + cflags= 244s + pcflags= 244s + packages=gobject-2.0 244s + pkg-config --cflags --libs gobject-2.0 244s build (glib, dynamic): OK 244s run (glib, dynamic): OK 244s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 244s build (gobject, dynamic): OK 244s + echo build (gobject, dynamic): OK 244s + [ -x gobject-dynamic ] 244s + foo=bar ./gobject-dynamic 244s run (gobject, dynamic): OK 244s + echo run (gobject, dynamic): OK 244s + cflags= 244s + pcflags= 244s + packages=gio-2.0 244s + pkg-config --cflags --libs gio-2.0 244s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 244s + echo build (gio, dynamic): OK 244s + [ -x gio-dynamic ] 244s + foo=bar ./gio-dynamic 244s build (gio, dynamic): OK 244s run (gio, dynamic): OK 244s + echo run (gio, dynamic): OK 244s + cflags= 244s + pcflags= 244s + packages=gio-unix-2.0 244s + pkg-config --cflags --libs gio-unix-2.0 244s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 245s build (gio-unix, dynamic): OK 245s + echo build (gio-unix, dynamic): OK 245s + [ -x gio-unix-dynamic ] 245s + foo=bar ./gio-unix-dynamic 245s run (gio-unix, dynamic): OK 245s + echo run (gio-unix, dynamic): OK 245s + cflags= 245s + pcflags= 245s + packages=gmodule-2.0 245s + pkg-config --cflags --libs gmodule-2.0 245s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 245s build (gmodule, dynamic): OK 245s run (gmodule, dynamic): OK 245s + echo build (gmodule, dynamic): OK 245s + [ -x gmodule-dynamic ] 245s + foo=bar ./gmodule-dynamic 245s + echo run (gmodule, dynamic): OK 245s + cflags= 245s + pcflags= 245s + packages=gthread-2.0 245s + pkg-config --cflags --libs gthread-2.0 245s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 245s build (gthread, dynamic): OK 245s + echo build (gthread, dynamic): OK 245s + [ -x gthread-dynamic ] 245s + foo=bar ./gthread-dynamic 245s + echo run (gthread, dynamic): OK 245s + rm -rf /tmp/tmp.eQJiGeRkPL 245s run (gthread, dynamic): OK 245s autopkgtest [19:29:37]: test build: -----------------------] 249s autopkgtest [19:29:41]: test build: - - - - - - - - - - results - - - - - - - - - - 249s build PASS (superficial) 253s autopkgtest [19:29:45]: test build-static: preparing testbed 255s Reading package lists... 255s Building dependency tree... 255s Reading state information... 255s Solving dependencies... 256s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 263s autopkgtest [19:29:55]: test build-static: [----------------------- 265s + mode=dynamic 265s + getopt -o --long static -n debian/tests/build -- --static 265s + getopt_temp= --static -- 265s + eval set -- --static -- 265s + set -- --static -- 265s + true 265s + mode=static 265s + shift 265s + continue 265s + true 265s + shift 265s + break 265s + mktemp -d 265s + WORKDIR=/tmp/tmp.OyiTo5GAuc 265s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 265s + cd /tmp/tmp.OyiTo5GAuc 265s + [ -n ] 265s + CROSS_COMPILE= 265s + cat 265s + cat 265s + cat 265s + cat 265s + cat 265s + cat 265s + cflags= 265s + pcflags= 265s + packages=glib-2.0 265s + cflags=-static 265s + pcflags=--static 265s + pkg-config --static --cflags --libs glib-2.0 265s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 265s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 265s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 265s /usr/bin/ld: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 265s /usr/bin/ld: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 265s build (glib, static): OK 265s + echo build (glib, static): OK 265s + [ -x glib-static ] 265s + foo=bar ./glib-static 265s + echo run (glib, static): OK 265s + cflags= 265s + pcflags= 265s + packages=gobject-2.0 265s + cflags=-static 265s + pcflags=--static 265s + pkg-config --static --cflags --libs gobject-2.0 265s run (glib, static): OK 265s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 266s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 266s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 266s /usr/bin/ld: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 266s /usr/bin/ld: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 266s + echo build (gobject, static): OK 266s + [ -x gobject-static ] 266s + foo=bar ./gobject-static 266s build (gobject, static): OK 266s run (gobject, static): OK 266s + echo run (gobject, static): OK 266s + cflags= 266s + pcflags= 266s + packages=gio-2.0 266s + cflags=-static 266s + pcflags=--static 266s + continue 266s + cflags= 266s + pcflags= 266s + packages=gio-unix-2.0 266s + cflags=-static 266s + pcflags=--static 266s + continue 266s + cflags= 266s + pcflags= 266s + packages=gmodule-2.0 266s + cflags=-static 266s + pcflags=--static 266s + pkg-config --static --cflags --libs gmodule-2.0 266s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 266s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 266s (.text+0x424): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 266s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 266s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 266s /usr/bin/ld: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 266s /usr/bin/ld: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 266s build (gmodule, static): OK 266s + echo build (gmodule, static): OK 266s + [ -x gmodule-static ] 266s + foo=bar ./gmodule-static 266s run (gmodule, static): OK 266s + echo run (gmodule, static): OK 266s + cflags= 266s + pcflags= 266s + packages=gthread-2.0 266s + cflags=-static 266s + pcflags=--static 266s + pkg-config --static --cflags --libs gthread-2.0 266s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 266s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 266s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 266s /usr/bin/ld: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 266s /usr/bin/ld: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 266s + echo build (gthread, static): OK 266s + [ -x gthread-static ] 266s + foo=bar ./gthread-static 266s build (gthread, static): OK 266s + echo run (gthread, static): OK 266s + rm -rf /tmp/tmp.OyiTo5GAuc 266s run (gthread, static): OK 266s autopkgtest [19:29:58]: test build-static: -----------------------] 270s build-static PASS (superficial) 270s autopkgtest [19:30:02]: test build-static: - - - - - - - - - - results - - - - - - - - - - 274s autopkgtest [19:30:06]: test girepository-tools: preparing testbed 296s autopkgtest [19:30:28]: testbed dpkg architecture: armhf 298s autopkgtest [19:30:30]: testbed apt version: 3.1.6ubuntu2 302s autopkgtest [19:30:34]: @@@@@@@@@@@@@@@@@@@@ test bed setup 304s autopkgtest [19:30:36]: testbed release detected to be: resolute 311s autopkgtest [19:30:43]: updating testbed package index (apt update) 313s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 313s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [83.3 kB] 313s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 313s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 313s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 313s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 313s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 314s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 314s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [85.4 kB] 314s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 314s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [321 kB] 314s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [3680 B] 314s Get:13 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [307 kB] 314s Get:14 http://ftpmaster.internal/ubuntu resolute/restricted Sources [14.4 kB] 314s Get:15 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.1 MB] 314s Get:16 http://ftpmaster.internal/ubuntu resolute/main Sources [1399 kB] 315s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1357 kB] 315s Get:18 http://ftpmaster.internal/ubuntu resolute/restricted armhf Packages [1672 B] 315s Get:19 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.8 MB] 315s Get:20 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [182 kB] 318s Fetched 40.3 MB in 5s (7837 kB/s) 319s Reading package lists... 325s autopkgtest [19:30:57]: upgrading testbed (apt dist-upgrade and autopurge) 326s Reading package lists... 327s Building dependency tree... 327s Reading state information... 327s Calculating upgrade... 328s The following packages will be upgraded: 328s apparmor apt base-files binutils binutils-arm-linux-gnueabihf 328s binutils-common cloud-init cloud-init-base distro-info-data gcc-15-base 328s gir1.2-girepository-2.0 libapparmor1 libapt-pkg7.0 libatomic1 libbinutils 328s libctf-nobfd0 libctf0 libgcc-s1 libgirepository-1.0-1 libpython3-stdlib 328s libsframe2 libstdc++6 lto-disabled-list python3 python3-minimal sudo-rs 328s 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 328s Need to get 7366 kB of archives. 328s After this operation, 14.3 kB of additional disk space will be used. 328s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf base-files armhf 14ubuntu4 [75.4 kB] 328s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf libatomic1 armhf 15.2.0-5ubuntu1 [7942 B] 328s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-base armhf 15.2.0-5ubuntu1 [58.1 kB] 328s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-s1 armhf 15.2.0-5ubuntu1 [40.6 kB] 328s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++6 armhf 15.2.0-5ubuntu1 [731 kB] 328s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libapt-pkg7.0 armhf 3.1.8ubuntu1 [1148 kB] 328s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf apt armhf 3.1.8ubuntu1 [1404 kB] 329s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.7-2 [27.8 kB] 329s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.7-2 [23.9 kB] 329s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.7-2 [10.6 kB] 329s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf distro-info-data all 0.67~ubuntu1 [7004 B] 329s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libgirepository-1.0-1 armhf 1.86.0-6 [111 kB] 329s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf gir1.2-girepository-2.0 armhf 1.86.0-6 [25.3 kB] 329s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libapparmor1 armhf 5.0.0~alpha1-0ubuntu8.1 [52.9 kB] 329s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf sudo-rs armhf 0.2.8-1ubuntu5.1 [548 kB] 329s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf apparmor armhf 5.0.0~alpha1-0ubuntu8.1 [631 kB] 329s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf libctf0 armhf 2.45-7ubuntu2 [75.7 kB] 329s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf libctf-nobfd0 armhf 2.45-7ubuntu2 [79.1 kB] 329s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-arm-linux-gnueabihf armhf 2.45-7ubuntu2 [1022 kB] 329s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf libbinutils armhf 2.45-7ubuntu2 [411 kB] 329s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf binutils armhf 2.45-7ubuntu2 [3240 B] 329s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-common armhf 2.45-7ubuntu2 [220 kB] 329s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf libsframe2 armhf 2.45-7ubuntu2 [13.4 kB] 329s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init-base all 25.3-0ubuntu1 [625 kB] 329s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init all 25.3-0ubuntu1 [2106 B] 329s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf lto-disabled-list all 71 [12.5 kB] 329s Preconfiguring packages ... 329s Fetched 7366 kB in 1s (8358 kB/s) 329s (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 ... 61081 files and directories currently installed.) 329s Preparing to unpack .../base-files_14ubuntu4_armhf.deb ... 329s Unpacking base-files (14ubuntu4) over (14ubuntu3) ... 329s Setting up base-files (14ubuntu4) ... 330s Installing new version of config file /etc/issue ... 330s Installing new version of config file /etc/issue.net ... 330s Installing new version of config file /etc/lsb-release ... 330s motd-news.service is a disabled or a static unit not running, not starting it. 330s (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 ... 61081 files and directories currently installed.) 330s Preparing to unpack .../libatomic1_15.2.0-5ubuntu1_armhf.deb ... 330s Unpacking libatomic1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 330s Preparing to unpack .../gcc-15-base_15.2.0-5ubuntu1_armhf.deb ... 330s Unpacking gcc-15-base:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 330s Setting up gcc-15-base:armhf (15.2.0-5ubuntu1) ... 330s (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 ... 61081 files and directories currently installed.) 330s Preparing to unpack .../libgcc-s1_15.2.0-5ubuntu1_armhf.deb ... 330s Unpacking libgcc-s1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 330s Setting up libgcc-s1:armhf (15.2.0-5ubuntu1) ... 330s (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 ... 61081 files and directories currently installed.) 330s Preparing to unpack .../libstdc++6_15.2.0-5ubuntu1_armhf.deb ... 330s Unpacking libstdc++6:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 331s Setting up libstdc++6:armhf (15.2.0-5ubuntu1) ... 331s (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 ... 61081 files and directories currently installed.) 331s Preparing to unpack .../libapt-pkg7.0_3.1.8ubuntu1_armhf.deb ... 331s Unpacking libapt-pkg7.0:armhf (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 331s Setting up libapt-pkg7.0:armhf (3.1.8ubuntu1) ... 331s (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 ... 61081 files and directories currently installed.) 331s Preparing to unpack .../apt_3.1.8ubuntu1_armhf.deb ... 331s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 331s Setting up apt (3.1.8ubuntu1) ... 332s (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 ... 61081 files and directories currently installed.) 332s Preparing to unpack .../python3-minimal_3.13.7-2_armhf.deb ... 332s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 332s Setting up python3-minimal (3.13.7-2) ... 332s (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 ... 61081 files and directories currently installed.) 332s Preparing to unpack .../00-python3_3.13.7-2_armhf.deb ... 332s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 332s Preparing to unpack .../01-libpython3-stdlib_3.13.7-2_armhf.deb ... 332s Unpacking libpython3-stdlib:armhf (3.13.7-2) over (3.13.7-1) ... 332s Preparing to unpack .../02-distro-info-data_0.67~ubuntu1_all.deb ... 332s Unpacking distro-info-data (0.67~ubuntu1) over (0.66) ... 332s Preparing to unpack .../03-libgirepository-1.0-1_1.86.0-6_armhf.deb ... 332s Unpacking libgirepository-1.0-1:armhf (1.86.0-6) over (1.84.0-1) ... 332s Preparing to unpack .../04-gir1.2-girepository-2.0_1.86.0-6_armhf.deb ... 332s Unpacking gir1.2-girepository-2.0:armhf (1.86.0-6) over (1.84.0-1) ... 332s Preparing to unpack .../05-libapparmor1_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 332s Unpacking libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 332s Preparing to unpack .../06-sudo-rs_0.2.8-1ubuntu5.1_armhf.deb ... 332s Unpacking sudo-rs (0.2.8-1ubuntu5.1) over (0.2.8-1ubuntu5) ... 332s Preparing to unpack .../07-apparmor_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 333s Unpacking apparmor (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 334s Preparing to unpack .../08-libctf0_2.45-7ubuntu2_armhf.deb ... 334s Unpacking libctf0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 334s Preparing to unpack .../09-libctf-nobfd0_2.45-7ubuntu2_armhf.deb ... 334s Unpacking libctf-nobfd0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 334s Preparing to unpack .../10-binutils-arm-linux-gnueabihf_2.45-7ubuntu2_armhf.deb ... 334s Unpacking binutils-arm-linux-gnueabihf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 334s Preparing to unpack .../11-libbinutils_2.45-7ubuntu2_armhf.deb ... 334s Unpacking libbinutils:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 334s Preparing to unpack .../12-binutils_2.45-7ubuntu2_armhf.deb ... 334s Unpacking binutils (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 334s Preparing to unpack .../13-binutils-common_2.45-7ubuntu2_armhf.deb ... 334s Unpacking binutils-common:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 334s Preparing to unpack .../14-libsframe2_2.45-7ubuntu2_armhf.deb ... 334s Unpacking libsframe2:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 334s Preparing to unpack .../15-cloud-init-base_25.3-0ubuntu1_all.deb ... 334s Unpacking cloud-init-base (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 335s Preparing to unpack .../16-cloud-init_25.3-0ubuntu1_all.deb ... 335s Unpacking cloud-init (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 335s Preparing to unpack .../17-lto-disabled-list_71_all.deb ... 335s Unpacking lto-disabled-list (71) over (69) ... 335s Setting up lto-disabled-list (71) ... 335s Setting up libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) ... 335s Setting up distro-info-data (0.67~ubuntu1) ... 335s Setting up libsframe2:armhf (2.45-7ubuntu2) ... 335s Setting up binutils-common:armhf (2.45-7ubuntu2) ... 335s Setting up libctf-nobfd0:armhf (2.45-7ubuntu2) ... 335s Setting up apparmor (5.0.0~alpha1-0ubuntu8.1) ... 335s Installing new version of config file /etc/apparmor.d/fusermount3 ... 335s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 335s 335s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 335s 335s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 335s 336s Reloading AppArmor profiles 336s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "bwrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Unable to replace "bfdd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "babeld". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "alsamixer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "bgpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "dnstracer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "eigrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "fabricd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "dig". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "hostname". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "iotop-c". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "fusermount3". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "isisd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "gs". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "ldpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "john". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "linux-boot-prober". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Unable to replace "compressor". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "locale". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Unable to replace "lsblk". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "lsusb". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "mosquitto". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "mbsync". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "irssi". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "nslookup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "nhrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "notify-send". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "nc.openbsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "ospf6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "ospfd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "pathd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "pbrd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "os-prober". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "pim6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "pimd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "qpdf". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Unable to replace "ripd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "ripngd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "openvpn". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "proftpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "ssh-keyscan". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "staticd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "systemd-detect-virt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "tinyproxy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "mx-extract". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "rygel". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "/usr/sbin/chronyd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "vrrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "wg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Unable to replace "cmds". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "tnftp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "who". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "dumpcap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "tshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "wg-quick". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "znc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 336s 336s Error: At least one profile failed to load 336s Setting up libatomic1:armhf (15.2.0-5ubuntu1) ... 336s Setting up libgirepository-1.0-1:armhf (1.86.0-6) ... 336s Setting up libbinutils:armhf (2.45-7ubuntu2) ... 336s Setting up sudo-rs (0.2.8-1ubuntu5.1) ... 336s Setting up libpython3-stdlib:armhf (3.13.7-2) ... 336s Setting up libctf0:armhf (2.45-7ubuntu2) ... 336s Setting up python3 (3.13.7-2) ... 337s Setting up cloud-init-base (25.3-0ubuntu1) ... 338s Setting up gir1.2-girepository-2.0:armhf (1.86.0-6) ... 338s Setting up binutils-arm-linux-gnueabihf (2.45-7ubuntu2) ... 338s Setting up cloud-init (25.3-0ubuntu1) ... 338s Setting up binutils (2.45-7ubuntu2) ... 338s Processing triggers for plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu1) ... 338s Processing triggers for procps (2:4.0.4-8ubuntu3) ... 338s Processing triggers for install-info (7.1.1-1ubuntu1) ... 338s Processing triggers for libc-bin (2.42-0ubuntu3) ... 338s Processing triggers for rsyslog (8.2504.0-1ubuntu2) ... 339s Processing triggers for systemd (257.9-0ubuntu2) ... 339s Processing triggers for man-db (2.13.1-1) ... 343s Reading package lists... 343s Building dependency tree... 343s Reading state information... 344s Solving dependencies... 344s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 346s autopkgtest [19:31:18]: rebooting testbed after setup commands that affected boot 409s Reading package lists... 409s Building dependency tree... 409s Reading state information... 409s Solving dependencies... 410s The following NEW packages will be installed: 410s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 410s native-architecture 410s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 410s Need to get 1077 kB of archives. 410s After this operation, 12.6 MB of additional disk space will be used. 410s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf gir1.2-glib-2.0-dev armhf 2.86.0-2 [865 kB] 411s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf native-architecture all 0.2.6 [2140 B] 411s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libgirepository-2.0-0 armhf 2.86.0-2 [100 kB] 411s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf girepository-tools armhf 2.86.0-2 [109 kB] 411s Fetched 1077 kB in 1s (1834 kB/s) 411s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf. 411s (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 ... 61081 files and directories currently installed.) 411s Preparing to unpack .../gir1.2-glib-2.0-dev_2.86.0-2_armhf.deb ... 411s Unpacking gir1.2-glib-2.0-dev:armhf (2.86.0-2) ... 411s Selecting previously unselected package native-architecture. 411s Preparing to unpack .../native-architecture_0.2.6_all.deb ... 411s Unpacking native-architecture (0.2.6) ... 411s Selecting previously unselected package libgirepository-2.0-0:armhf. 411s Preparing to unpack .../libgirepository-2.0-0_2.86.0-2_armhf.deb ... 411s Unpacking libgirepository-2.0-0:armhf (2.86.0-2) ... 411s Selecting previously unselected package girepository-tools:armhf. 411s Preparing to unpack .../girepository-tools_2.86.0-2_armhf.deb ... 411s Unpacking girepository-tools:armhf (2.86.0-2) ... 411s Setting up native-architecture (0.2.6) ... 411s Setting up libgirepository-2.0-0:armhf (2.86.0-2) ... 411s Setting up gir1.2-glib-2.0-dev:armhf (2.86.0-2) ... 411s Setting up girepository-tools:armhf (2.86.0-2) ... 411s Processing triggers for man-db (2.13.1-1) ... 412s Processing triggers for libc-bin (2.42-0ubuntu3) ... 429s autopkgtest [19:32:41]: test girepository-tools: [----------------------- 430s + cd /tmp/autopkgtest.N9ntvz/autopkgtest_tmp 430s + dpkg-architecture -qDEB_HOST_GNU_TYPE 430s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 431s + DEB_HOST_GNU_TYPE=arm-linux-gnueabihf 431s + dpkg-architecture -qDEB_HOST_MULTIARCH 431s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 431s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 431s + arm-linux-gnueabihf-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 431s typelib: GLib-2.0 431s + arm-linux-gnueabihf-gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 431s + arm-linux-gnueabihf-gi-decompile-typelib -o GLib.gir GLib.typelib 431s autopkgtest [19:32:43]: test girepository-tools: -----------------------] 435s girepository-tools PASS (superficial) 435s autopkgtest [19:32:47]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 438s autopkgtest [19:32:50]: test libgio-2.0-dev-bin: preparing testbed 461s autopkgtest [19:33:13]: testbed dpkg architecture: armhf 462s autopkgtest [19:33:14]: testbed apt version: 3.1.6ubuntu2 466s autopkgtest [19:33:18]: @@@@@@@@@@@@@@@@@@@@ test bed setup 468s autopkgtest [19:33:20]: testbed release detected to be: resolute 475s autopkgtest [19:33:27]: updating testbed package index (apt update) 477s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 477s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [83.3 kB] 478s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 478s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 478s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 478s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 478s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 478s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 478s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [85.4 kB] 478s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 478s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [321 kB] 478s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [3680 B] 478s Get:13 http://ftpmaster.internal/ubuntu resolute/restricted Sources [14.4 kB] 478s Get:14 http://ftpmaster.internal/ubuntu resolute/main Sources [1399 kB] 479s Get:15 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.1 MB] 482s Get:16 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [307 kB] 482s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1357 kB] 482s Get:18 http://ftpmaster.internal/ubuntu resolute/restricted armhf Packages [1672 B] 482s Get:19 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.8 MB] 483s Get:20 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [182 kB] 485s Fetched 40.3 MB in 8s (4832 kB/s) 487s Reading package lists... 493s autopkgtest [19:33:45]: upgrading testbed (apt dist-upgrade and autopurge) 495s Reading package lists... 495s Building dependency tree... 495s Reading state information... 495s Calculating upgrade... 496s The following packages will be upgraded: 496s apparmor apt base-files binutils binutils-arm-linux-gnueabihf 496s binutils-common cloud-init cloud-init-base distro-info-data gcc-15-base 496s gir1.2-girepository-2.0 libapparmor1 libapt-pkg7.0 libatomic1 libbinutils 496s libctf-nobfd0 libctf0 libgcc-s1 libgirepository-1.0-1 libpython3-stdlib 496s libsframe2 libstdc++6 lto-disabled-list python3 python3-minimal sudo-rs 496s 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 496s Need to get 7366 kB of archives. 496s After this operation, 14.3 kB of additional disk space will be used. 496s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf base-files armhf 14ubuntu4 [75.4 kB] 496s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf libatomic1 armhf 15.2.0-5ubuntu1 [7942 B] 496s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-base armhf 15.2.0-5ubuntu1 [58.1 kB] 496s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-s1 armhf 15.2.0-5ubuntu1 [40.6 kB] 496s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++6 armhf 15.2.0-5ubuntu1 [731 kB] 497s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libapt-pkg7.0 armhf 3.1.8ubuntu1 [1148 kB] 497s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf apt armhf 3.1.8ubuntu1 [1404 kB] 497s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.7-2 [27.8 kB] 497s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.7-2 [23.9 kB] 497s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.7-2 [10.6 kB] 497s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf distro-info-data all 0.67~ubuntu1 [7004 B] 497s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libgirepository-1.0-1 armhf 1.86.0-6 [111 kB] 497s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf gir1.2-girepository-2.0 armhf 1.86.0-6 [25.3 kB] 497s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libapparmor1 armhf 5.0.0~alpha1-0ubuntu8.1 [52.9 kB] 497s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf sudo-rs armhf 0.2.8-1ubuntu5.1 [548 kB] 497s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf apparmor armhf 5.0.0~alpha1-0ubuntu8.1 [631 kB] 497s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf libctf0 armhf 2.45-7ubuntu2 [75.7 kB] 497s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf libctf-nobfd0 armhf 2.45-7ubuntu2 [79.1 kB] 497s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-arm-linux-gnueabihf armhf 2.45-7ubuntu2 [1022 kB] 497s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf libbinutils armhf 2.45-7ubuntu2 [411 kB] 497s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf binutils armhf 2.45-7ubuntu2 [3240 B] 497s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-common armhf 2.45-7ubuntu2 [220 kB] 497s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf libsframe2 armhf 2.45-7ubuntu2 [13.4 kB] 497s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init-base all 25.3-0ubuntu1 [625 kB] 497s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init all 25.3-0ubuntu1 [2106 B] 497s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf lto-disabled-list all 71 [12.5 kB] 497s Preconfiguring packages ... 497s Fetched 7366 kB in 1s (8511 kB/s) 497s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 61081 files and directories currently installed.) 497s Preparing to unpack .../base-files_14ubuntu4_armhf.deb ... 498s Unpacking base-files (14ubuntu4) over (14ubuntu3) ... 498s Setting up base-files (14ubuntu4) ... 498s Installing new version of config file /etc/issue ... 498s Installing new version of config file /etc/issue.net ... 498s Installing new version of config file /etc/lsb-release ... 499s motd-news.service is a disabled or a static unit not running, not starting it. 499s (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 ... 61081 files and directories currently installed.) 499s Preparing to unpack .../libatomic1_15.2.0-5ubuntu1_armhf.deb ... 499s Unpacking libatomic1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 499s Preparing to unpack .../gcc-15-base_15.2.0-5ubuntu1_armhf.deb ... 499s Unpacking gcc-15-base:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 499s Setting up gcc-15-base:armhf (15.2.0-5ubuntu1) ... 499s (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 ... 61081 files and directories currently installed.) 499s Preparing to unpack .../libgcc-s1_15.2.0-5ubuntu1_armhf.deb ... 499s Unpacking libgcc-s1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 499s Setting up libgcc-s1:armhf (15.2.0-5ubuntu1) ... 499s (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 ... 61081 files and directories currently installed.) 499s Preparing to unpack .../libstdc++6_15.2.0-5ubuntu1_armhf.deb ... 499s Unpacking libstdc++6:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 499s Setting up libstdc++6:armhf (15.2.0-5ubuntu1) ... 499s (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 ... 61081 files and directories currently installed.) 499s Preparing to unpack .../libapt-pkg7.0_3.1.8ubuntu1_armhf.deb ... 499s Unpacking libapt-pkg7.0:armhf (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 499s Setting up libapt-pkg7.0:armhf (3.1.8ubuntu1) ... 499s (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 ... 61081 files and directories currently installed.) 499s Preparing to unpack .../apt_3.1.8ubuntu1_armhf.deb ... 499s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 500s Setting up apt (3.1.8ubuntu1) ... 500s (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 ... 61081 files and directories currently installed.) 500s Preparing to unpack .../python3-minimal_3.13.7-2_armhf.deb ... 500s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 500s Setting up python3-minimal (3.13.7-2) ... 501s (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 ... 61081 files and directories currently installed.) 501s Preparing to unpack .../00-python3_3.13.7-2_armhf.deb ... 501s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 501s Preparing to unpack .../01-libpython3-stdlib_3.13.7-2_armhf.deb ... 501s Unpacking libpython3-stdlib:armhf (3.13.7-2) over (3.13.7-1) ... 501s Preparing to unpack .../02-distro-info-data_0.67~ubuntu1_all.deb ... 501s Unpacking distro-info-data (0.67~ubuntu1) over (0.66) ... 501s Preparing to unpack .../03-libgirepository-1.0-1_1.86.0-6_armhf.deb ... 501s Unpacking libgirepository-1.0-1:armhf (1.86.0-6) over (1.84.0-1) ... 501s Preparing to unpack .../04-gir1.2-girepository-2.0_1.86.0-6_armhf.deb ... 501s Unpacking gir1.2-girepository-2.0:armhf (1.86.0-6) over (1.84.0-1) ... 501s Preparing to unpack .../05-libapparmor1_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 501s Unpacking libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 501s Preparing to unpack .../06-sudo-rs_0.2.8-1ubuntu5.1_armhf.deb ... 501s Unpacking sudo-rs (0.2.8-1ubuntu5.1) over (0.2.8-1ubuntu5) ... 501s Preparing to unpack .../07-apparmor_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 503s Unpacking apparmor (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 504s Preparing to unpack .../08-libctf0_2.45-7ubuntu2_armhf.deb ... 504s Unpacking libctf0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 504s Preparing to unpack .../09-libctf-nobfd0_2.45-7ubuntu2_armhf.deb ... 504s Unpacking libctf-nobfd0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 504s Preparing to unpack .../10-binutils-arm-linux-gnueabihf_2.45-7ubuntu2_armhf.deb ... 504s Unpacking binutils-arm-linux-gnueabihf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 504s Preparing to unpack .../11-libbinutils_2.45-7ubuntu2_armhf.deb ... 504s Unpacking libbinutils:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 504s Preparing to unpack .../12-binutils_2.45-7ubuntu2_armhf.deb ... 504s Unpacking binutils (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 504s Preparing to unpack .../13-binutils-common_2.45-7ubuntu2_armhf.deb ... 504s Unpacking binutils-common:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 504s Preparing to unpack .../14-libsframe2_2.45-7ubuntu2_armhf.deb ... 504s Unpacking libsframe2:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 504s Preparing to unpack .../15-cloud-init-base_25.3-0ubuntu1_all.deb ... 504s Unpacking cloud-init-base (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 505s Preparing to unpack .../16-cloud-init_25.3-0ubuntu1_all.deb ... 505s Unpacking cloud-init (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 505s Preparing to unpack .../17-lto-disabled-list_71_all.deb ... 505s Unpacking lto-disabled-list (71) over (69) ... 505s Setting up lto-disabled-list (71) ... 505s Setting up libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) ... 505s Setting up distro-info-data (0.67~ubuntu1) ... 505s Setting up libsframe2:armhf (2.45-7ubuntu2) ... 505s Setting up binutils-common:armhf (2.45-7ubuntu2) ... 505s Setting up libctf-nobfd0:armhf (2.45-7ubuntu2) ... 505s Setting up apparmor (5.0.0~alpha1-0ubuntu8.1) ... 505s Installing new version of config file /etc/apparmor.d/fusermount3 ... 505s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 505s 505s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 505s 505s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 505s 506s Reloading AppArmor profiles 506s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "bwrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "bfdd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "babeld". /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "bgpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "alsamixer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "dnstracer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "eigrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "fabricd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "dig". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "hostname". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "iotop-c". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "fusermount3". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "isisd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "gs". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "john". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "ldpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "compressor". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "locale". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "irssi". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "lsblk". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "linux-boot-prober". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "lsusb". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "mbsync". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "nhrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "nslookup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "notify-send". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "mosquitto". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "nc.openbsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "ospf6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "ospfd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "pathd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "os-prober". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "pim6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "pimd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "pbrd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "qpdf". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "ripd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "ripngd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "openvpn". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "proftpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "ssh-keyscan". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "staticd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "systemd-detect-virt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "tinyproxy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "mx-extract". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "rygel". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "vrrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "/usr/sbin/chronyd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "wg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "who". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "dumpcap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "tshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 506s /sbin/apparmor_parser: Unable to replace "wg-quick". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 506s 507s /sbin/apparmor_parser: Unable to replace "znc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 507s 507s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 507s 507s /sbin/apparmor_parser: Unable to replace "cmds". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 507s 507s /sbin/apparmor_parser: Unable to replace "tnftp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 507s 507s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 507s 507s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 507s 507s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 507s 507s Error: At least one profile failed to load 507s Setting up libatomic1:armhf (15.2.0-5ubuntu1) ... 507s Setting up libgirepository-1.0-1:armhf (1.86.0-6) ... 507s Setting up libbinutils:armhf (2.45-7ubuntu2) ... 507s Setting up sudo-rs (0.2.8-1ubuntu5.1) ... 507s Setting up libpython3-stdlib:armhf (3.13.7-2) ... 507s Setting up libctf0:armhf (2.45-7ubuntu2) ... 507s Setting up python3 (3.13.7-2) ... 507s Setting up cloud-init-base (25.3-0ubuntu1) ... 509s Setting up gir1.2-girepository-2.0:armhf (1.86.0-6) ... 509s Setting up binutils-arm-linux-gnueabihf (2.45-7ubuntu2) ... 509s Setting up cloud-init (25.3-0ubuntu1) ... 509s Setting up binutils (2.45-7ubuntu2) ... 509s Processing triggers for plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu1) ... 509s Processing triggers for procps (2:4.0.4-8ubuntu3) ... 509s Processing triggers for install-info (7.1.1-1ubuntu1) ... 509s Processing triggers for libc-bin (2.42-0ubuntu3) ... 509s Processing triggers for rsyslog (8.2504.0-1ubuntu2) ... 510s Processing triggers for systemd (257.9-0ubuntu2) ... 510s Processing triggers for man-db (2.13.1-1) ... 514s Reading package lists... 514s Building dependency tree... 514s Reading state information... 515s Solving dependencies... 515s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 517s autopkgtest [19:34:09]: rebooting testbed after setup commands that affected boot 580s Reading package lists... 581s Building dependency tree... 581s Reading state information... 581s Solving dependencies... 583s The following NEW packages will be installed: 583s libgio-2.0-dev-bin python3-packaging 583s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 583s Need to get 183 kB of archives. 583s After this operation, 1074 kB of additional disk space will be used. 583s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf python3-packaging all 25.0-1 [52.8 kB] 583s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf libgio-2.0-dev-bin armhf 2.86.0-2 [130 kB] 584s Fetched 183 kB in 0s (389 kB/s) 584s Selecting previously unselected package python3-packaging. 584s (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 ... 61081 files and directories currently installed.) 584s Preparing to unpack .../python3-packaging_25.0-1_all.deb ... 584s Unpacking python3-packaging (25.0-1) ... 584s Selecting previously unselected package libgio-2.0-dev-bin. 584s Preparing to unpack .../libgio-2.0-dev-bin_2.86.0-2_armhf.deb ... 584s Unpacking libgio-2.0-dev-bin (2.86.0-2) ... 584s Setting up python3-packaging (25.0-1) ... 584s Setting up libgio-2.0-dev-bin (2.86.0-2) ... 585s Processing triggers for man-db (2.13.1-1) ... 600s autopkgtest [19:35:32]: test libgio-2.0-dev-bin: [----------------------- 602s + gdbus-codegen --help 602s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 602s [--c-namespace NAMESPACE] [--c-generate-object-manager] 602s [--c-generate-autocleanup {none,objects,all}] 602s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 602s [--generate-rst OUTFILES] [--pragma-once] 602s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 602s [--glib-min-required VERSION] 602s [--glib-max-allowed VERSION] 602s [--symbol-decorator SYMBOL_DECORATOR] 602s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 602s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 602s [--generate-c-code OUTFILES | --header | --body | 602s --interface-info-header | --interface-info-body] 602s [--output FILE | --output-directory OUTDIR] 602s FILE [FILE ...] 602s 602s D-Bus code and documentation generator 602s 602s positional arguments: 602s FILE D-Bus introspection XML file 602s 602s options: 602s -h, --help show this help message and exit 602s --interface-prefix PREFIX 602s String to strip from D-Bus interface names for code 602s and docs 602s --c-namespace NAMESPACE 602s The namespace to use for generated C code 602s --c-generate-object-manager 602s Generate a GDBusObjectManagerClient subclass when 602s generating C code 602s --c-generate-autocleanup {none,objects,all} 602s Generate autocleanup support 602s --generate-docbook OUTFILES 602s Generate Docbook in OUTFILES-org.Project.IFace.xml 602s --generate-md OUTFILES 602s Generate Markdown in OUTFILES-org.Project.IFace.md 602s --generate-rst OUTFILES 602s Generate reStructuredText in OUTFILES- 602s org.Project.IFace.rst 602s --pragma-once Use "pragma once" as the inclusion guard 602s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 602s Add annotation (may be used several times) 602s --glib-min-required VERSION 602s Minimum version of GLib to be supported by the 602s outputted code (default: 2.30) 602s --glib-max-allowed VERSION 602s Maximum version of GLib to be used by the outputted 602s code (default: current GLib version) 602s --symbol-decorator SYMBOL_DECORATOR 602s Macro used to decorate a symbol in the outputted 602s header, possibly to export symbols 602s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 602s Additional header required for decorator specified by 602s --symbol-decorator 602s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 602s Additional define required for decorator specified by 602s --symbol-decorator 602s --generate-c-code OUTFILES 602s Generate C code in OUTFILES.[ch] 602s --header Generate C headers 602s --body Generate C code 602s --interface-info-header 602s Generate GDBusInterfaceInfo C header 602s --interface-info-body 602s Generate GDBusInterfaceInfo C code 602s --output FILE Write output into the specified file 602s --output-directory OUTDIR 602s Location to output generated files 602s + glib-compile-resources --version 602s 2.86.0 602s + glib-genmarshal --version 602s glib-genmarshal version 2.86.0 602s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 602s You may redistribute copies of glib-genmarshal under the terms of 602s the GNU General Public License which can be found in the 602s GLib source package. Sources, examples and contact 602s information are available at http://www.gtk.org 602s + glib-gettextize --version 602s /usr/bin/glib-gettextize (GNU glib) 2.86.0 602s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 602s This is free software; see the source for copying conditions. There is NO 602s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 602s Written by Ulrich Drepper 602s + glib-mkenums --version 602s glib-mkenums version 2.86.0 602s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 602s You may redistribute copies of glib-mkenums under the terms of 602s the GNU General Public License which can be found in the 602s GLib source package. Sources, examples and contact 602s information are available at http://www.gtk.org 602s GObject 602s gtester version 2.86.0 602s + gobject-query tree 602s + gtester --version 602s + gtester-report --version 602s gtester-report (GLib utils) version 2.86.0. 603s autopkgtest [19:35:35]: test libgio-2.0-dev-bin: -----------------------] 606s autopkgtest [19:35:38]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 606s libgio-2.0-dev-bin PASS (superficial) 610s autopkgtest [19:35:42]: test libglib2.0-dev: preparing testbed 632s autopkgtest [19:36:04]: testbed dpkg architecture: armhf 634s autopkgtest [19:36:06]: testbed apt version: 3.1.6ubuntu2 638s autopkgtest [19:36:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 640s autopkgtest [19:36:12]: testbed release detected to be: resolute 647s autopkgtest [19:36:19]: updating testbed package index (apt update) 649s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 649s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [83.3 kB] 649s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 649s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 650s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 650s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 650s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 650s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 650s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [85.4 kB] 650s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 650s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [321 kB] 650s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [3680 B] 650s Get:13 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.1 MB] 650s Get:14 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [307 kB] 650s Get:15 http://ftpmaster.internal/ubuntu resolute/main Sources [1399 kB] 650s Get:16 http://ftpmaster.internal/ubuntu resolute/restricted Sources [14.4 kB] 650s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1357 kB] 650s Get:18 http://ftpmaster.internal/ubuntu resolute/restricted armhf Packages [1672 B] 650s Get:19 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.8 MB] 651s Get:20 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [182 kB] 654s Fetched 40.3 MB in 5s (8053 kB/s) 655s Reading package lists... 661s autopkgtest [19:36:33]: upgrading testbed (apt dist-upgrade and autopurge) 662s Reading package lists... 663s Building dependency tree... 663s Reading state information... 663s Calculating upgrade... 664s The following packages will be upgraded: 664s apparmor apt base-files binutils binutils-arm-linux-gnueabihf 664s binutils-common cloud-init cloud-init-base distro-info-data gcc-15-base 664s gir1.2-girepository-2.0 libapparmor1 libapt-pkg7.0 libatomic1 libbinutils 664s libctf-nobfd0 libctf0 libgcc-s1 libgirepository-1.0-1 libpython3-stdlib 664s libsframe2 libstdc++6 lto-disabled-list python3 python3-minimal sudo-rs 664s 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 664s Need to get 7366 kB of archives. 664s After this operation, 14.3 kB of additional disk space will be used. 664s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf base-files armhf 14ubuntu4 [75.4 kB] 664s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf libatomic1 armhf 15.2.0-5ubuntu1 [7942 B] 664s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-base armhf 15.2.0-5ubuntu1 [58.1 kB] 664s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-s1 armhf 15.2.0-5ubuntu1 [40.6 kB] 664s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++6 armhf 15.2.0-5ubuntu1 [731 kB] 664s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libapt-pkg7.0 armhf 3.1.8ubuntu1 [1148 kB] 664s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf apt armhf 3.1.8ubuntu1 [1404 kB] 664s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.7-2 [27.8 kB] 664s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.7-2 [23.9 kB] 664s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.7-2 [10.6 kB] 664s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf distro-info-data all 0.67~ubuntu1 [7004 B] 664s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libgirepository-1.0-1 armhf 1.86.0-6 [111 kB] 664s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf gir1.2-girepository-2.0 armhf 1.86.0-6 [25.3 kB] 664s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libapparmor1 armhf 5.0.0~alpha1-0ubuntu8.1 [52.9 kB] 664s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf sudo-rs armhf 0.2.8-1ubuntu5.1 [548 kB] 664s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf apparmor armhf 5.0.0~alpha1-0ubuntu8.1 [631 kB] 664s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf libctf0 armhf 2.45-7ubuntu2 [75.7 kB] 664s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf libctf-nobfd0 armhf 2.45-7ubuntu2 [79.1 kB] 664s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-arm-linux-gnueabihf armhf 2.45-7ubuntu2 [1022 kB] 664s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf libbinutils armhf 2.45-7ubuntu2 [411 kB] 665s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf binutils armhf 2.45-7ubuntu2 [3240 B] 665s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-common armhf 2.45-7ubuntu2 [220 kB] 665s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf libsframe2 armhf 2.45-7ubuntu2 [13.4 kB] 665s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init-base all 25.3-0ubuntu1 [625 kB] 665s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init all 25.3-0ubuntu1 [2106 B] 665s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf lto-disabled-list all 71 [12.5 kB] 665s Preconfiguring packages ... 665s Fetched 7366 kB in 1s (6625 kB/s) 665s (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 ... 61081 files and directories currently installed.) 665s Preparing to unpack .../base-files_14ubuntu4_armhf.deb ... 665s Unpacking base-files (14ubuntu4) over (14ubuntu3) ... 666s Setting up base-files (14ubuntu4) ... 666s Installing new version of config file /etc/issue ... 666s Installing new version of config file /etc/issue.net ... 666s Installing new version of config file /etc/lsb-release ... 666s motd-news.service is a disabled or a static unit not running, not starting it. 666s (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 ... 61081 files and directories currently installed.) 666s Preparing to unpack .../libatomic1_15.2.0-5ubuntu1_armhf.deb ... 666s Unpacking libatomic1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 666s Preparing to unpack .../gcc-15-base_15.2.0-5ubuntu1_armhf.deb ... 666s Unpacking gcc-15-base:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 666s Setting up gcc-15-base:armhf (15.2.0-5ubuntu1) ... 666s (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 ... 61081 files and directories currently installed.) 666s Preparing to unpack .../libgcc-s1_15.2.0-5ubuntu1_armhf.deb ... 666s Unpacking libgcc-s1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 667s Setting up libgcc-s1:armhf (15.2.0-5ubuntu1) ... 667s (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 ... 61081 files and directories currently installed.) 667s Preparing to unpack .../libstdc++6_15.2.0-5ubuntu1_armhf.deb ... 667s Unpacking libstdc++6:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 667s Setting up libstdc++6:armhf (15.2.0-5ubuntu1) ... 667s (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 ... 61081 files and directories currently installed.) 667s Preparing to unpack .../libapt-pkg7.0_3.1.8ubuntu1_armhf.deb ... 667s Unpacking libapt-pkg7.0:armhf (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 667s Setting up libapt-pkg7.0:armhf (3.1.8ubuntu1) ... 667s (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 ... 61081 files and directories currently installed.) 667s Preparing to unpack .../apt_3.1.8ubuntu1_armhf.deb ... 667s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 667s Setting up apt (3.1.8ubuntu1) ... 668s (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 ... 61081 files and directories currently installed.) 668s Preparing to unpack .../python3-minimal_3.13.7-2_armhf.deb ... 668s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 668s Setting up python3-minimal (3.13.7-2) ... 668s (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 ... 61081 files and directories currently installed.) 668s Preparing to unpack .../00-python3_3.13.7-2_armhf.deb ... 668s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 668s Preparing to unpack .../01-libpython3-stdlib_3.13.7-2_armhf.deb ... 668s Unpacking libpython3-stdlib:armhf (3.13.7-2) over (3.13.7-1) ... 668s Preparing to unpack .../02-distro-info-data_0.67~ubuntu1_all.deb ... 668s Unpacking distro-info-data (0.67~ubuntu1) over (0.66) ... 668s Preparing to unpack .../03-libgirepository-1.0-1_1.86.0-6_armhf.deb ... 668s Unpacking libgirepository-1.0-1:armhf (1.86.0-6) over (1.84.0-1) ... 668s Preparing to unpack .../04-gir1.2-girepository-2.0_1.86.0-6_armhf.deb ... 668s Unpacking gir1.2-girepository-2.0:armhf (1.86.0-6) over (1.84.0-1) ... 668s Preparing to unpack .../05-libapparmor1_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 668s Unpacking libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 668s Preparing to unpack .../06-sudo-rs_0.2.8-1ubuntu5.1_armhf.deb ... 668s Unpacking sudo-rs (0.2.8-1ubuntu5.1) over (0.2.8-1ubuntu5) ... 668s Preparing to unpack .../07-apparmor_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 670s Unpacking apparmor (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 671s Preparing to unpack .../08-libctf0_2.45-7ubuntu2_armhf.deb ... 671s Unpacking libctf0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 671s Preparing to unpack .../09-libctf-nobfd0_2.45-7ubuntu2_armhf.deb ... 671s Unpacking libctf-nobfd0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 671s Preparing to unpack .../10-binutils-arm-linux-gnueabihf_2.45-7ubuntu2_armhf.deb ... 671s Unpacking binutils-arm-linux-gnueabihf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 671s Preparing to unpack .../11-libbinutils_2.45-7ubuntu2_armhf.deb ... 671s Unpacking libbinutils:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 671s Preparing to unpack .../12-binutils_2.45-7ubuntu2_armhf.deb ... 671s Unpacking binutils (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 671s Preparing to unpack .../13-binutils-common_2.45-7ubuntu2_armhf.deb ... 671s Unpacking binutils-common:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 671s Preparing to unpack .../14-libsframe2_2.45-7ubuntu2_armhf.deb ... 671s Unpacking libsframe2:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 671s Preparing to unpack .../15-cloud-init-base_25.3-0ubuntu1_all.deb ... 671s Unpacking cloud-init-base (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 672s Preparing to unpack .../16-cloud-init_25.3-0ubuntu1_all.deb ... 672s Unpacking cloud-init (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 672s Preparing to unpack .../17-lto-disabled-list_71_all.deb ... 672s Unpacking lto-disabled-list (71) over (69) ... 672s Setting up lto-disabled-list (71) ... 672s Setting up libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) ... 672s Setting up distro-info-data (0.67~ubuntu1) ... 672s Setting up libsframe2:armhf (2.45-7ubuntu2) ... 672s Setting up binutils-common:armhf (2.45-7ubuntu2) ... 672s Setting up libctf-nobfd0:armhf (2.45-7ubuntu2) ... 672s Setting up apparmor (5.0.0~alpha1-0ubuntu8.1) ... 672s Installing new version of config file /etc/apparmor.d/fusermount3 ... 672s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 672s 672s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 672s 672s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 672s 673s Reloading AppArmor profiles 673s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "bwrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "babeld". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "bfdd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "alsamixer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "bgpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "dnstracer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "eigrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "fabricd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "dig". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "iotop-c". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "fusermount3". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "isisd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "hostname". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "john". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "gs". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "ldpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "irssi". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "linux-boot-prober". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "lsblk". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "compressor". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "locale". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "lsusb". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "mosquitto". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "mbsync". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "nslookup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 673s /sbin/apparmor_parser: Unable to replace "nhrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 673s 674s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "notify-send". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "nc.openbsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "ospfd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "ospf6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "pathd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "os-prober". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "pim6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "pimd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "pbrd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "qpdf". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "ripd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "ripngd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "ssh-keyscan". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "staticd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "systemd-detect-virt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "proftpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "tinyproxy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "openvpn". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "/usr/sbin/chronyd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "mx-extract". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "rygel". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "cmds". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "tnftp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "dumpcap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "tshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "vrrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "wg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "who". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "znc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "wg-quick". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 674s 674s Error: At least one profile failed to load 674s Setting up libatomic1:armhf (15.2.0-5ubuntu1) ... 674s Setting up libgirepository-1.0-1:armhf (1.86.0-6) ... 674s Setting up libbinutils:armhf (2.45-7ubuntu2) ... 674s Setting up sudo-rs (0.2.8-1ubuntu5.1) ... 674s Setting up libpython3-stdlib:armhf (3.13.7-2) ... 674s Setting up libctf0:armhf (2.45-7ubuntu2) ... 674s Setting up python3 (3.13.7-2) ... 674s Setting up cloud-init-base (25.3-0ubuntu1) ... 676s Setting up gir1.2-girepository-2.0:armhf (1.86.0-6) ... 676s Setting up binutils-arm-linux-gnueabihf (2.45-7ubuntu2) ... 676s Setting up cloud-init (25.3-0ubuntu1) ... 676s Setting up binutils (2.45-7ubuntu2) ... 676s Processing triggers for plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu1) ... 676s Processing triggers for procps (2:4.0.4-8ubuntu3) ... 676s Processing triggers for install-info (7.1.1-1ubuntu1) ... 676s Processing triggers for libc-bin (2.42-0ubuntu3) ... 676s Processing triggers for rsyslog (8.2504.0-1ubuntu2) ... 676s Processing triggers for systemd (257.9-0ubuntu2) ... 676s Processing triggers for man-db (2.13.1-1) ... 681s Reading package lists... 681s Building dependency tree... 681s Reading state information... 682s Solving dependencies... 682s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 684s autopkgtest [19:36:56]: rebooting testbed after setup commands that affected boot 748s Reading package lists... 748s Building dependency tree... 748s Reading state information... 748s Solving dependencies... 749s The following NEW packages will be installed: 749s build-essential cpp cpp-15 cpp-15-arm-linux-gnueabihf 749s cpp-arm-linux-gnueabihf g++ g++-15 g++-15-arm-linux-gnueabihf 749s g++-arm-linux-gnueabihf gcc gcc-15 gcc-15-arm-linux-gnueabihf 749s gcc-arm-linux-gnueabihf gir1.2-glib-2.0-dev girepository-tools libasan8 749s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev 749s libgcc-15-dev libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 749s libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 749s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 749s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-15-dev 749s libsysprof-capture-4-dev libubsan1 linux-libc-dev native-architecture 749s pkgconf pkgconf-bin python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 749s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 749s Need to get 59.5 MB of archives. 749s After this operation, 183 MB of additional disk space will be used. 749s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libc-dev-bin armhf 2.42-0ubuntu3 [21.8 kB] 749s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf linux-libc-dev armhf 6.17.0-5.5 [1771 kB] 750s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libcrypt-dev armhf 1:4.4.38-1build1 [120 kB] 750s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf rpcsvc-proto armhf 1.4.3-1 [62.3 kB] 750s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libc6-dev armhf 2.42-0ubuntu3 [1416 kB] 750s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libisl23 armhf 0.27-1 [546 kB] 750s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf libmpc3 armhf 1.3.1-1build3 [47.2 kB] 750s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15-arm-linux-gnueabihf armhf 15.2.0-5ubuntu1 [10.1 MB] 752s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15 armhf 15.2.0-5ubuntu1 [1034 B] 752s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [5756 B] 752s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf cpp armhf 4:15.2.0-4ubuntu1 [22.4 kB] 752s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libcc1-0 armhf 15.2.0-5ubuntu1 [43.6 kB] 752s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf libgomp1 armhf 15.2.0-5ubuntu1 [129 kB] 752s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libasan8 armhf 15.2.0-5ubuntu1 [2952 kB] 752s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf libubsan1 armhf 15.2.0-5ubuntu1 [1187 kB] 752s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-15-dev armhf 15.2.0-5ubuntu1 [898 kB] 752s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-arm-linux-gnueabihf armhf 15.2.0-5ubuntu1 [19.5 MB] 753s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15 armhf 15.2.0-5ubuntu1 [492 kB] 753s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [1220 B] 753s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf gcc armhf 4:15.2.0-4ubuntu1 [5022 B] 753s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++-15-dev armhf 15.2.0-5ubuntu1 [2635 kB] 753s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15-arm-linux-gnueabihf armhf 15.2.0-5ubuntu1 [11.4 MB] 754s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15 armhf 15.2.0-5ubuntu1 [23.7 kB] 754s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf g++-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [968 B] 754s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf g++ armhf 4:15.2.0-4ubuntu1 [1086 B] 754s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf build-essential armhf 12.12ubuntu1 [5088 B] 754s Get:27 http://ftpmaster.internal/ubuntu resolute/main armhf gir1.2-glib-2.0-dev armhf 2.86.0-2 [865 kB] 754s Get:28 http://ftpmaster.internal/ubuntu resolute/main armhf native-architecture all 0.2.6 [2140 B] 754s Get:29 http://ftpmaster.internal/ubuntu resolute/main armhf libgirepository-2.0-0 armhf 2.86.0-2 [100 kB] 754s Get:30 http://ftpmaster.internal/ubuntu resolute/main armhf girepository-tools armhf 2.86.0-2 [109 kB] 754s Get:31 http://ftpmaster.internal/ubuntu resolute/main armhf libffi-dev armhf 3.5.2-1build1 [58.6 kB] 754s Get:32 http://ftpmaster.internal/ubuntu resolute/main armhf uuid-dev armhf 2.41-4ubuntu4 [54.3 kB] 754s Get:33 http://ftpmaster.internal/ubuntu resolute/main armhf libblkid-dev armhf 2.41-4ubuntu4 [223 kB] 754s Get:34 http://ftpmaster.internal/ubuntu resolute/main armhf libsepol-dev armhf 3.8.1-1 [382 kB] 754s Get:35 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-16-0 armhf 10.46-1 [206 kB] 754s Get:36 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-32-0 armhf 10.46-1 [197 kB] 754s Get:37 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-posix3 armhf 10.46-1 [6286 B] 754s Get:38 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-dev armhf 10.46-1 [744 kB] 754s Get:39 http://ftpmaster.internal/ubuntu resolute/main armhf libselinux1-dev armhf 3.8.1-1build1 [169 kB] 754s Get:40 http://ftpmaster.internal/ubuntu resolute/main armhf libmount-dev armhf 2.41-4ubuntu4 [36.2 kB] 754s Get:41 http://ftpmaster.internal/ubuntu resolute/main armhf libsysprof-capture-4-dev armhf 48.0-2 [49.3 kB] 754s Get:42 http://ftpmaster.internal/ubuntu resolute/main armhf libpkgconf3 armhf 1.8.1-4build1 [26.6 kB] 754s Get:43 http://ftpmaster.internal/ubuntu resolute/main armhf pkgconf-bin armhf 1.8.1-4build1 [21.4 kB] 754s Get:44 http://ftpmaster.internal/ubuntu resolute/main armhf pkgconf armhf 1.8.1-4build1 [16.8 kB] 754s Get:45 http://ftpmaster.internal/ubuntu resolute/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu2 [881 kB] 754s Get:46 http://ftpmaster.internal/ubuntu resolute/main armhf libgio-2.0-dev armhf 2.86.0-2 [1730 kB] 754s Get:47 http://ftpmaster.internal/ubuntu resolute/main armhf python3-packaging all 25.0-1 [52.8 kB] 754s Get:48 http://ftpmaster.internal/ubuntu resolute/main armhf libgio-2.0-dev-bin armhf 2.86.0-2 [130 kB] 754s Get:49 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-bin armhf 2.86.0-2 [92.3 kB] 754s Get:50 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-dev-bin armhf 2.86.0-2 [18.2 kB] 754s Get:51 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-dev armhf 2.86.0-2 [18.9 kB] 754s Fetched 59.5 MB in 5s (11.8 MB/s) 754s Selecting previously unselected package libc-dev-bin. 754s (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 ... 61081 files and directories currently installed.) 754s Preparing to unpack .../00-libc-dev-bin_2.42-0ubuntu3_armhf.deb ... 754s Unpacking libc-dev-bin (2.42-0ubuntu3) ... 754s Selecting previously unselected package linux-libc-dev:armhf. 754s Preparing to unpack .../01-linux-libc-dev_6.17.0-5.5_armhf.deb ... 754s Unpacking linux-libc-dev:armhf (6.17.0-5.5) ... 755s Selecting previously unselected package libcrypt-dev:armhf. 755s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.38-1build1_armhf.deb ... 755s Unpacking libcrypt-dev:armhf (1:4.4.38-1build1) ... 755s Selecting previously unselected package rpcsvc-proto. 755s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1_armhf.deb ... 755s Unpacking rpcsvc-proto (1.4.3-1) ... 755s Selecting previously unselected package libc6-dev:armhf. 755s Preparing to unpack .../04-libc6-dev_2.42-0ubuntu3_armhf.deb ... 755s Unpacking libc6-dev:armhf (2.42-0ubuntu3) ... 755s Selecting previously unselected package libisl23:armhf. 755s Preparing to unpack .../05-libisl23_0.27-1_armhf.deb ... 755s Unpacking libisl23:armhf (0.27-1) ... 755s Selecting previously unselected package libmpc3:armhf. 755s Preparing to unpack .../06-libmpc3_1.3.1-1build3_armhf.deb ... 755s Unpacking libmpc3:armhf (1.3.1-1build3) ... 755s Selecting previously unselected package cpp-15-arm-linux-gnueabihf. 755s Preparing to unpack .../07-cpp-15-arm-linux-gnueabihf_15.2.0-5ubuntu1_armhf.deb ... 755s Unpacking cpp-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 755s Selecting previously unselected package cpp-15. 755s Preparing to unpack .../08-cpp-15_15.2.0-5ubuntu1_armhf.deb ... 755s Unpacking cpp-15 (15.2.0-5ubuntu1) ... 755s Selecting previously unselected package cpp-arm-linux-gnueabihf. 755s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 755s Unpacking cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 755s Selecting previously unselected package cpp. 755s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_armhf.deb ... 755s Unpacking cpp (4:15.2.0-4ubuntu1) ... 755s Selecting previously unselected package libcc1-0:armhf. 755s Preparing to unpack .../11-libcc1-0_15.2.0-5ubuntu1_armhf.deb ... 755s Unpacking libcc1-0:armhf (15.2.0-5ubuntu1) ... 755s Selecting previously unselected package libgomp1:armhf. 755s Preparing to unpack .../12-libgomp1_15.2.0-5ubuntu1_armhf.deb ... 755s Unpacking libgomp1:armhf (15.2.0-5ubuntu1) ... 755s Selecting previously unselected package libasan8:armhf. 755s Preparing to unpack .../13-libasan8_15.2.0-5ubuntu1_armhf.deb ... 755s Unpacking libasan8:armhf (15.2.0-5ubuntu1) ... 755s Selecting previously unselected package libubsan1:armhf. 755s Preparing to unpack .../14-libubsan1_15.2.0-5ubuntu1_armhf.deb ... 755s Unpacking libubsan1:armhf (15.2.0-5ubuntu1) ... 756s Selecting previously unselected package libgcc-15-dev:armhf. 756s Preparing to unpack .../15-libgcc-15-dev_15.2.0-5ubuntu1_armhf.deb ... 756s Unpacking libgcc-15-dev:armhf (15.2.0-5ubuntu1) ... 756s Selecting previously unselected package gcc-15-arm-linux-gnueabihf. 756s Preparing to unpack .../16-gcc-15-arm-linux-gnueabihf_15.2.0-5ubuntu1_armhf.deb ... 756s Unpacking gcc-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 756s Selecting previously unselected package gcc-15. 756s Preparing to unpack .../17-gcc-15_15.2.0-5ubuntu1_armhf.deb ... 756s Unpacking gcc-15 (15.2.0-5ubuntu1) ... 756s Selecting previously unselected package gcc-arm-linux-gnueabihf. 756s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 756s Unpacking gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 756s Selecting previously unselected package gcc. 756s Preparing to unpack .../19-gcc_4%3a15.2.0-4ubuntu1_armhf.deb ... 756s Unpacking gcc (4:15.2.0-4ubuntu1) ... 756s Selecting previously unselected package libstdc++-15-dev:armhf. 756s Preparing to unpack .../20-libstdc++-15-dev_15.2.0-5ubuntu1_armhf.deb ... 756s Unpacking libstdc++-15-dev:armhf (15.2.0-5ubuntu1) ... 756s Selecting previously unselected package g++-15-arm-linux-gnueabihf. 756s Preparing to unpack .../21-g++-15-arm-linux-gnueabihf_15.2.0-5ubuntu1_armhf.deb ... 756s Unpacking g++-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 757s Selecting previously unselected package g++-15. 757s Preparing to unpack .../22-g++-15_15.2.0-5ubuntu1_armhf.deb ... 757s Unpacking g++-15 (15.2.0-5ubuntu1) ... 757s Selecting previously unselected package g++-arm-linux-gnueabihf. 757s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 757s Unpacking g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 757s Selecting previously unselected package g++. 757s Preparing to unpack .../24-g++_4%3a15.2.0-4ubuntu1_armhf.deb ... 757s Unpacking g++ (4:15.2.0-4ubuntu1) ... 757s Selecting previously unselected package build-essential. 757s Preparing to unpack .../25-build-essential_12.12ubuntu1_armhf.deb ... 757s Unpacking build-essential (12.12ubuntu1) ... 757s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf. 757s Preparing to unpack .../26-gir1.2-glib-2.0-dev_2.86.0-2_armhf.deb ... 757s Unpacking gir1.2-glib-2.0-dev:armhf (2.86.0-2) ... 757s Selecting previously unselected package native-architecture. 757s Preparing to unpack .../27-native-architecture_0.2.6_all.deb ... 757s Unpacking native-architecture (0.2.6) ... 757s Selecting previously unselected package libgirepository-2.0-0:armhf. 757s Preparing to unpack .../28-libgirepository-2.0-0_2.86.0-2_armhf.deb ... 757s Unpacking libgirepository-2.0-0:armhf (2.86.0-2) ... 757s Selecting previously unselected package girepository-tools:armhf. 757s Preparing to unpack .../29-girepository-tools_2.86.0-2_armhf.deb ... 757s Unpacking girepository-tools:armhf (2.86.0-2) ... 757s Selecting previously unselected package libffi-dev:armhf. 757s Preparing to unpack .../30-libffi-dev_3.5.2-1build1_armhf.deb ... 757s Unpacking libffi-dev:armhf (3.5.2-1build1) ... 757s Selecting previously unselected package uuid-dev:armhf. 757s Preparing to unpack .../31-uuid-dev_2.41-4ubuntu4_armhf.deb ... 757s Unpacking uuid-dev:armhf (2.41-4ubuntu4) ... 757s Selecting previously unselected package libblkid-dev:armhf. 757s Preparing to unpack .../32-libblkid-dev_2.41-4ubuntu4_armhf.deb ... 757s Unpacking libblkid-dev:armhf (2.41-4ubuntu4) ... 757s Selecting previously unselected package libsepol-dev:armhf. 757s Preparing to unpack .../33-libsepol-dev_3.8.1-1_armhf.deb ... 757s Unpacking libsepol-dev:armhf (3.8.1-1) ... 757s Selecting previously unselected package libpcre2-16-0:armhf. 757s Preparing to unpack .../34-libpcre2-16-0_10.46-1_armhf.deb ... 757s Unpacking libpcre2-16-0:armhf (10.46-1) ... 757s Selecting previously unselected package libpcre2-32-0:armhf. 757s Preparing to unpack .../35-libpcre2-32-0_10.46-1_armhf.deb ... 757s Unpacking libpcre2-32-0:armhf (10.46-1) ... 757s Selecting previously unselected package libpcre2-posix3:armhf. 757s Preparing to unpack .../36-libpcre2-posix3_10.46-1_armhf.deb ... 757s Unpacking libpcre2-posix3:armhf (10.46-1) ... 757s Selecting previously unselected package libpcre2-dev:armhf. 757s Preparing to unpack .../37-libpcre2-dev_10.46-1_armhf.deb ... 757s Unpacking libpcre2-dev:armhf (10.46-1) ... 757s Selecting previously unselected package libselinux1-dev:armhf. 757s Preparing to unpack .../38-libselinux1-dev_3.8.1-1build1_armhf.deb ... 757s Unpacking libselinux1-dev:armhf (3.8.1-1build1) ... 757s Selecting previously unselected package libmount-dev:armhf. 757s Preparing to unpack .../39-libmount-dev_2.41-4ubuntu4_armhf.deb ... 757s Unpacking libmount-dev:armhf (2.41-4ubuntu4) ... 757s Selecting previously unselected package libsysprof-capture-4-dev:armhf. 757s Preparing to unpack .../40-libsysprof-capture-4-dev_48.0-2_armhf.deb ... 757s Unpacking libsysprof-capture-4-dev:armhf (48.0-2) ... 757s Selecting previously unselected package libpkgconf3:armhf. 757s Preparing to unpack .../41-libpkgconf3_1.8.1-4build1_armhf.deb ... 757s Unpacking libpkgconf3:armhf (1.8.1-4build1) ... 757s Selecting previously unselected package pkgconf-bin. 757s Preparing to unpack .../42-pkgconf-bin_1.8.1-4build1_armhf.deb ... 757s Unpacking pkgconf-bin (1.8.1-4build1) ... 757s Selecting previously unselected package pkgconf:armhf. 757s Preparing to unpack .../43-pkgconf_1.8.1-4build1_armhf.deb ... 757s Unpacking pkgconf:armhf (1.8.1-4build1) ... 758s Selecting previously unselected package zlib1g-dev:armhf. 758s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_armhf.deb ... 758s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 758s Selecting previously unselected package libgio-2.0-dev:armhf. 758s Preparing to unpack .../45-libgio-2.0-dev_2.86.0-2_armhf.deb ... 758s Unpacking libgio-2.0-dev:armhf (2.86.0-2) ... 758s Selecting previously unselected package python3-packaging. 758s Preparing to unpack .../46-python3-packaging_25.0-1_all.deb ... 758s Unpacking python3-packaging (25.0-1) ... 758s Selecting previously unselected package libgio-2.0-dev-bin. 758s Preparing to unpack .../47-libgio-2.0-dev-bin_2.86.0-2_armhf.deb ... 758s Unpacking libgio-2.0-dev-bin (2.86.0-2) ... 758s Selecting previously unselected package libglib2.0-bin. 758s Preparing to unpack .../48-libglib2.0-bin_2.86.0-2_armhf.deb ... 758s Unpacking libglib2.0-bin (2.86.0-2) ... 758s Selecting previously unselected package libglib2.0-dev-bin. 758s Preparing to unpack .../49-libglib2.0-dev-bin_2.86.0-2_armhf.deb ... 758s Unpacking libglib2.0-dev-bin (2.86.0-2) ... 758s Selecting previously unselected package libglib2.0-dev:armhf. 758s Preparing to unpack .../50-libglib2.0-dev_2.86.0-2_armhf.deb ... 758s Unpacking libglib2.0-dev:armhf (2.86.0-2) ... 758s Setting up native-architecture (0.2.6) ... 758s Setting up libgirepository-2.0-0:armhf (2.86.0-2) ... 758s Setting up linux-libc-dev:armhf (6.17.0-5.5) ... 758s Setting up libglib2.0-bin (2.86.0-2) ... 758s Setting up libgomp1:armhf (15.2.0-5ubuntu1) ... 758s Setting up libffi-dev:armhf (3.5.2-1build1) ... 758s Setting up libpcre2-16-0:armhf (10.46-1) ... 758s Setting up libsysprof-capture-4-dev:armhf (48.0-2) ... 758s Setting up libpcre2-32-0:armhf (10.46-1) ... 758s Setting up python3-packaging (25.0-1) ... 758s Setting up libpkgconf3:armhf (1.8.1-4build1) ... 758s Setting up rpcsvc-proto (1.4.3-1) ... 758s Setting up libmpc3:armhf (1.3.1-1build3) ... 758s Setting up libsepol-dev:armhf (3.8.1-1) ... 758s Setting up pkgconf-bin (1.8.1-4build1) ... 758s Setting up libubsan1:armhf (15.2.0-5ubuntu1) ... 758s Setting up libpcre2-posix3:armhf (10.46-1) ... 758s Setting up gir1.2-glib-2.0-dev:armhf (2.86.0-2) ... 758s Setting up libcrypt-dev:armhf (1:4.4.38-1build1) ... 758s Setting up libasan8:armhf (15.2.0-5ubuntu1) ... 758s Setting up libisl23:armhf (0.27-1) ... 758s Setting up libc-dev-bin (2.42-0ubuntu3) ... 758s Setting up cpp-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 758s Setting up libcc1-0:armhf (15.2.0-5ubuntu1) ... 758s Setting up cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 758s Setting up libgio-2.0-dev-bin (2.86.0-2) ... 758s Setting up girepository-tools:armhf (2.86.0-2) ... 758s Setting up libgcc-15-dev:armhf (15.2.0-5ubuntu1) ... 758s Setting up gcc-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 758s Setting up pkgconf:armhf (1.8.1-4build1) ... 758s Setting up cpp-15 (15.2.0-5ubuntu1) ... 758s Setting up cpp (4:15.2.0-4ubuntu1) ... 758s Setting up libc6-dev:armhf (2.42-0ubuntu3) ... 758s Setting up gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 758s Setting up libglib2.0-dev-bin (2.86.0-2) ... 758s Setting up libpcre2-dev:armhf (10.46-1) ... 758s Setting up libselinux1-dev:armhf (3.8.1-1build1) ... 758s Setting up gcc-15 (15.2.0-5ubuntu1) ... 758s Setting up libstdc++-15-dev:armhf (15.2.0-5ubuntu1) ... 758s Setting up uuid-dev:armhf (2.41-4ubuntu4) ... 758s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 758s Setting up libblkid-dev:armhf (2.41-4ubuntu4) ... 758s Setting up g++-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 758s Setting up gcc (4:15.2.0-4ubuntu1) ... 758s Setting up g++-15 (15.2.0-5ubuntu1) ... 758s Setting up libmount-dev:armhf (2.41-4ubuntu4) ... 758s Setting up g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 758s Setting up libgio-2.0-dev:armhf (2.86.0-2) ... 758s Setting up g++ (4:15.2.0-4ubuntu1) ... 758s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 758s Setting up build-essential (12.12ubuntu1) ... 758s Processing triggers for install-info (7.1.1-1ubuntu1) ... 759s Processing triggers for libc-bin (2.42-0ubuntu3) ... 759s Processing triggers for man-db (2.13.1-1) ... 759s Processing triggers for libglib2.0-0t64:armhf (2.86.0-2) ... 759s No schema files found: doing nothing. 759s Setting up libglib2.0-dev:armhf (2.86.0-2) ... 776s autopkgtest [19:38:28]: test libglib2.0-dev: [----------------------- 778s + debian/tests/build 778s + mode=dynamic 778s + getopt -o --long static -n debian/tests/build -- 778s + getopt_temp= -- 778s + eval set -- -- 778s + set -- -- 778s + true 778s + shift 778s + break 778s + mktemp -d 778s + WORKDIR=/tmp/tmp.kwCgvuRrgm 778s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 778s + cd /tmp/tmp.kwCgvuRrgm 778s + [ -n ] 778s + CROSS_COMPILE= 778s + cat 778s + cat 778s + cat 778s + cat 778s + cat 778s + cat 778s + cflags= 778s + pcflags= 778s + packages=glib-2.0 778s + pkg-config --cflags --libs glib-2.0 778s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 778s build (glib, dynamic): OK 778s + echo build (glib, dynamic): OK 778s + [ -x glib-dynamic ] 778s + foo=bar ./glib-dynamic 778s run (glib, dynamic): OK 778s + echo run (glib, dynamic): OK 778s + cflags= 778s + pcflags= 778s + packages=gobject-2.0 778s + pkg-config --cflags --libs gobject-2.0 778s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 778s build (gobject, dynamic): OK 778s + echo build (gobject, dynamic): OK 778s + [ -x gobject-dynamic ] 778s + foo=bar ./gobject-dynamic 778s + echo run (gobject, dynamic): OK 778s + cflags= 778s + pcflags= 778s + packages=gio-2.0 778s run (gobject, dynamic): OK 778s + pkg-config --cflags --libs gio-2.0 778s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 778s + echo build (gio, dynamic): OK 778s + [ -x gio-dynamic ] 778s + foo=bar ./gio-dynamic 778s build (gio, dynamic): OK 778s run (gio, dynamic): OK 778s + echo run (gio, dynamic): OK 778s + cflags= 778s + pcflags= 778s + packages=gio-unix-2.0 778s + pkg-config --cflags --libs gio-unix-2.0 778s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 779s + echo build (gio-unix, dynamic): OK 779s + [ -x gio-unix-dynamic ] 779s + foo=bar ./gio-unix-dynamic 779s build (gio-unix, dynamic): OK 779s run (gio-unix, dynamic): OK 779s + echo run (gio-unix, dynamic): OK 779s + cflags= 779s + pcflags= 779s + packages=gmodule-2.0 779s + pkg-config --cflags --libs gmodule-2.0 779s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 779s build (gmodule, dynamic): OK 779s + echo build (gmodule, dynamic): OK 779s + [ -x gmodule-dynamic ] 779s + foo=bar ./gmodule-dynamic 779s run (gmodule, dynamic): OK 779s + echo run (gmodule, dynamic): OK 779s + cflags= 779s + pcflags= 779s + packages=gthread-2.0 779s + pkg-config --cflags --libs gthread-2.0 779s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 779s + echo build (gthread, dynamic): OK 779s + [ -x gthread-dynamic ] 779s + foo=bar ./gthread-dynamic 779s build (gthread, dynamic): OK 779s run (gthread, dynamic): OK 779s + echo run (gthread, dynamic): OK 779s + rm -rf /tmp/tmp.kwCgvuRrgm 779s + debian/tests/build-static 779s + mode=dynamic 779s + getopt -o --long static -n debian/tests/build -- --static 779s + getopt_temp= --static -- 779s + eval set -- --static -- 779s + set -- --static -- 779s + true 779s + mode=static 779s + shift 779s + continue 779s + true 779s + shift 779s + break 779s + mktemp -d 779s + WORKDIR=/tmp/tmp.yVU7fB2XE1 779s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 779s + cd /tmp/tmp.yVU7fB2XE1 779s + [ -n ] 779s + CROSS_COMPILE= 779s + cat 779s + cat 779s + cat 779s + cat 779s + cat 779s + cat 779s + cflags= 779s + pcflags= 779s + packages=glib-2.0 779s + cflags=-static 779s + pcflags=--static 779s + pkg-config --static --cflags --libs glib-2.0 779s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 779s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 779s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 779s /usr/bin/ld: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 779s /usr/bin/ld: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 779s + echo build (glib, static): OK 779s + [ -x glib-static ] 779s + foo=bar ./glib-static 779s build (glib, static): OK 779s run (glib, static): OK 779s + echo run (glib, static): OK 779s + cflags= 779s + pcflags= 779s + packages=gobject-2.0 779s + cflags=-static 779s + pcflags=--static 779s + pkg-config --static --cflags --libs gobject-2.0 779s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 779s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 779s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 779s /usr/bin/ld: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 779s /usr/bin/ld: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 779s + echo build (gobject, static): OK 779s + [ -x gobject-static ] 779s + foo=bar ./gobject-static 779s build (gobject, static): OK 779s + echo run (gobject, static): OK 779s + cflags= 779s + pcflags= 779s + packages=gio-2.0 779s + cflags=-static 779s + pcflags=--static 779s + continue 779s + cflags= 779s + pcflags= 779s + packages=gio-unix-2.0 779s + cflags=-static 779s + pcflags=--static 779s + continue 779s + cflags= 779s + pcflags= 779s + packages=gmodule-2.0 779s + cflags=-static 779s + pcflags=--static 779s + pkg-config --static --cflagsrun (gobject, static): OK 779s --libs gmodule-2.0 779s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 779s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 779s (.text+0x424): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 779s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 779s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 779s /usr/bin/ld: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 779s /usr/bin/ld: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 780s build (gmodule, static): OK 780s + echo build (gmodule, static): OK 780s + [ -x gmodule-static ] 780s + foo=bar ./gmodule-static 780s + echo run (gmodule, static): OK 780s + cflags= 780s + pcflags= 780s + packages=gthread-2.0 780s + cflags=-static 780s + pcflags=--static 780s run (gmodule, static): OK 780s + pkg-config --static --cflags --libs gthread-2.0 780s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 780s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 780s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 780s /usr/bin/ld: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 780s /usr/bin/ld: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 780s + echo build (gthread, static): OK 780s + [ -x gthread-static ] 780s + foo=bar ./gthread-static 780s build (gthread, static): OK 780s + echo run (gthread, static): OK 780s + rm -rf /tmp/tmp.yVU7fB2XE1 780s run (gthread, static): OK 780s + debian/tests/girepository-tools 780s + cd /tmp/autopkgtest.N9ntvz/autopkgtest_tmp 780s + dpkg-architecture -qDEB_HOST_GNU_TYPE 780s + DEB_HOST_GNU_TYPE=arm-linux-gnueabihf 780s + dpkg-architecture -qDEB_HOST_MULTIARCH 780s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 780s + arm-linux-gnueabihf-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 780s typelib: GLib-2.0 780s + arm-linux-gnueabihf-gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 780s + arm-linux-gnueabihf-gi-decompile-typelib -o GLib.gir GLib.typelib 780s + debian/tests/libgio-2.0-dev-bin 780s + gdbus-codegen --help 780s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 780s [--c-namespace NAMESPACE] [--c-generate-object-manager] 780s [--c-generate-autocleanup {none,objects,all}] 780s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 780s [--generate-rst OUTFILES] [--pragma-once] 780s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 780s [--glib-min-required VERSION] 780s [--glib-max-allowed VERSION] 780s [--symbol-decorator SYMBOL_DECORATOR] 780s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 780s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 780s [--generate-c-code OUTFILES | --header | --body | 780s --interface-info-header | --interface-info-body] 780s [--output FILE | --output-directory OUTDIR] 780s FILE [FILE ...] 780s 780s D-Bus code and documentation generator 780s 780s positional arguments: 780s FILE D-Bus introspection XML file 780s 780s options: 780s -h, --help show this help message and exit 780s --interface-prefix PREFIX 780s String to strip from D-Bus interface names for code 780s and docs 780s --c-namespace NAMESPACE 780s The namespace to use for generated C code 780s --c-generate-object-manager 780s Generate a GDBusObjectManagerClient subclass when 780s generating C code 780s --c-generate-autocleanup {none,objects,all} 780s Generate autocleanup support 780s --generate-docbook OUTFILES 780s Generate Docbook in OUTFILES-org.Project.IFace.xml 780s --generate-md OUTFILES 780s Generate Markdown in OUTFILES-org.Project.IFace.md 780s --generate-rst OUTFILES 780s Generate reStructuredText in OUTFILES- 780s org.Project.IFace.rst 780s --pragma-once Use "pragma once" as the inclusion guard 780s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 780s Add annotation (may be used several times) 780s --glib-min-required VERSION 780s Minimum version of GLib to be supported by the 780s outputted code (default: 2.30) 780s --glib-max-allowed VERSION 780s Maximum version of GLib to be used by the outputted 780s code (default: current GLib version) 780s --symbol-decorator SYMBOL_DECORATOR 780s Macro used to decorate a symbol in the outputted 780s header, possibly to export symbols 780s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 780s Additional header required for decorator specified by 780s --symbol-decorator 780s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 780s Additional define required for decorator specified by 780s --symbol-decorator 780s --generate-c-code OUTFILES 780s Generate C code in OUTFILES.[ch] 780s --header Generate C headers 780s --body Generate C code 780s --interface-info-header 780s Generate GDBusInterfaceInfo C header 780s --interface-info-body 780s Generate GDBusInterfaceInfo C code 780s --output FILE Write output into the specified file 780s --output-directory OUTDIR 780s Location to output generated files 780s + glib-compile-resources --version 780s + glib-genmarshal --version 780s 2.86.0 780s glib-genmarshal version 2.86.0 780s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 780s You may redistribute copies of glib-genmarshal under the terms of 780s the GNU General Public License which can be found in the 780s GLib source package. Sources, examples and contact 780s information are available at http://www.gtk.org 780s + glib-gettextize --version 780s /usr/bin/glib-gettextize (GNU glib) 2.86.0 780s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 780s This is free software; see the source for copying conditions. There is NO 780s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 780s Written by Ulrich Drepper 780s + glib-mkenums --version 780s glib-mkenums version 2.86.0 780s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 780s You may redistribute copies of glib-mkenums under the terms of 780s the GNU General Public License which can be found in the 780s GLib source package. Sources, examples and contact 780s information are available at http://www.gtk.org 780s GObject 780s + gobject-query tree 780s + gtester --version 780s gtester version 2.86.0 780s + gtester-report --version 780s gtester-report (GLib utils) version 2.86.0. 780s + cd /tmp/autopkgtest.N9ntvz/autopkgtest_tmp 780s + dpkg-architecture -qDEB_HOST_MULTIARCH 780s typelib: GLib-2.0 780s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 780s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 780s + gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 780s + gi-decompile-typelib -o GLib.gir GLib.typelib 781s autopkgtest [19:38:33]: test libglib2.0-dev: -----------------------] 784s libglib2.0-dev PASS (superficial) 784s autopkgtest [19:38:36]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 788s autopkgtest [19:38:40]: test installed-tests: preparing testbed 810s autopkgtest [19:39:02]: testbed dpkg architecture: armhf 812s autopkgtest [19:39:04]: testbed apt version: 3.1.6ubuntu2 816s autopkgtest [19:39:08]: @@@@@@@@@@@@@@@@@@@@ test bed setup 818s autopkgtest [19:39:10]: testbed release detected to be: resolute 825s autopkgtest [19:39:17]: updating testbed package index (apt update) 827s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 827s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [83.3 kB] 827s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 827s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 827s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 827s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 827s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 827s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 827s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [85.4 kB] 827s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 827s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [321 kB] 827s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [3680 B] 827s Get:13 http://ftpmaster.internal/ubuntu resolute/main Sources [1399 kB] 827s Get:14 http://ftpmaster.internal/ubuntu resolute/restricted Sources [14.4 kB] 827s Get:15 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.1 MB] 828s Get:16 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [307 kB] 828s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1357 kB] 828s Get:18 http://ftpmaster.internal/ubuntu resolute/restricted armhf Packages [1672 B] 828s Get:19 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.8 MB] 829s Get:20 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [182 kB] 832s Fetched 40.3 MB in 5s (7806 kB/s) 833s Reading package lists... 838s autopkgtest [19:39:30]: upgrading testbed (apt dist-upgrade and autopurge) 840s Reading package lists... 841s Building dependency tree... 841s Reading state information... 841s Calculating upgrade... 841s The following packages will be upgraded: 841s apparmor apt base-files binutils binutils-arm-linux-gnueabihf 841s binutils-common cloud-init cloud-init-base distro-info-data gcc-15-base 841s gir1.2-girepository-2.0 libapparmor1 libapt-pkg7.0 libatomic1 libbinutils 841s libctf-nobfd0 libctf0 libgcc-s1 libgirepository-1.0-1 libpython3-stdlib 841s libsframe2 libstdc++6 lto-disabled-list python3 python3-minimal sudo-rs 842s 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 842s Need to get 7366 kB of archives. 842s After this operation, 14.3 kB of additional disk space will be used. 842s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf base-files armhf 14ubuntu4 [75.4 kB] 842s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf libatomic1 armhf 15.2.0-5ubuntu1 [7942 B] 842s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-base armhf 15.2.0-5ubuntu1 [58.1 kB] 842s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-s1 armhf 15.2.0-5ubuntu1 [40.6 kB] 842s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++6 armhf 15.2.0-5ubuntu1 [731 kB] 842s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libapt-pkg7.0 armhf 3.1.8ubuntu1 [1148 kB] 842s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf apt armhf 3.1.8ubuntu1 [1404 kB] 842s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.7-2 [27.8 kB] 842s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.7-2 [23.9 kB] 842s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.7-2 [10.6 kB] 842s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf distro-info-data all 0.67~ubuntu1 [7004 B] 842s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libgirepository-1.0-1 armhf 1.86.0-6 [111 kB] 842s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf gir1.2-girepository-2.0 armhf 1.86.0-6 [25.3 kB] 842s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libapparmor1 armhf 5.0.0~alpha1-0ubuntu8.1 [52.9 kB] 842s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf sudo-rs armhf 0.2.8-1ubuntu5.1 [548 kB] 842s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf apparmor armhf 5.0.0~alpha1-0ubuntu8.1 [631 kB] 842s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf libctf0 armhf 2.45-7ubuntu2 [75.7 kB] 842s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf libctf-nobfd0 armhf 2.45-7ubuntu2 [79.1 kB] 842s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-arm-linux-gnueabihf armhf 2.45-7ubuntu2 [1022 kB] 842s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf libbinutils armhf 2.45-7ubuntu2 [411 kB] 842s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf binutils armhf 2.45-7ubuntu2 [3240 B] 842s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-common armhf 2.45-7ubuntu2 [220 kB] 842s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf libsframe2 armhf 2.45-7ubuntu2 [13.4 kB] 842s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init-base all 25.3-0ubuntu1 [625 kB] 842s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init all 25.3-0ubuntu1 [2106 B] 842s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf lto-disabled-list all 71 [12.5 kB] 843s Preconfiguring packages ... 843s Fetched 7366 kB in 1s (7746 kB/s) 843s (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 ... 61081 files and directories currently installed.) 843s Preparing to unpack .../base-files_14ubuntu4_armhf.deb ... 843s Unpacking base-files (14ubuntu4) over (14ubuntu3) ... 843s Setting up base-files (14ubuntu4) ... 843s Installing new version of config file /etc/issue ... 843s Installing new version of config file /etc/issue.net ... 843s Installing new version of config file /etc/lsb-release ... 844s motd-news.service is a disabled or a static unit not running, not starting it. 844s (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 ... 61081 files and directories currently installed.) 844s Preparing to unpack .../libatomic1_15.2.0-5ubuntu1_armhf.deb ... 844s Unpacking libatomic1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 844s Preparing to unpack .../gcc-15-base_15.2.0-5ubuntu1_armhf.deb ... 844s Unpacking gcc-15-base:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 844s Setting up gcc-15-base:armhf (15.2.0-5ubuntu1) ... 844s (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 ... 61081 files and directories currently installed.) 844s Preparing to unpack .../libgcc-s1_15.2.0-5ubuntu1_armhf.deb ... 844s Unpacking libgcc-s1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 844s Setting up libgcc-s1:armhf (15.2.0-5ubuntu1) ... 844s (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 ... 61081 files and directories currently installed.) 844s Preparing to unpack .../libstdc++6_15.2.0-5ubuntu1_armhf.deb ... 844s Unpacking libstdc++6:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 844s Setting up libstdc++6:armhf (15.2.0-5ubuntu1) ... 844s (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 ... 61081 files and directories currently installed.) 844s Preparing to unpack .../libapt-pkg7.0_3.1.8ubuntu1_armhf.deb ... 844s Unpacking libapt-pkg7.0:armhf (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 844s Setting up libapt-pkg7.0:armhf (3.1.8ubuntu1) ... 844s (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 ... 61081 files and directories currently installed.) 844s Preparing to unpack .../apt_3.1.8ubuntu1_armhf.deb ... 845s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 845s Setting up apt (3.1.8ubuntu1) ... 845s (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 ... 61081 files and directories currently installed.) 845s Preparing to unpack .../python3-minimal_3.13.7-2_armhf.deb ... 845s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 846s Setting up python3-minimal (3.13.7-2) ... 846s (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 ... 61081 files and directories currently installed.) 846s Preparing to unpack .../00-python3_3.13.7-2_armhf.deb ... 846s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 846s Preparing to unpack .../01-libpython3-stdlib_3.13.7-2_armhf.deb ... 846s Unpacking libpython3-stdlib:armhf (3.13.7-2) over (3.13.7-1) ... 846s Preparing to unpack .../02-distro-info-data_0.67~ubuntu1_all.deb ... 846s Unpacking distro-info-data (0.67~ubuntu1) over (0.66) ... 846s Preparing to unpack .../03-libgirepository-1.0-1_1.86.0-6_armhf.deb ... 846s Unpacking libgirepository-1.0-1:armhf (1.86.0-6) over (1.84.0-1) ... 846s Preparing to unpack .../04-gir1.2-girepository-2.0_1.86.0-6_armhf.deb ... 846s Unpacking gir1.2-girepository-2.0:armhf (1.86.0-6) over (1.84.0-1) ... 846s Preparing to unpack .../05-libapparmor1_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 846s Unpacking libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 846s Preparing to unpack .../06-sudo-rs_0.2.8-1ubuntu5.1_armhf.deb ... 846s Unpacking sudo-rs (0.2.8-1ubuntu5.1) over (0.2.8-1ubuntu5) ... 846s Preparing to unpack .../07-apparmor_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 847s Unpacking apparmor (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 848s Preparing to unpack .../08-libctf0_2.45-7ubuntu2_armhf.deb ... 848s Unpacking libctf0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 848s Preparing to unpack .../09-libctf-nobfd0_2.45-7ubuntu2_armhf.deb ... 848s Unpacking libctf-nobfd0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 848s Preparing to unpack .../10-binutils-arm-linux-gnueabihf_2.45-7ubuntu2_armhf.deb ... 848s Unpacking binutils-arm-linux-gnueabihf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 848s Preparing to unpack .../11-libbinutils_2.45-7ubuntu2_armhf.deb ... 848s Unpacking libbinutils:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 848s Preparing to unpack .../12-binutils_2.45-7ubuntu2_armhf.deb ... 848s Unpacking binutils (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 848s Preparing to unpack .../13-binutils-common_2.45-7ubuntu2_armhf.deb ... 848s Unpacking binutils-common:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 848s Preparing to unpack .../14-libsframe2_2.45-7ubuntu2_armhf.deb ... 848s Unpacking libsframe2:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 848s Preparing to unpack .../15-cloud-init-base_25.3-0ubuntu1_all.deb ... 849s Unpacking cloud-init-base (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 849s Preparing to unpack .../16-cloud-init_25.3-0ubuntu1_all.deb ... 849s Unpacking cloud-init (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 849s Preparing to unpack .../17-lto-disabled-list_71_all.deb ... 849s Unpacking lto-disabled-list (71) over (69) ... 849s Setting up lto-disabled-list (71) ... 849s Setting up libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) ... 849s Setting up distro-info-data (0.67~ubuntu1) ... 849s Setting up libsframe2:armhf (2.45-7ubuntu2) ... 849s Setting up binutils-common:armhf (2.45-7ubuntu2) ... 849s Setting up libctf-nobfd0:armhf (2.45-7ubuntu2) ... 849s Setting up apparmor (5.0.0~alpha1-0ubuntu8.1) ... 849s Installing new version of config file /etc/apparmor.d/fusermount3 ... 849s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 849s 849s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 849s 849s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 849s 850s Reloading AppArmor profiles 850s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "bwrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "bfdd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "babeld". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "bgpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "alsamixer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "dnstracer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "eigrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "fabricd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "hostname". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "dig". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "iotop-c". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "fusermount3". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "isisd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "gs". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "john". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "ldpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Unable to replace "linux-boot-prober". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "irssi". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "lsblk". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "compressor". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "locale". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "lsusb". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "mbsync". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "mosquitto". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "nhrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "nslookup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 850s /sbin/apparmor_parser: Unable to replace "notify-send". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 850s 851s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "nc.openbsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "ospf6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "ospfd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "pathd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "pbrd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "os-prober". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "pim6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "pimd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "qpdf". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "ripd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "ripngd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "openvpn". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "proftpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "ssh-keyscan". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "staticd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "systemd-detect-virt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "tinyproxy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "mx-extract". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "rygel". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "/usr/sbin/chronyd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "vrrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "wg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "cmds". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "tnftp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "who". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "dumpcap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "tshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Unable to replace "znc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "wg-quick". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 851s 851s Error: At least one profile failed to load 851s Setting up libatomic1:armhf (15.2.0-5ubuntu1) ... 851s Setting up libgirepository-1.0-1:armhf (1.86.0-6) ... 851s Setting up libbinutils:armhf (2.45-7ubuntu2) ... 851s Setting up sudo-rs (0.2.8-1ubuntu5.1) ... 851s Setting up libpython3-stdlib:armhf (3.13.7-2) ... 851s Setting up libctf0:armhf (2.45-7ubuntu2) ... 851s Setting up python3 (3.13.7-2) ... 851s Setting up cloud-init-base (25.3-0ubuntu1) ... 853s Setting up gir1.2-girepository-2.0:armhf (1.86.0-6) ... 853s Setting up binutils-arm-linux-gnueabihf (2.45-7ubuntu2) ... 853s Setting up cloud-init (25.3-0ubuntu1) ... 853s Setting up binutils (2.45-7ubuntu2) ... 853s Processing triggers for plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu1) ... 853s Processing triggers for procps (2:4.0.4-8ubuntu3) ... 853s Processing triggers for install-info (7.1.1-1ubuntu1) ... 853s Processing triggers for libc-bin (2.42-0ubuntu3) ... 853s Processing triggers for rsyslog (8.2504.0-1ubuntu2) ... 853s Processing triggers for systemd (257.9-0ubuntu2) ... 853s Processing triggers for man-db (2.13.1-1) ... 857s Reading package lists... 858s Building dependency tree... 858s Reading state information... 858s Solving dependencies... 859s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 861s autopkgtest [19:39:52]: rebooting testbed after setup commands that affected boot 924s Reading package lists... 925s Building dependency tree... 925s Reading state information... 925s Solving dependencies... 925s The following NEW packages will be installed: 925s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 925s gnome-desktop-testing libdrm-amdgpu1 libfontenc1 libfreetype6 libgbm1 925s libgio-2.0-dev-bin libgirepository-2.0-0 libgl1 libgl1-mesa-dri 925s libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 925s libglx0 libice6 libllvm20 libpixman-1-0 libsm6 libvulkan1 libx11-xcb1 925s libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 925s libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 925s libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 925s native-architecture python3-dbusmock python3-packaging tzdata-legacy 925s x11-common x11-xkb-utils xserver-common xvfb 926s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 926s Need to get 45.5 MB of archives. 926s After this operation, 212 MB of additional disk space will be used. 926s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf dbus-x11 armhf 1.16.2-2ubuntu2 [22.7 kB] 926s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf desktop-file-utils armhf 0.28-1 [48.5 kB] 926s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf gir1.2-glib-2.0-dev armhf 2.86.0-2 [865 kB] 926s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf native-architecture all 0.2.6 [2140 B] 926s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libgirepository-2.0-0 armhf 2.86.0-2 [100 kB] 926s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf girepository-tools armhf 2.86.0-2 [109 kB] 926s Get:7 http://ftpmaster.internal/ubuntu resolute/universe armhf gnome-desktop-testing armhf 2021.1-4 [16.2 kB] 926s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf libdrm-amdgpu1 armhf 2.4.125-1 [19.5 kB] 926s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf libfontenc1 armhf 1:1.1.8-1build1 [11.5 kB] 926s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf libfreetype6 armhf 2.13.3+dfsg-1build1 [334 kB] 926s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf libllvm20 armhf 1:20.1.8-0ubuntu4 [29.5 MB] 928s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libx11-xcb1 armhf 2:1.8.12-1build1 [7920 B] 928s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-dri3-0 armhf 1.17.0-2build1 [7350 B] 928s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-present0 armhf 1.17.0-2build1 [6094 B] 928s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-randr0 armhf 1.17.0-2build1 [16.9 kB] 928s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-sync1 armhf 1.17.0-2build1 [8852 B] 928s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-xfixes0 armhf 1.17.0-2build1 [10.2 kB] 928s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf libxshmfence1 armhf 1.3.3-1 [4948 B] 928s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf mesa-libgallium armhf 25.2.3-1ubuntu1 [8778 kB] 928s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf libgbm1 armhf 25.2.3-1ubuntu1 [30.0 kB] 928s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf python3-packaging all 25.0-1 [52.8 kB] 928s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf libgio-2.0-dev-bin armhf 2.86.0-2 [130 kB] 928s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf libvulkan1 armhf 1.4.321.0-1 [130 kB] 928s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf libgl1-mesa-dri armhf 25.2.3-1ubuntu1 [32.3 kB] 928s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-bin armhf 2.86.0-2 [92.3 kB] 928s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-dev-bin armhf 2.86.0-2 [18.2 kB] 928s Get:27 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-dbusmock all 0.37.1-1 [90.7 kB] 928s Get:28 http://ftpmaster.internal/ubuntu resolute/main armhf tzdata-legacy all 2025b-3ubuntu1 [99.3 kB] 928s Get:29 http://ftpmaster.internal/ubuntu resolute/universe armhf libglib2.0-tests armhf 2.86.0-2 [2840 kB] 928s Get:30 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-glx0 armhf 1.17.0-2build1 [22.8 kB] 928s Get:31 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-shm0 armhf 1.17.0-2build1 [5962 B] 928s Get:32 http://ftpmaster.internal/ubuntu resolute/main armhf libxxf86vm1 armhf 1:1.1.4-1build4 [8068 B] 928s Get:33 http://ftpmaster.internal/ubuntu resolute/main armhf libglx-mesa0 armhf 25.2.3-1ubuntu1 [87.2 kB] 928s Get:34 http://ftpmaster.internal/ubuntu resolute/main armhf x11-common all 1:7.7+24ubuntu1 [22.4 kB] 928s Get:35 http://ftpmaster.internal/ubuntu resolute/main armhf libice6 armhf 2:1.1.1-1 [36.5 kB] 928s Get:36 http://ftpmaster.internal/ubuntu resolute/main armhf libpixman-1-0 armhf 0.44.0-3 [183 kB] 928s Get:37 http://ftpmaster.internal/ubuntu resolute/main armhf libsm6 armhf 2:1.2.6-1 [15.3 kB] 928s Get:38 http://ftpmaster.internal/ubuntu resolute/main armhf libxt6t64 armhf 1:1.2.1-1.3 [145 kB] 928s Get:39 http://ftpmaster.internal/ubuntu resolute/main armhf libxmu6 armhf 2:1.1.3-3build3 [41.0 kB] 928s Get:40 http://ftpmaster.internal/ubuntu resolute/main armhf libxpm4 armhf 1:3.5.17-1build2 [30.1 kB] 928s Get:41 http://ftpmaster.internal/ubuntu resolute/main armhf libxaw7 armhf 2:1.0.16-1 [154 kB] 928s Get:42 http://ftpmaster.internal/ubuntu resolute/main armhf libxfont2 armhf 1:2.0.6-1build1 [80.3 kB] 928s Get:43 http://ftpmaster.internal/ubuntu resolute/main armhf libxkbfile1 armhf 1:1.1.0-1build4 [60.0 kB] 928s Get:44 http://ftpmaster.internal/ubuntu resolute/main armhf libxrender1 armhf 1:0.9.12-1 [16.6 kB] 928s Get:45 http://ftpmaster.internal/ubuntu resolute/main armhf libxrandr2 armhf 2:1.5.4-1 [15.8 kB] 928s Get:46 http://ftpmaster.internal/ubuntu resolute/main armhf x11-xkb-utils armhf 7.7+9 [159 kB] 928s Get:47 http://ftpmaster.internal/ubuntu resolute/main armhf xserver-common all 2:21.1.18-1ubuntu1 [34.6 kB] 928s Get:48 http://ftpmaster.internal/ubuntu resolute/main armhf libglvnd0 armhf 1.7.0-1build2 [64.7 kB] 928s Get:49 http://ftpmaster.internal/ubuntu resolute/main armhf libglx0 armhf 1.7.0-1build2 [37.9 kB] 928s Get:50 http://ftpmaster.internal/ubuntu resolute/main armhf libgl1 armhf 1.7.0-1build2 [103 kB] 928s Get:51 http://ftpmaster.internal/ubuntu resolute/universe armhf xvfb armhf 2:21.1.18-1ubuntu1 [732 kB] 928s Fetched 45.5 MB in 2s (20.8 MB/s) 928s Selecting previously unselected package dbus-x11. 928s (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 ... 61081 files and directories currently installed.) 928s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu2_armhf.deb ... 928s Unpacking dbus-x11 (1.16.2-2ubuntu2) ... 928s Selecting previously unselected package desktop-file-utils. 928s Preparing to unpack .../01-desktop-file-utils_0.28-1_armhf.deb ... 928s Unpacking desktop-file-utils (0.28-1) ... 928s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf. 928s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.86.0-2_armhf.deb ... 928s Unpacking gir1.2-glib-2.0-dev:armhf (2.86.0-2) ... 928s Selecting previously unselected package native-architecture. 928s Preparing to unpack .../03-native-architecture_0.2.6_all.deb ... 928s Unpacking native-architecture (0.2.6) ... 928s Selecting previously unselected package libgirepository-2.0-0:armhf. 928s Preparing to unpack .../04-libgirepository-2.0-0_2.86.0-2_armhf.deb ... 928s Unpacking libgirepository-2.0-0:armhf (2.86.0-2) ... 928s Selecting previously unselected package girepository-tools:armhf. 928s Preparing to unpack .../05-girepository-tools_2.86.0-2_armhf.deb ... 928s Unpacking girepository-tools:armhf (2.86.0-2) ... 928s Selecting previously unselected package gnome-desktop-testing. 928s Preparing to unpack .../06-gnome-desktop-testing_2021.1-4_armhf.deb ... 928s Unpacking gnome-desktop-testing (2021.1-4) ... 928s Selecting previously unselected package libdrm-amdgpu1:armhf. 928s Preparing to unpack .../07-libdrm-amdgpu1_2.4.125-1_armhf.deb ... 928s Unpacking libdrm-amdgpu1:armhf (2.4.125-1) ... 929s Selecting previously unselected package libfontenc1:armhf. 929s Preparing to unpack .../08-libfontenc1_1%3a1.1.8-1build1_armhf.deb ... 929s Unpacking libfontenc1:armhf (1:1.1.8-1build1) ... 929s Selecting previously unselected package libfreetype6:armhf. 929s Preparing to unpack .../09-libfreetype6_2.13.3+dfsg-1build1_armhf.deb ... 929s Unpacking libfreetype6:armhf (2.13.3+dfsg-1build1) ... 929s Selecting previously unselected package libllvm20:armhf. 929s Preparing to unpack .../10-libllvm20_1%3a20.1.8-0ubuntu4_armhf.deb ... 929s Unpacking libllvm20:armhf (1:20.1.8-0ubuntu4) ... 930s Selecting previously unselected package libx11-xcb1:armhf. 930s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.12-1build1_armhf.deb ... 930s Unpacking libx11-xcb1:armhf (2:1.8.12-1build1) ... 930s Selecting previously unselected package libxcb-dri3-0:armhf. 930s Preparing to unpack .../12-libxcb-dri3-0_1.17.0-2build1_armhf.deb ... 930s Unpacking libxcb-dri3-0:armhf (1.17.0-2build1) ... 930s Selecting previously unselected package libxcb-present0:armhf. 930s Preparing to unpack .../13-libxcb-present0_1.17.0-2build1_armhf.deb ... 930s Unpacking libxcb-present0:armhf (1.17.0-2build1) ... 930s Selecting previously unselected package libxcb-randr0:armhf. 930s Preparing to unpack .../14-libxcb-randr0_1.17.0-2build1_armhf.deb ... 930s Unpacking libxcb-randr0:armhf (1.17.0-2build1) ... 930s Selecting previously unselected package libxcb-sync1:armhf. 930s Preparing to unpack .../15-libxcb-sync1_1.17.0-2build1_armhf.deb ... 930s Unpacking libxcb-sync1:armhf (1.17.0-2build1) ... 930s Selecting previously unselected package libxcb-xfixes0:armhf. 930s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2build1_armhf.deb ... 930s Unpacking libxcb-xfixes0:armhf (1.17.0-2build1) ... 930s Selecting previously unselected package libxshmfence1:armhf. 930s Preparing to unpack .../17-libxshmfence1_1.3.3-1_armhf.deb ... 930s Unpacking libxshmfence1:armhf (1.3.3-1) ... 930s Selecting previously unselected package mesa-libgallium:armhf. 930s Preparing to unpack .../18-mesa-libgallium_25.2.3-1ubuntu1_armhf.deb ... 930s Unpacking mesa-libgallium:armhf (25.2.3-1ubuntu1) ... 930s Selecting previously unselected package libgbm1:armhf. 930s Preparing to unpack .../19-libgbm1_25.2.3-1ubuntu1_armhf.deb ... 930s Unpacking libgbm1:armhf (25.2.3-1ubuntu1) ... 930s Selecting previously unselected package python3-packaging. 930s Preparing to unpack .../20-python3-packaging_25.0-1_all.deb ... 930s Unpacking python3-packaging (25.0-1) ... 930s Selecting previously unselected package libgio-2.0-dev-bin. 930s Preparing to unpack .../21-libgio-2.0-dev-bin_2.86.0-2_armhf.deb ... 930s Unpacking libgio-2.0-dev-bin (2.86.0-2) ... 930s Selecting previously unselected package libvulkan1:armhf. 930s Preparing to unpack .../22-libvulkan1_1.4.321.0-1_armhf.deb ... 930s Unpacking libvulkan1:armhf (1.4.321.0-1) ... 930s Selecting previously unselected package libgl1-mesa-dri:armhf. 930s Preparing to unpack .../23-libgl1-mesa-dri_25.2.3-1ubuntu1_armhf.deb ... 930s Unpacking libgl1-mesa-dri:armhf (25.2.3-1ubuntu1) ... 930s Selecting previously unselected package libglib2.0-bin. 930s Preparing to unpack .../24-libglib2.0-bin_2.86.0-2_armhf.deb ... 930s Unpacking libglib2.0-bin (2.86.0-2) ... 930s Selecting previously unselected package libglib2.0-dev-bin. 930s Preparing to unpack .../25-libglib2.0-dev-bin_2.86.0-2_armhf.deb ... 930s Unpacking libglib2.0-dev-bin (2.86.0-2) ... 930s Selecting previously unselected package python3-dbusmock. 930s Preparing to unpack .../26-python3-dbusmock_0.37.1-1_all.deb ... 930s Unpacking python3-dbusmock (0.37.1-1) ... 930s Selecting previously unselected package tzdata-legacy. 930s Preparing to unpack .../27-tzdata-legacy_2025b-3ubuntu1_all.deb ... 930s Unpacking tzdata-legacy (2025b-3ubuntu1) ... 930s Selecting previously unselected package libglib2.0-tests. 930s Preparing to unpack .../28-libglib2.0-tests_2.86.0-2_armhf.deb ... 930s Unpacking libglib2.0-tests (2.86.0-2) ... 931s Selecting previously unselected package libxcb-glx0:armhf. 931s Preparing to unpack .../29-libxcb-glx0_1.17.0-2build1_armhf.deb ... 931s Unpacking libxcb-glx0:armhf (1.17.0-2build1) ... 931s Selecting previously unselected package libxcb-shm0:armhf. 931s Preparing to unpack .../30-libxcb-shm0_1.17.0-2build1_armhf.deb ... 931s Unpacking libxcb-shm0:armhf (1.17.0-2build1) ... 931s Selecting previously unselected package libxxf86vm1:armhf. 931s Preparing to unpack .../31-libxxf86vm1_1%3a1.1.4-1build4_armhf.deb ... 931s Unpacking libxxf86vm1:armhf (1:1.1.4-1build4) ... 931s Selecting previously unselected package libglx-mesa0:armhf. 931s Preparing to unpack .../32-libglx-mesa0_25.2.3-1ubuntu1_armhf.deb ... 931s Unpacking libglx-mesa0:armhf (25.2.3-1ubuntu1) ... 931s Selecting previously unselected package x11-common. 931s Preparing to unpack .../33-x11-common_1%3a7.7+24ubuntu1_all.deb ... 931s Unpacking x11-common (1:7.7+24ubuntu1) ... 931s Selecting previously unselected package libice6:armhf. 931s Preparing to unpack .../34-libice6_2%3a1.1.1-1_armhf.deb ... 931s Unpacking libice6:armhf (2:1.1.1-1) ... 931s Selecting previously unselected package libpixman-1-0:armhf. 931s Preparing to unpack .../35-libpixman-1-0_0.44.0-3_armhf.deb ... 931s Unpacking libpixman-1-0:armhf (0.44.0-3) ... 931s Selecting previously unselected package libsm6:armhf. 931s Preparing to unpack .../36-libsm6_2%3a1.2.6-1_armhf.deb ... 931s Unpacking libsm6:armhf (2:1.2.6-1) ... 931s Selecting previously unselected package libxt6t64:armhf. 931s Preparing to unpack .../37-libxt6t64_1%3a1.2.1-1.3_armhf.deb ... 931s Unpacking libxt6t64:armhf (1:1.2.1-1.3) ... 931s Selecting previously unselected package libxmu6:armhf. 931s Preparing to unpack .../38-libxmu6_2%3a1.1.3-3build3_armhf.deb ... 931s Unpacking libxmu6:armhf (2:1.1.3-3build3) ... 931s Selecting previously unselected package libxpm4:armhf. 931s Preparing to unpack .../39-libxpm4_1%3a3.5.17-1build2_armhf.deb ... 931s Unpacking libxpm4:armhf (1:3.5.17-1build2) ... 931s Selecting previously unselected package libxaw7:armhf. 931s Preparing to unpack .../40-libxaw7_2%3a1.0.16-1_armhf.deb ... 931s Unpacking libxaw7:armhf (2:1.0.16-1) ... 931s Selecting previously unselected package libxfont2:armhf. 931s Preparing to unpack .../41-libxfont2_1%3a2.0.6-1build1_armhf.deb ... 931s Unpacking libxfont2:armhf (1:2.0.6-1build1) ... 931s Selecting previously unselected package libxkbfile1:armhf. 931s Preparing to unpack .../42-libxkbfile1_1%3a1.1.0-1build4_armhf.deb ... 931s Unpacking libxkbfile1:armhf (1:1.1.0-1build4) ... 931s Selecting previously unselected package libxrender1:armhf. 931s Preparing to unpack .../43-libxrender1_1%3a0.9.12-1_armhf.deb ... 931s Unpacking libxrender1:armhf (1:0.9.12-1) ... 931s Selecting previously unselected package libxrandr2:armhf. 931s Preparing to unpack .../44-libxrandr2_2%3a1.5.4-1_armhf.deb ... 931s Unpacking libxrandr2:armhf (2:1.5.4-1) ... 931s Selecting previously unselected package x11-xkb-utils. 931s Preparing to unpack .../45-x11-xkb-utils_7.7+9_armhf.deb ... 931s Unpacking x11-xkb-utils (7.7+9) ... 931s Selecting previously unselected package xserver-common. 931s Preparing to unpack .../46-xserver-common_2%3a21.1.18-1ubuntu1_all.deb ... 931s Unpacking xserver-common (2:21.1.18-1ubuntu1) ... 931s Selecting previously unselected package libglvnd0:armhf. 931s Preparing to unpack .../47-libglvnd0_1.7.0-1build2_armhf.deb ... 931s Unpacking libglvnd0:armhf (1.7.0-1build2) ... 931s Selecting previously unselected package libglx0:armhf. 931s Preparing to unpack .../48-libglx0_1.7.0-1build2_armhf.deb ... 931s Unpacking libglx0:armhf (1.7.0-1build2) ... 931s Selecting previously unselected package libgl1:armhf. 932s Preparing to unpack .../49-libgl1_1.7.0-1build2_armhf.deb ... 932s Unpacking libgl1:armhf (1.7.0-1build2) ... 932s Selecting previously unselected package xvfb. 932s Preparing to unpack .../50-xvfb_2%3a21.1.18-1ubuntu1_armhf.deb ... 932s Unpacking xvfb (2:21.1.18-1ubuntu1) ... 932s Setting up gnome-desktop-testing (2021.1-4) ... 932s Setting up libxcb-dri3-0:armhf (1.17.0-2build1) ... 932s Setting up libpixman-1-0:armhf (0.44.0-3) ... 932s Setting up libx11-xcb1:armhf (2:1.8.12-1build1) ... 932s Setting up native-architecture (0.2.6) ... 932s Setting up libxcb-xfixes0:armhf (1.17.0-2build1) ... 932s Setting up desktop-file-utils (0.28-1) ... 932s Setting up libxpm4:armhf (1:3.5.17-1build2) ... 932s Setting up libxrender1:armhf (1:0.9.12-1) ... 932s Setting up libgirepository-2.0-0:armhf (2.86.0-2) ... 932s Setting up libglvnd0:armhf (1.7.0-1build2) ... 932s Setting up libxcb-glx0:armhf (1.17.0-2build1) ... 932s Setting up x11-common (1:7.7+24ubuntu1) ... 932s Setting up libglib2.0-bin (2.86.0-2) ... 932s Setting up libxcb-shm0:armhf (1.17.0-2build1) ... 932s Setting up python3-dbusmock (0.37.1-1) ... 932s Setting up tzdata-legacy (2025b-3ubuntu1) ... 932s Setting up libxxf86vm1:armhf (1:1.1.4-1build4) ... 932s Setting up libxcb-present0:armhf (1.17.0-2build1) ... 932s Setting up libfontenc1:armhf (1:1.1.8-1build1) ... 932s Setting up python3-packaging (25.0-1) ... 932s Setting up libfreetype6:armhf (2.13.3+dfsg-1build1) ... 932s Setting up libxcb-sync1:armhf (1.17.0-2build1) ... 932s Setting up libxrandr2:armhf (2:1.5.4-1) ... 932s Setting up libllvm20:armhf (1:20.1.8-0ubuntu4) ... 932s Setting up libvulkan1:armhf (1.4.321.0-1) ... 932s Setting up gir1.2-glib-2.0-dev:armhf (2.86.0-2) ... 932s Setting up libxshmfence1:armhf (1.3.3-1) ... 932s Setting up dbus-x11 (1.16.2-2ubuntu2) ... 932s Setting up libxcb-randr0:armhf (1.17.0-2build1) ... 932s Setting up libxkbfile1:armhf (1:1.1.0-1build4) ... 932s Setting up libxfont2:armhf (1:2.0.6-1build1) ... 932s Setting up libdrm-amdgpu1:armhf (2.4.125-1) ... 932s Setting up libice6:armhf (2:1.1.1-1) ... 932s Setting up mesa-libgallium:armhf (25.2.3-1ubuntu1) ... 932s Setting up libgio-2.0-dev-bin (2.86.0-2) ... 933s Setting up girepository-tools:armhf (2.86.0-2) ... 933s Setting up libgbm1:armhf (25.2.3-1ubuntu1) ... 933s Setting up libgl1-mesa-dri:armhf (25.2.3-1ubuntu1) ... 933s Setting up libsm6:armhf (2:1.2.6-1) ... 933s Setting up libglib2.0-dev-bin (2.86.0-2) ... 933s Setting up libglx-mesa0:armhf (25.2.3-1ubuntu1) ... 933s Setting up libglx0:armhf (1.7.0-1build2) ... 933s Setting up libgl1:armhf (1.7.0-1build2) ... 933s Setting up libxt6t64:armhf (1:1.2.1-1.3) ... 933s Setting up libglib2.0-tests (2.86.0-2) ... 933s Setting up libxmu6:armhf (2:1.1.3-3build3) ... 933s Setting up libxaw7:armhf (2:1.0.16-1) ... 933s Setting up x11-xkb-utils (7.7+9) ... 933s Setting up xserver-common (2:21.1.18-1ubuntu1) ... 933s Setting up xvfb (2:21.1.18-1ubuntu1) ... 933s Processing triggers for man-db (2.13.1-1) ... 933s Processing triggers for libc-bin (2.42-0ubuntu3) ... 948s autopkgtest [19:41:20]: test installed-tests: [----------------------- 950s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 950s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 950s group entry: ubuntu:x:1000: 950s Environment: 950s ADTTMP=/tmp/autopkgtest.N9ntvz/autopkgtest_tmp 950s ADT_ARTIFACTS=/tmp/autopkgtest.N9ntvz/installed-tests-artifacts 950s ADT_TEST_TRIGGERS=python3-defaults/3.13.7-2 950s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.N9ntvz/installed-tests-artifacts 950s AUTOPKGTEST_TESTBED_ARCH=armhf 950s AUTOPKGTEST_TEST_ARCH=armhf 950s AUTOPKGTEST_TMP=/tmp/autopkgtest.N9ntvz/autopkgtest_tmp 950s DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus 950s DEBIAN_FRONTEND=noninteractive 950s DEB_BUILD_OPTIONS=parallel=8 950s GIO_USE_VFS=local 950s GIO_USE_VOLUME_MONITOR=unix 950s HOME=/home/ubuntu 950s LANG=C.UTF-8 950s LOGNAME=ubuntu 950s MAIL=/var/mail/ubuntu 950s OLDPWD=/root 950s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 950s PWD=/tmp/autopkgtest.N9ntvz/build.gKy/src 950s SHELL=/bin/bash 950s SHLVL=1 950s USER=ubuntu 950s XDG_RUNTIME_DIR=/tmp/autopkgtest.N9ntvz/autopkgtest_tmp 950s XDG_SESSION_CLASS=background 950s XDG_SESSION_ID=c1 950s XDG_SESSION_TYPE=unspecified 950s http_proxy=http://squid.internal:3128 950s https_proxy=http://squid.internal:3128 950s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 950s run-with-locales: de_DE=ISO-8859-1... 950s Character set: ISO-8859-1 950s Source file: de_DE 950s Output: /tmp/tmp.oCqDCNsl78/de_DE 950s run-with-locales: de_DE.utf8... 950s Character set: UTF-8 950s Source file: de_DE 950s Output: /tmp/tmp.oCqDCNsl78/de_DE.utf8 952s run-with-locales: de_DE@euro.utf8... 952s Character set: UTF-8 952s Source file: de_DE@euro 952s Output: /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8 954s run-with-locales: el_GR.utf8... 954s Character set: UTF-8 954s Source file: el_GR 954s Output: /tmp/tmp.oCqDCNsl78/el_GR.utf8 956s run-with-locales: en_GB=ISO-8859-1... 956s Character set: ISO-8859-1 956s Source file: en_GB 956s Output: /tmp/tmp.oCqDCNsl78/en_GB 958s run-with-locales: en_GB.utf8... 958s Character set: UTF-8 958s Source file: en_GB 958s Output: /tmp/tmp.oCqDCNsl78/en_GB.utf8 959s run-with-locales: en_US=ISO-8859-1... 959s Character set: ISO-8859-1 959s Source file: en_US 959s Output: /tmp/tmp.oCqDCNsl78/en_US 960s run-with-locales: en_US.utf8... 960s Character set: UTF-8 960s Source file: en_US 960s Output: /tmp/tmp.oCqDCNsl78/en_US.utf8 961s run-with-locales: es_ES.utf8... 962s Character set: UTF-8 962s Source file: es_ES 962s Output: /tmp/tmp.oCqDCNsl78/es_ES.utf8 964s run-with-locales: fa_IR=UTF-8... 964s Character set: UTF-8 964s Source file: fa_IR 964s Output: /tmp/tmp.oCqDCNsl78/fa_IR 965s run-with-locales: fa_IR.utf8... 965s Character set: UTF-8 965s Source file: fa_IR 965s Output: /tmp/tmp.oCqDCNsl78/fa_IR.utf8 967s run-with-locales: fr_FR.utf8... 967s Character set: UTF-8 967s Source file: fr_FR 967s Output: /tmp/tmp.oCqDCNsl78/fr_FR.utf8 969s run-with-locales: hr_HR.utf8... 969s Character set: UTF-8 969s Source file: hr_HR 969s Output: /tmp/tmp.oCqDCNsl78/hr_HR.utf8 971s run-with-locales: ja_JP.utf8... 971s Character set: UTF-8 971s Source file: ja_JP 971s Output: /tmp/tmp.oCqDCNsl78/ja_JP.utf8 973s run-with-locales: ja_JP.EUC-JP... 973s Character set: EUC-JP 973s Source file: ja_JP 973s Output: /tmp/tmp.oCqDCNsl78/ja_JP.eucjp 973s run-with-locales: lt_LT.utf8... 973s Character set: UTF-8 973s Source file: lt_LT 973s Output: /tmp/tmp.oCqDCNsl78/lt_LT.utf8 975s run-with-locales: pl_PL=ISO-8859-2... 975s Character set: ISO-8859-2 975s Source file: pl_PL 975s Output: /tmp/tmp.oCqDCNsl78/pl_PL 976s run-with-locales: pl_PL.ISO-8859-2... 976s Character set: ISO-8859-2 976s Source file: pl_PL 976s Output: /tmp/tmp.oCqDCNsl78/pl_PL.iso88592 976s run-with-locales: pl_PL.utf8... 976s Character set: UTF-8 976s Source file: pl_PL 976s Output: /tmp/tmp.oCqDCNsl78/pl_PL.utf8 978s run-with-locales: ru_RU=ISO-8859-5... 978s Character set: ISO-8859-5 978s Source file: ru_RU 978s Output: /tmp/tmp.oCqDCNsl78/ru_RU 979s run-with-locales: ru_RU.utf8... 979s Character set: UTF-8 979s Source file: ru_RU 979s Output: /tmp/tmp.oCqDCNsl78/ru_RU.utf8 981s run-with-locales: sr_RS=UTF-8... 981s Character set: UTF-8 981s Source file: sr_RS 981s Output: /tmp/tmp.oCqDCNsl78/sr_RS 983s run-with-locales: sr_RS@latin=UTF-8... 983s Character set: UTF-8 983s Source file: sr_RS@latin 983s Output: /tmp/tmp.oCqDCNsl78/sr_RS@latin 985s run-with-locales: sv_SE=ISO-8859-1... 985s Character set: ISO-8859-1 985s Source file: sv_SE 985s Output: /tmp/tmp.oCqDCNsl78/sv_SE 986s run-with-locales: sv_SE.utf8... 986s Character set: UTF-8 986s Source file: sv_SE 986s Output: /tmp/tmp.oCqDCNsl78/sv_SE.utf8 988s run-with-locales: tr_TR=ISO-8859-9... 988s Character set: ISO-8859-9 988s Source file: tr_TR 988s Output: /tmp/tmp.oCqDCNsl78/tr_TR 989s run-with-locales: tr_TR.utf8... 989s Character set: UTF-8 989s Source file: tr_TR 989s Output: /tmp/tmp.oCqDCNsl78/tr_TR.utf8 990s run-with-locales: tt_RU=UTF-8... 990s Character set: UTF-8 990s Source file: tt_RU 990s Output: /tmp/tmp.oCqDCNsl78/tt_RU 993s run-with-locales: tt_RU.utf8... 993s Character set: UTF-8 993s Source file: tt_RU 993s Output: /tmp/tmp.oCqDCNsl78/tt_RU.utf8 995s run-with-locales: tt_RU@iqtelif=UTF-8... 995s Character set: UTF-8 995s Source file: tt_RU@iqtelif 995s Output: /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif 998s /tmp/tmp.oCqDCNsl78 998s /tmp/tmp.oCqDCNsl78/de_DE 998s /tmp/tmp.oCqDCNsl78/de_DE/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/de_DE/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/de_DE/LC_TIME 998s /tmp/tmp.oCqDCNsl78/de_DE/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/de_DE/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/de_DE/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/de_DE/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/de_DE/LC_NAME 998s /tmp/tmp.oCqDCNsl78/de_DE/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/de_DE/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/de_DE/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/de_DE/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/de_DE.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/de_DE@euro.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/el_GR.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/en_GB 998s /tmp/tmp.oCqDCNsl78/en_GB/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/en_GB/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/en_GB/LC_TIME 998s /tmp/tmp.oCqDCNsl78/en_GB/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/en_GB/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/en_GB/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/en_GB/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/en_GB/LC_NAME 998s /tmp/tmp.oCqDCNsl78/en_GB/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/en_GB/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/en_GB/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/en_GB/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/en_GB.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/en_US 998s /tmp/tmp.oCqDCNsl78/en_US/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/en_US/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/en_US/LC_TIME 998s /tmp/tmp.oCqDCNsl78/en_US/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/en_US/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/en_US/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/en_US/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/en_US/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/en_US/LC_NAME 998s /tmp/tmp.oCqDCNsl78/en_US/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/en_US/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/en_US/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/en_US/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/en_US.utf8 998s /tmp/tmp.oCqDCNsl78/en_US.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/en_US.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/en_US.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/en_US.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/en_US.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/en_US.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/en_US.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/en_US.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/en_US.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/en_US.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/en_US.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/en_US.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/es_ES.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/fa_IR 998s /tmp/tmp.oCqDCNsl78/fa_IR/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/fa_IR/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/fa_IR/LC_TIME 998s /tmp/tmp.oCqDCNsl78/fa_IR/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/fa_IR/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/fa_IR/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/fa_IR/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/fa_IR/LC_NAME 998s /tmp/tmp.oCqDCNsl78/fa_IR/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/fa_IR/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/fa_IR/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/fa_IR/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/fa_IR.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/fr_FR.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/hr_HR.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/ja_JP.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp/LC_TIME 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp/LC_NAME 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/ja_JP.eucjp/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/lt_LT.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/pl_PL 998s /tmp/tmp.oCqDCNsl78/pl_PL/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/pl_PL/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/pl_PL/LC_TIME 998s /tmp/tmp.oCqDCNsl78/pl_PL/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/pl_PL/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/pl_PL/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/pl_PL/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/pl_PL/LC_NAME 998s /tmp/tmp.oCqDCNsl78/pl_PL/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/pl_PL/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/pl_PL/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/pl_PL/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592/LC_TIME 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592/LC_NAME 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/pl_PL.iso88592/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/pl_PL.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/ru_RU 998s /tmp/tmp.oCqDCNsl78/ru_RU/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/ru_RU/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/ru_RU/LC_TIME 998s /tmp/tmp.oCqDCNsl78/ru_RU/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/ru_RU/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/ru_RU/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/ru_RU/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/ru_RU/LC_NAME 998s /tmp/tmp.oCqDCNsl78/ru_RU/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/ru_RU/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/ru_RU/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/ru_RU/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/ru_RU.utf8 998s /tmp/tmp.oCqDCNsl78/ru_RU.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/ru_RU.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/ru_RU.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/ru_RU.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/ru_RU.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/ru_RU.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/ru_RU.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/ru_RU.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/ru_RU.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/ru_RU.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/ru_RU.utf8/LC_MEASUREMENT 998s /tmp1..330 998s # Running test: glib/gthash.test 998s ok - glib/gthash.test 998s # Running test: glib/markup-escape.test 998s ok - glib/markup-escape.test 998s # Running test: glib/trash.test 998s ok - glib/trash.test 998s # Running test: glib/bitlock.test 998s ok - glib/bitlock.test 998s # Running test: glib/cache.test 998s /tmp.oCqDCNsl78/ru_RU.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/sr_RS 998s /tmp/tmp.oCqDCNsl78/sr_RS/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/sr_RS/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/sr_RS/LC_TIME 998s /tmp/tmp.oCqDCNsl78/sr_RS/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/sr_RS/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/sr_RS/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/sr_RS/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/sr_RS/LC_NAME 998s /tmp/tmp.oCqDCNsl78/sr_RS/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/sr_RS/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/sr_RS/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/sr_RS/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin/LC_TIME 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin/LC_NAME 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/sr_RS@latin/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/sv_SE 998s /tmp/tmp.oCqDCNsl78/sv_SE/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/sv_SE/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/sv_SE/LC_TIME 998s /tmp/tmp.oCqDCNsl78/sv_SE/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/sv_SE/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/sv_SE/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/sv_SE/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/sv_SE/LC_NAME 998s /tmp/tmp.oCqDCNsl78/sv_SE/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/sv_SE/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/sv_SE/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/sv_SE/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/sv_SE.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/tr_TR 998s /tmp/tmp.oCqDCNsl78/tr_TR/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/tr_TR/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/tr_TR/LC_TIME 998s /tmp/tmp.oCqDCNsl78/tr_TR/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/tr_TR/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/tr_TR/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/tr_TR/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/tr_TR/LC_NAME 998s /tmp/tmp.oCqDCNsl78/tr_TR/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/tr_TR/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/tr_TR/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/tr_TR/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/tr_TR.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/tt_RU 998s /tmp/tmp.oCqDCNsl78/tt_RU/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/tt_RU/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/tt_RU/LC_TIME 998s /tmp/tmp.oCqDCNsl78/tt_RU/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/tt_RU/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/tt_RU/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/tt_RU/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/tt_RU/LC_NAME 998s /tmp/tmp.oCqDCNsl78/tt_RU/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/tt_RU/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/tt_RU/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/tt_RU/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8/LC_TIME 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8/LC_NAME 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/tt_RU.utf8/LC_IDENTIFICATION 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif/LC_CTYPE 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif/LC_NUMERIC 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif/LC_TIME 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif/LC_COLLATE 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif/LC_MONETARY 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif/LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif/LC_PAPER 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif/LC_NAME 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif/LC_ADDRESS 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif/LC_TELEPHONE 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif/LC_MEASUREMENT 998s /tmp/tmp.oCqDCNsl78/tt_RU@iqtelif/LC_IDENTIFICATION 998s TAP version 14 998s # random seed: R02S1a2cd7f92741f92f20bb93996c676349 998s 1..1 998s # Start of gthash tests 998s ok 1 /gthash/build-retrieve 998s # End of gthash tests 998s TAP version 14 998s # random seed: R02S5d6a03ee5030d7b6b8db069d753cbe30 998s 1..41 998s # Start of markup tests 998s ok 1 /markup/format 998s # Start of escape-text tests 998s ok 2 /markup/escape-text/0 998s ok 3 /markup/escape-text/1 998s ok 4 /markup/escape-text/2 998s ok 5 /markup/escape-text/3 998s ok 6 /markup/escape-text/4 998s ok 7 /markup/escape-text/5 998s ok 8 /markup/escape-text/6 998s ok 9 /markup/escape-text/7 998s ok 10 /markup/escape-text/8 998s ok 11 /markup/escape-text/9 998s ok 12 /markup/escape-text/10 998s ok 13 /markup/escape-text/11 998s ok 14 /markup/escape-text/12 998s ok 15 /markup/escape-text/13 998s ok 16 /markup/escape-text/14 998s ok 17 /markup/escape-text/15 998s ok 18 /markup/escape-text/16 998s ok 19 /markup/escape-text/17 998s ok 20 /markup/escape-text/18 998s ok 21 /markup/escape-text/19 998s ok 22 /markup/escape-text/20 998s ok 23 /markup/escape-text/21 998s ok 24 /markup/escape-text/22 998s # End of escape-text tests 998s # Start of escape-unichar tests 998s ok 25 /markup/escape-unichar/0 998s ok 26 /markup/escape-unichar/1 998s ok 27 /markup/escape-unichar/2 998s ok 28 /markup/escape-unichar/3 998s ok 29 /markup/escape-unichar/4 998s ok 30 /markup/escape-unichar/5 998s ok 31 /markup/escape-unichar/6 998s ok 32 /markup/escape-unichar/7 998s ok 33 /markup/escape-unichar/8 998s ok 34 /markup/escape-unichar/9 998s ok 35 /markup/escape-unichar/10 998s ok 36 /markup/escape-unichar/11 998s ok 37 /markup/escape-unichar/12 998s ok 38 /markup/escape-unichar/13 998s ok 39 /markup/escape-unichar/14 998s ok 40 /markup/escape-unichar/15 998s ok 41 /markup/escape-unichar/16 998s # End of escape-unichar tests 998s # End of markup tests 998s TAP version 14 998s # random seed: R02Sfec8e12b2fd876f3e7129b50a190dab9 998s 1..3 998s # Start of trash tests 998s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 998s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 998s # File: /tmp/test-trashXQPIE3 (parent st_dev: 67) 998s # Home: /home/ubuntu (st_dev: 67) 998s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 998s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 998s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 998s ok 3 /trash/long-filename 998s # End of trash tests 998s TAP version 14 998s # random seed: R02Sd3ecfdfbd7364234087c6bec4bbb37ce 998s 1..2 998s # Start of bitlock tests 998s # Start of performance tests 998s # max perf: iterations per second 998s ok 1 /bitlock/performance/uncontended 998s ok 2 /bitlock/performance/parallel 998s # End of performance tests 998s # End of bitlock tests 998s TAP version 14 998s # random seed: R02Sefc46e0ab43860ee562ae19165dae8d8 998s 1..1 998s # Start of cache tests 998s ok 1 /cache/basic 998s # End of cache tests 998s TAP version 14 998s # random seed: R02S7cd2e34308f9889fdc79f75af90b5724 998s 1..36 998s # Start of keyfile tests 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/line-ends/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/line-ends/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/line-ends/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/line-ends/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/line-ends/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/line-ends/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/line-ends/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/line-ends/.dirs/runtime 998s ok 1 /keyfile/line-ends 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/whitespace/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/whitespace/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/whitespace/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/whitespace/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/whitespace/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/whitespace/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/whitespace/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/whitespace/.dirs/runtime 998s ok 2 /keyfile/whitespace 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/comments/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/comments/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/comments/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/comments/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/comments/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/comments/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/comments/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/comments/.dirs/runtime 998s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 998s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 998s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 998s ok 3 /keyfile/comments 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/listing/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/listing/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/listing/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/listing/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/listing/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/listing/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/listing/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/listing/.dirs/runtime 998s ok 4 /keyfile/listing 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/string/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/string/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/string/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/string/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/string/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/string/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/string/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/string/.dirs/runtime 998s ok 5 /keyfile/string 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/boolean/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/boolean/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/boolean/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/boolean/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/boolean/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/boolean/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/boolean/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/boolean/.dirs/runtime 998s ok - glib/cache.test 998s # Running test: glib/keyfile.test 998s ok - glib/keyfile.test 998s # Running test: glib/properties.test 998s ok - glib/properties.test 998s # Running test: glib/portal-support-snap.test 998s ok 6 /keyfile/boolean 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/number/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/number/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/number/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/number/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/number/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/number/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/number/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/number/.dirs/runtime 998s ok 7 /keyfile/number 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/locale-string/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/locale-string/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/.dirs/runtime 998s ok 8 /keyfile/locale-string 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/lists/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/lists/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/lists/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/lists/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/lists/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/lists/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/lists/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/lists/.dirs/runtime 998s ok 9 /keyfile/lists 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/lists-set-get/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/lists-set-get/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/lists-set-get/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/lists-set-get/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/lists-set-get/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/lists-set-get/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/lists-set-get/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/lists-set-get/.dirs/runtime 998s ok 10 /keyfile/lists-set-get 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/group-remove/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/group-remove/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/group-remove/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/group-remove/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/group-remove/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/group-remove/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/group-remove/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/group-remove/.dirs/runtime 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 998s ok 11 /keyfile/group-remove 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/key-remove/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/key-remove/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/key-remove/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/key-remove/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/key-remove/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/key-remove/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/key-remove/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/key-remove/.dirs/runtime 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 998s ok 12 /keyfile/key-remove 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/groups/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/groups/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/groups/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/groups/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/groups/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/groups/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/groups/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/groups/.dirs/runtime 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 998s ok 13 /keyfile/groups 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-keys/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-keys/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/duplicate-keys/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-keys/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/duplicate-keys/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-keys/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-keys/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-keys/.dirs/runtime 998s ok 14 /keyfile/duplicate-keys 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups/.dirs/runtime 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 998s ok 15 /keyfile/duplicate-groups 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups2/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups2/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups2/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups2/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups2/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups2/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups2/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/duplicate-groups2/.dirs/runtime 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 998s ok 16 /keyfile/duplicate-groups2 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/group-names/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/group-names/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/group-names/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/group-names/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/group-names/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/group-names/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/group-names/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/group-names/.dirs/runtime 998s ok 17 /keyfile/group-names 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/key-names/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/key-names/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/key-names/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/key-names/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/key-names/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/key-names/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/key-names/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/key-names/.dirs/runtime 998s ok 18 /keyfile/key-names 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/reload/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/reload/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/reload/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/reload/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/reload/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/reload/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/reload/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/reload/.dirs/runtime 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 998s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 998s ok 19 /keyfile/reload 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/int64/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/int64/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/int64/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/int64/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/int64/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/int64/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/int64/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/int64/.dirs/runtime 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 998s ok 20 /keyfile/int64 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/load/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/load/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/load/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/load/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/load/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/load/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/load/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/load/.dirs/runtime 998s ok 21 /keyfile/load 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/save/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/save/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/save/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/save/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/save/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/save/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/save/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/save/.dirs/runtime 998s ok 22 /keyfile/save 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/load-fail/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/load-fail/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/load-fail/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/load-fail/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/load-fail/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/load-fail/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/load-fail/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/load-fail/.dirs/runtime 998s ok 23 /keyfile/load-fail 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/non-utf8/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/non-utf8/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/non-utf8/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/non-utf8/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/non-utf8/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/non-utf8/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/non-utf8/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/non-utf8/.dirs/runtime 998s ok 24 /keyfile/non-utf8 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/page-boundary/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/page-boundary/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/page-boundary/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/page-boundary/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/page-boundary/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/page-boundary/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/page-boundary/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/page-boundary/.dirs/runtime 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 998s ok 25 /keyfile/page-boundary 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/ref/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/ref/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/ref/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/ref/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/ref/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/ref/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/ref/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/ref/.dirs/runtime 998s ok 26 /keyfile/ref 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/replace-value/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/replace-value/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/replace-value/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/replace-value/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/replace-value/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/replace-value/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/replace-value/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/replace-value/.dirs/runtime 998s ok 27 /keyfile/replace-value 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/list-separator/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/list-separator/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/list-separator/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/list-separator/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/list-separator/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/list-separator/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/list-separator/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/list-separator/.dirs/runtime 998s ok 28 /keyfile/list-separator 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/empty-string/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/empty-string/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/empty-string/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/empty-string/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/empty-string/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/empty-string/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/empty-string/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/empty-string/.dirs/runtime 998s ok 29 /keyfile/empty-string 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/limbo/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/limbo/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/limbo/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/limbo/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/limbo/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/limbo/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/limbo/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/limbo/.dirs/runtime 998s ok 30 /keyfile/limbo 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/utf8/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/utf8/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/utf8/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/utf8/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/utf8/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/utf8/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/utf8/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/utf8/.dirs/runtime 998s # Testing invalid encoding ‘non-UTF-8’ 998s # Testing invalid encoding ‘UTF’ 998s # Testing invalid encoding ‘UTF-9’ 998s ok 31 /keyfile/utf8 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/roundtrip/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/roundtrip/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/roundtrip/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/roundtrip/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/roundtrip/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/roundtrip/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/roundtrip/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/roundtrip/.dirs/runtime 998s ok 32 /keyfile/roundtrip 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/bytes/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/bytes/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/bytes/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/bytes/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/bytes/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/bytes/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/bytes/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/bytes/.dirs/runtime 998s ok 33 /keyfile/bytes 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/get-locale/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/get-locale/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/get-locale/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/get-locale/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/get-locale/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/get-locale/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/get-locale/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/get-locale/.dirs/runtime 998s ok 34 /keyfile/get-locale 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/free-when-not-last-ref/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/free-when-not-last-ref/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/free-when-not-last-ref/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/free-when-not-last-ref/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/free-when-not-last-ref/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/free-when-not-last-ref/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/free-when-not-last-ref/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/free-when-not-last-ref/.dirs/runtime 998s ok 35 /keyfile/free-when-not-last-ref 998s # Start of locale-string tests 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/multiple-loads/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/multiple-loads/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_7PQHE3/keyfile/locale-string/multiple-loads/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/multiple-loads/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_7PQHE3/keyfile/locale-string/multiple-loads/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/multiple-loads/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/multiple-loads/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_7PQHE3/keyfile/locale-string/multiple-loads/.dirs/runtime 998s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 998s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 998s ok 36 /keyfile/locale-string/multiple-loads 998s # End of locale-string tests 998s # End of keyfile tests 998s TAP version 14 998s # random seed: R02S9744f41177834e40137f81fd3e0012c6 998s 1..14 998s # Start of properties tests 998s ok 1 /properties/install 998s ok 2 /properties/install-many 998s ok 3 /properties/notify 998s ok 4 /properties/notify-queue 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 998s ok 5 /properties/construct 998s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 998s # Test g_object_get_property with an initialized value 998s # Test g_object_get_property with an uninitialized value 998s # Test g_object_get_property with a transformable value 998s ok 6 /properties/get-property 998s ok 7 /properties/testv_with_no_properties 998s ok 8 /properties/testv_with_valid_properties 998s ok 9 /properties/testv_with_invalid_property_type 998s ok 10 /properties/testv_with_invalid_property_names 998s ok 11 /properties/testv_getv 998s ok 12 /properties/testv_notify_queue 998s # Start of notify tests 998s ok 13 /properties/notify/too-many-freezes 998s # End of notify tests 998s # Start of set-property tests 998s # Start of variant tests 998s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 998s ok 14 /properties/set-property/variant/floating 998s # End of variant tests 998s # End of set-property tests 998s # End of properties tests 998s TAP version 14 998s # random seed: R02Sa8aa86dcb21b2a533a57a93fefd137a4 998s 1..7 998s # Start of portal-support tests 998s # Start of snap tests 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/no-snapctl/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/no-snapctl/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/no-snapctl/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/no-snapctl/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/no-snapctl/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/no-snapctl/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/no-snapctl/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/no-snapctl/.dirs/runtime 998s # Created snap.yaml in /tmp/test_portal-support-snap_9A9RE3/meta/snap.yaml 998s Unable to clean up temporary directory /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/no-snapctl: No such file or directory 998s ok 1 /portal-support/snap/no-snapctl 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/none/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/none/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/none/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/none/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/none/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/none/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/none/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/none/.dirs/runtime 998s # Created snap.yaml in /tmp/test_portal-support-snap_9A9RE3/meta/snap.yaml 998s # Created snapctl in /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/none/.dirs/runtime/snapctl 998s Unable to clean up temporary directory /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/none: No such file or directory 998s ok 2 /portal-support/snap/none 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/all/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/all/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/all/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/all/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/all/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/all/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/all/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/all/.dirs/runtime 998s # Created snap.yaml in /tmp/test_portal-support-snap_9A9RE3/meta/snap.yaml 998s # Created snapctl in /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/all/.dirs/runtime/snapctl 998s Unable to clean up temporary directory /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/all: No such file or directory 998s ok 3 /portal-support/snap/all 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/desktop-only/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/desktop-only/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/desktop-only/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/desktop-only/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/desktop-only/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/desktop-only/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/desktop-only/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/desktop-only/.dirs/runtime 998s # Created snap.yaml in /tmp/test_portal-support-snap_9A9RE3/meta/snap.yaml 998s # Created snapctl in /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 998s Unable to clean up temporary directory /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/desktop-only: No such file or directory 998s ok 4 /portal-support/snap/desktop-only 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/network-only/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/network-only/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/network-only/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/network-only/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/network-only/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/network-only/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/network-only/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/network-only/.dirs/runtime 998s # Created snap.yaml in /tmp/test_portal-support-snap_9A9RE3/meta/snap.yaml 998s # Created snapctl in /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/network-only/.dirs/runtime/snapctl 998s Unable to clean up temporary directory /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/network-only: No such file or directory 998s ok 5 /portal-support/snap/network-only 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/gsettings-only/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/gsettings-only/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/gsettings-only/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/gsettings-only/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/gsettings-only/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/gsettings-only/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/gsettings-only/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/gsettings-only/.dirs/runtime 998s # Created snap.yaml in /tmp/test_portal-support-snap_9A9RE3/meta/snap.yaml 998s # Created snapctl in /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 998s Unable to clean up temporary directory /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/gsettings-only: No such file or directory 998s ok 6 /portal-support/snap/gsettings-only 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/runtime 998s # Created snap.yaml in /tmp/test_portal-support-snap_9A9RE3/meta/snap.yaml 998s # Created snapctl in /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 998s # Created snapctl in /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 998s # Created snapctl in /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 998s # Created snapctl in /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 998s # Created snapctl in /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 998s # Created snapctl in /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 998s # Created snapctl in /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 998s Unable to clean up temporary directory /tmp/test_portal-support-snap_9A9RE3/portal-support/snap/updates-dynamically: No such file or directory 998s ok 7 /portal-support/snap/updates-dynamically 998s # End of snap tests 998s # End of portal-support tests 998s Unable to clean up temporary directory /tmp/test_portal-support-snap_9A9RE3: No such file or directory 998s ok - glib/portal-support-snap.test 998s # Running test: glib/properties-refcount2.test 998s TAP version 14 998s # random seed: R02Sba75f49e1912de8439276cdef382b507 998s 1..1 998s # Start of gobject tests 998s # Start of refcount tests 998s # init 0xbdfaf40 998s # 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # dispose 0xbdfaf40! 999s # 999s ok 1 /gobject/refcount/properties-2 999s # slow test /gobject/refcount/properties-2 executed in 1.51 secs 999s # End of refcount tests 999s # End of gobject tests 999s ok - glib/properties-refcount2.test 999s # Running test: glib/socket.test 999s TAP version 14 999s # random seed: R02S98409f1db51890b32f9596b1b0427362 999s 1..30 999s # Start of socket tests 1000s ok 1 /socket/ipv4_sync 1000s # slow test /socket/ipv4_sync executed in 1.00 secs 1001s ok 2 /socket/ipv4_async 1001s # slow test /socket/ipv4_async executed in 1.00 secs 1001s ok 3 /socket/ipv6_sync 1001s ok 4 /socket/ipv6_async 1001s ok 5 /socket/ipv6_v4mapped 1002s ok 6 /socket/close_graceful 1002s # slow test /socket/close_graceful executed in 1.00 secs 1002s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1002s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1002s ok 8 /socket/fd_reuse 1002s ok 9 /socket/address 1002s ok 10 /socket/unix-from-fd 1002s ok 11 /socket/unix-connection 1002s ok 12 /socket/unix-connection-ancillary-data 1002s ok 13 /socket/source-postmortem 1002s ok 14 /socket/read_write 1002s ok 15 /socket/read_writev 1002s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1002s ok 16 /socket/receive_bytes 1002s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1002s ok 17 /socket/receive_bytes_from 1002s # Start of ipv4_sync tests 1002s ok 18 /socket/ipv4_sync/datagram 1002s # Start of datagram tests 1003s # Executing: glib/socket.test 1004s ok 19 /socket/ipv4_sync/datagram/timeouts 1004s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1004s # End of datagram tests 1004s # End of ipv4_sync tests 1004s # Start of ipv6_sync tests 1004s ok 20 /socket/ipv6_sync/datagram 1004s # Start of datagram tests 1005s ok 21 /socket/ipv6_sync/datagram/timeouts 1005s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1005s # End of datagram tests 1005s # End of ipv6_sync tests 1005s # Start of reuse tests 1005s ok 22 /socket/reuse/tcp 1005s ok 23 /socket/reuse/udp 1005s # End of reuse tests 1005s # Start of get_available tests 1005s ok 24 /socket/get_available/datagram 1005s ok 25 /socket/get_available/stream 1005s # End of get_available tests 1005s # Start of credentials tests 1005s # Supported on this OS: GCredentials:linux-ucred:pid=0 1005s ok 26 /socket/credentials/tcp_client 1005s # Supported on this OS: GCredentials:linux-ucred:pid=0 1005s ok 27 /socket/credentials/tcp_server 1005s # Supported on this OS: GCredentials:linux-ucred:pid=1572,uid=1000,gid=1000 1005s ok 28 /socket/credentials/unix_socketpair 1005s # End of credentials tests 1005s # Start of accept tests 1005s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1005s ok 29 /socket/accept/cancelled 1005s # End of accept tests 1005s # Start of connect tests 1005s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1005s ok 30 /socket/connect/cancelled 1005s # End of connect tests 1005s # End of socket tests 1005s ok - glib/socket.test 1005s # Running test: glib/dbus-appinfo.test 1005s TAP version 14 1005s # random seed: R02S738acce27380b7187577301934710b65 1005s 1..7 1005s # Start of appinfo tests 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/dbusappinfo/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/dbusappinfo/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/dbusappinfo/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/dbusappinfo/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/dbusappinfo/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/dbusappinfo/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/dbusappinfo/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_CWFIE3/appinfo/dbusappinfo/.dirs/runtime 1005s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1005s ok 1 /appinfo/dbusappinfo 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-doc-export/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-doc-export/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-doc-export/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-doc-export/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-doc-export/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-doc-export/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-doc-export/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-doc-export/.dirs/runtime 1005s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1005s # Acquired a message bus connection 1005s # Acquired the name org.freedesktop.portal.Documents 1005s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_CWFIE3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-doc-export/.dirs/config 1005s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1005s # fake-document-portal cancelled 1005s ok 2 /appinfo/flatpak-doc-export 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-missing-doc-export/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-missing-doc-export/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-missing-doc-export/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-missing-doc-export/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-missing-doc-export/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-missing-doc-export/.dirs/runtime 1005s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1005s # Acquired a message bus connection 1005s # Acquired the name org.freedesktop.portal.Documents 1005s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-missing-doc-export/.dirs/config 1005s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1005s # fake-document-portal cancelled 1005s ok 3 /appinfo/flatpak-missing-doc-export 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file/.dirs/runtime 1005s # Acquired a message bus connection 1005s # Acquired the name org.freedesktop.portal.Desktop 1005s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_CWFIE3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file/.dirs/config 1005s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1005s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 1005s # Response emitted 1005s # fake-desktop-portal cancelled 1005s ok 4 /appinfo/portal-open-file 1005s ok - glib/dbus-appinfo.test 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri/.dirs/runtime 1005s # Acquired a message bus connection 1005s # Acquired the name org.freedesktop.portal.Desktop 1005s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri/.dirs/config 1005s # Got open file request for http://example.com 1005s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 1005s # Response emitted 1005s # fake-desktop-portal cancelled 1005s ok 5 /appinfo/portal-open-uri 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file-async/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file-async/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file-async/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file-async/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file-async/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file-async/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file-async/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file-async/.dirs/runtime 1005s # Acquired a message bus connection 1005s # Acquired the name org.freedesktop.portal.Desktop 1005s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file-async/.dirs/config 1005s # Running test: glib/overflow.test 1005s ok - glib/overflow.test 1005s # Running test: glib/memory-input-stream.test 1005s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1005s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio705201682 1005s # Response emitted 1005s # fake-desktop-portal cancelled 1005s ok 6 /appinfo/portal-open-file-async 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri-async/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri-async/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri-async/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri-async/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri-async/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri-async/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri-async/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri-async/.dirs/runtime 1005s # Acquired a message bus connection 1005s # Acquired the name org.freedesktop.portal.Desktop 1005s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_CWFIE3/appinfo/portal-open-uri-async/.dirs/config 1005s # Got open file request for http://example.com 1005s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio1975826565 1005s # Response emitted 1005s # fake-desktop-portal cancelled 1005s ok 7 /appinfo/portal-open-uri-async 1005s # End of appinfo tests 1005s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1005s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1005s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1005s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1005s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1005s TAP version 14 1005s # random seed: R02Sf5dbbd4fdab499fdc4da65a0dbbfba3a 1005s 1..6 1005s # Start of glib tests 1005s # Start of checked-math tests 1005s ok 1 /glib/checked-math/guint-add 1005s ok 2 /glib/checked-math/guint-mul 1005s ok 3 /glib/checked-math/guint64-add 1005s ok 4 /glib/checked-math/guint64-mul 1005s ok 5 /glib/checked-math/gsize-add 1005s ok 6 /glib/checked-math/gsize-mul 1005s # End of checked-math tests 1005s # End of glib tests 1005s TAP version 14 1005s # random seed: R02Sdcce9c8245bfd7284c35a1a2de63b16c 1005s 1..6 1005s # Start of memory-input-stream tests 1005s ok 1 /memory-input-stream/read-chunks 1005s ok 2 /memory-input-stream/async 1005s ok 3 /memory-input-stream/seek 1005s ok 4 /memory-input-stream/truncate 1005s ok 5 /memory-input-stream/read-bytes 1005s ok 6 /memory-input-stream/from-bytes 1005s # End of memory-input-stream tests 1005s ok - glib/memory-input-stream.test 1005s # Running test: glib/charset.test 1005s TAP version 14 1005s # random seed: R02S4c3299ea9bc1a8ca32290d2fbbafbf42 1005s 1..2 1005s # Start of charset tests 1005s # Test 0 1005s # Test 1 1005s # Test 2 1005s # Test 3 1005s ok 1 /charset/language_names_with_category 1005s ok 2 /charset/language_names_with_category_async 1005s # End of charset tests 1005s ok - glib/charset.test 1005s # Running test: glib/gobject-query.py.test 1005s TAP version 13 1005s ok 1 __main__.TestGobjectQuery.test_froots 1005s # gobject-query: /usr/bin/gobject-query 1005s # tmpdir: /tmp/tmpfzzq8us6 1005s # Running: ['/usr/bin/gobject-query', 'froots'] 1005s # Return code: 0 1005s # Output: 1005s # ├void 1005s # ├GInterface 1005s # │ └GTypePlugin 1005s # ├gchar 1005s # ├guchar 1005s # ├gboolean 1005s # ├gint 1005s # ├guint 1005s # ├glong 1005s # ├gulong 1005s # ├gint64 1005s # ├guint64 1005s # ├GEnum 1005s # ├GFlags 1005s # ├gfloat 1005s # ├gdouble 1005s # ├gchararray 1005s # ├gpointer 1005s # │ └GType 1005s # ├GBoxed 1005s # │ └GValueArray 1005s # ├GParam 1005s # │ ├GParamChar 1005s # │ ├GParamUChar 1005s # │ ├GParamBoolean 1005s # │ ├GParamInt 1005s # │ ├GParamUInt 1005s # │ ├GParamLong 1005s # │ ├GParamULong 1005s # │ ├GParamInt64 1005s # │ ├GParamUInt64 1005s # │ ├GParamUnichar 1005s # │ ├GParamEnum 1005s # │ ├GParamFlags 1005s # │ ├GParamFloat 1005s # │ ├GParamDouble 1005s # │ ├GParamString 1005s # │ ├GParamParam 1005s # │ ├GParamBoxed 1005s # │ ├GParamPointer 1005s # │ ├GParamValueArray 1005s # │ ├GParamObject 1005s # │ ├GParamOverride 1005s # │ ├GParamGType 1005s # │ └GParamVariant 1005s # ├GObject 1005s # └GVariant 1005s # Error: 1005s ok 2 __main__.TestGobjectQuery.test_help 1005s # gobject-query: /usr/bin/gobject-query 1005s # tmpdir: /tmp/tmpmayrc6kr 1005s # Running: ['/usr/bin/gobject-query', '--help'] 1005s # Return code: 0 1005s # Output: 1005s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1005s # -r specify root type 1005s # -n don't descend type tree 1005s # -h show help 1005s # -b specify indent string 1005s # -i specify incremental indent string 1005s # -s specify line spacing 1005s # qualifiers: 1005s # froots iterate over fundamental roots 1005s # tree print type tree 1005s # Error: 1005s ok 3 __main__.TestGobjectQuery.test_tree 1005s # gobject-query: /usr/bin/gobject-query 1005s # tmpdir: /tmp/tmpxl_ht8af 1005s # Running: ['/usr/bin/gobject-query', 'tree'] 1005s # Return code: 0 1005s # Output: 1005s # GObject 1005s # Error: 1005s ok 4 __main__.TestGobjectQuery.test_version 1005s # gobject-query: /usr/bin/gobject-query 1005s # tmpdir: /tmp/tmpgcfx6mnb 1005s # Running: ['/usr/bin/gobject-query', '--version'] 1005s # Return code: 0 1005s # Output: 1005s # 2.86.0 1005s # Error: 1005s 1..4 1005s ok - glib/gobject-query.py.test 1005s # Running test: glib/gutils-user-database.test 1005s TAP version 14 1005s # random seed: R02S80e85768bcd2eece9b51ae4afad95bcf 1005s 1..1 1005s # Start of gutils tests 1005s ok 1 /gutils/get_user_database_entry 1005s # End of gutils tests 1005s ok - glib/gutils-user-database.test 1005s # Running test: glib/markup-parse.test 1005s TAP version 14 1005s # random seed: R02Sf187646701a024dcf265b5ae82666f49 1005s 1..71 1005s # Start of markup tests 1005s # Start of parse tests 1005s ok 1 /markup/parse/fail-1.gmarkup 1005s ok 2 /markup/parse/fail-10.gmarkup 1005s ok 3 /markup/parse/fail-11.gmarkup 1005s ok 4 /markup/parse/fail-12.gmarkup 1005s ok 5 /markup/parse/fail-13.gmarkup 1005s ok 6 /markup/parse/fail-14.gmarkup 1005s ok 7 /markup/parse/fail-15.gmarkup 1005s ok 8 /markup/parse/fail-16.gmarkup 1005s ok 9 /markup/parse/fail-17.gmarkup 1005s ok 10 /markup/parse/fail-18.gmarkup 1005s ok 11 /markup/parse/fail-19.gmarkup 1005s ok 12 /markup/parse/fail-2.gmarkup 1005s ok 13 /markup/parse/fail-20.gmarkup 1005s ok 14 /markup/parse/fail-21.gmarkup 1005s ok 15 /markup/parse/fail-22.gmarkup 1005s ok 16 /markup/parse/fail-23.gmarkup 1005s ok 17 /markup/parse/fail-24.gmarkup 1005s ok 18 /markup/parse/fail-25.gmarkup 1005s ok 19 /markup/parse/fail-26.gmarkup 1005s ok 20 /markup/parse/fail-27.gmarkup 1005s ok 21 /markup/parse/fail-28.gmarkup 1005s ok 22 /markup/parse/fail-29.gmarkup 1005s ok 23 /markup/parse/fail-3.gmarkup 1005s ok 24 /markup/parse/fail-30.gmarkup 1005s ok 25 /markup/parse/fail-31.gmarkup 1005s ok 26 /markup/parse/fail-32.gmarkup 1005s ok 27 /markup/parse/fail-33.gmarkup 1005s ok 28 /markup/parse/fail-34.gmarkup 1005s ok 29 /markup/parse/fail-35.gmarkup 1005s ok 30 /markup/parse/fail-36.gmarkup 1005s ok 31 /markup/parse/fail-37.gmarkup 1005s ok 32 /markup/parse/fail-38.gmarkup 1005s ok - glib/markup-parse.test 1005s # Running test: glib/atomic.test 1005s ok 33 /markup/parse/fail-39.gmarkup 1005s ok 34 /markup/parse/fail-4.gmarkup 1005s ok 35 /markup/parse/fail-40.gmarkup 1005s ok 36 /markup/parse/fail-41.gmarkup 1005s ok 37 /markup/parse/fail-42.gmarkup 1005s ok 38 /markup/parse/fail-43.gmarkup 1005s ok 39 /markup/parse/fail-44.gmarkup 1005s ok 40 /markup/parse/fail-45.gmarkup 1005s ok 41 /markup/parse/fail-46.gmarkup 1005s ok 42 /markup/parse/fail-47.gmarkup 1005s ok 43 /markup/parse/fail-48.gmarkup 1005s ok 44 /markup/parse/fail-49.gmarkup 1005s ok 45 /markup/parse/fail-5.gmarkup 1005s ok 46 /markup/parse/fail-50.gmarkup 1005s ok 47 /markup/parse/fail-51.gmarkup 1005s ok 48 /markup/parse/fail-52.gmarkup 1005s ok 49 /markup/parse/fail-53.gmarkup 1005s ok 50 /markup/parse/fail-54.gmarkup 1005s ok 51 /markup/parse/fail-6.gmarkup 1005s ok 52 /markup/parse/fail-7.gmarkup 1005s ok 53 /markup/parse/fail-8.gmarkup 1005s ok 54 /markup/parse/fail-9.gmarkup 1005s ok 55 /markup/parse/valid-1.gmarkup 1005s ok 56 /markup/parse/valid-10.gmarkup 1005s ok 57 /markup/parse/valid-11.gmarkup 1005s ok 58 /markup/parse/valid-12.gmarkup 1005s ok 59 /markup/parse/valid-13.gmarkup 1005s ok 60 /markup/parse/valid-14.gmarkup 1005s ok 61 /markup/parse/valid-15.gmarkup 1005s ok 62 /markup/parse/valid-16.gmarkup 1005s ok 63 /markup/parse/valid-17.gmarkup 1005s ok 64 /markup/parse/valid-2.gmarkup 1005s ok 65 /markup/parse/valid-3.gmarkup 1005s ok 66 /markup/parse/valid-4.gmarkup 1005s ok 67 /markup/parse/valid-5.gmarkup 1005s ok 68 /markup/parse/valid-6.gmarkup 1005s ok 69 /markup/parse/valid-7.gmarkup 1005s ok 70 /markup/parse/valid-8.gmarkup 1005s ok 71 /markup/parse/valid-9.gmarkup 1005s # End of parse tests 1005s # End of markup tests 1005s TAP version 14 1005s # random seed: R02Sdbb82f091162d1c240491bb6909cb64d 1005s 1..2 1005s # Start of atomic tests 1005s ok 1 /atomic/types 1005s ok - glib/atomic.test 1005s # Running test: glib/gdbus-close-pending.test 1005s ok 2 /atomic/threaded 1005s # End of atomic tests 1005s TAP version 14 1005s # random seed: R02S369a2f1e0722f6d813b6b7b4bc7eaaeb 1005s 1..2 1005s # Start of gdbus tests 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/close-pending/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/close-pending/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_TGRNE3/gdbus/close-pending/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/close-pending/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_TGRNE3/gdbus/close-pending/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/close-pending/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/close-pending/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/close-pending/.dirs/runtime 1005s ok 1 /gdbus/close-pending 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/unref-pending/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/unref-pending/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_TGRNE3/gdbus/unref-pending/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/unref-pending/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_TGRNE3/gdbus/unref-pending/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/unref-pending/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/unref-pending/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_TGRNE3/gdbus/unref-pending/.dirs/runtime 1006s ok 2 /gdbus/unref-pending 1006s # End of gdbus tests 1006s ok - glib/gdbus-close-pending.test 1006s # Running test: glib/unix-fd.test 1006s TAP version 14 1006s # random seed: R02S03e0dd13f0d9225b53e3fc4119e5cd72 1006s 1..2 1006s # Start of unix-fd tests 1006s ok 1 /unix-fd/fd-list 1006s ok 2 /unix-fd/scm 1006s # End of unix-fd tests 1006s ok - glib/unix-fd.test 1006s # Running test: glib/union-info.test 1006s TAP version 14 1006s # random seed: R02Sdd88b12be644847bf0e4a792765a1555 1006s 1..2 1006s # Start of union-info tests 1006s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_KJBKE3/union-info/basic/.dirs/home 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_KJBKE3/union-info/basic/.dirs/cache 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_KJBKE3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_KJBKE3/union-info/basic/.dirs/system-config2 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_KJBKE3/union-info/basic/.dirs/config 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_KJBKE3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_KJBKE3/union-info/basic/.dirs/system-data2 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_KJBKE3/union-info/basic/.dirs/data 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_KJBKE3/union-info/basic/.dirs/state 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_KJBKE3/union-info/basic/.dirs/runtime 1006s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1006s # /union-info/basic summary: Test basic properties of GIUnionInfo 1006s ok 1 /union-info/basic 1006s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_KJBKE3/union-info/methods/.dirs/home 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_KJBKE3/union-info/methods/.dirs/cache 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_KJBKE3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_KJBKE3/union-info/methods/.dirs/system-config2 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_KJBKE3/union-info/methods/.dirs/config 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_KJBKE3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_KJBKE3/union-info/methods/.dirs/system-data2 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_KJBKE3/union-info/methods/.dirs/data 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_KJBKE3/union-info/methods/.dirs/state 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_KJBKE3/union-info/methods/.dirs/runtime 1006s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1006s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1006s ok 2 /union-info/methods 1006s # End of union-info tests 1006s ok - glib/union-info.test 1006s # Running test: glib/contenttype.test 1006s TAP version 14 1006s # random seed: R02S4693ab03a9ad28b9a650333ce1f73319 1006s 1..14 1006s # Start of contenttype tests 1006s ok 1 /contenttype/guess 1006s ok 2 /contenttype/guess_svg_from_data 1006s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 1006s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1006s ok 5 /contenttype/unknown 1006s ok 6 /contenttype/subtype 1006s ok - glib/contenttype.test 1006s # Running test: glib/gio-tool.py.test 1006s ok 7 /contenttype/list 1006s ok 8 /contenttype/executable 1006s ok 9 /contenttype/description 1006s ok 10 /contenttype/icon 1006s ok 11 /contenttype/symbolic-icon 1006s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1006s ok 12 /contenttype/tree 1006s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1006s ok 13 /contenttype/tree_invalid_encoding 1006s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1006s ok 14 /contenttype/test_type_is_a_special_case 1006s # End of contenttype tests 1006s TAP version 13 1006s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 1006s # gio: /usr/bin/gio 1006s # tmpdir: /tmp/tmpfac6y87x 1006s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpfac6y87x/folder/desktop.entry'] 1006s # Working Directory: /tmp/tmpfac6y87x/folder 1006s # Return code: 0 1006s # Output: 1006s # /tmp/tmpfac6y87x/folder/desktop.entry 1006s # Error: 1006s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 1006s # gio: /usr/bin/gio 1006s # tmpdir: /tmp/tmp0tvh2r_3 1006s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmp0tvh2r_3/folder/desktop.entry'] 1006s # Working Directory: /tmp/tmp0tvh2r_3 1006s # Return code: 0 1006s # Output: 1006s # /tmp/tmp0tvh2r_3/folder/desktop.entry 1006s # Error: 1006s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 1006s # gio: /usr/bin/gio 1006s # tmpdir: /tmp/tmpk4u5p1z2 1006s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpk4u5p1z2/folder/desktop.entry'] 1006s # Working Directory: /tmp/tmpk4u5p1z2/sibling 1006s # Return code: 0 1006s # Output: 1006s # /tmp/tmpk4u5p1z2/folder/desktop.entry 1006s # Error: 1006s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 1006s # gio: /usr/bin/gio 1006s # tmpdir: /tmp/tmpcyk36dhi 1006s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 1006s # Working Directory: /tmp/tmpcyk36dhi/folder 1006s # Return code: 0 1006s # Output: 1006s # /tmp/tmpcyk36dhi/folder/desktop.entry 1006s # Error: 1006s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 1006s # gio: /usr/bin/gio 1006s # tmpdir: /tmp/tmp6mmd4bkl 1006s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 1006s # Working Directory: /tmp/tmp6mmd4bkl 1006s # Return code: 0 1006s # Output: 1006s # /tmp/tmp6mmd4bkl/folder/desktop.entry 1006s # Error: 1006s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 1006s # gio: /usr/bin/gio 1006s # tmpdir: /tmp/tmp_5_hip5h 1006s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 1006s # Working Directory: /tmp/tmp_5_hip5h/sibling 1006s # Return code: 0 1006s # Output: 1006s # /tmp/tmp_5_hip5h/folder/desktop.entry 1006s # Error: 1006s ok 7 __main__.TestGioTool.test_help 1006s # gio: /usr/bin/gio 1006s # tmpdir: /tmp/tmp4291iprw 1006s # Running: ['/usr/bin/gio', '--help'] 1006s # Return code: 0 1006s # Output: 1006s # Usage: 1006s # gio COMMAND [ARGS…] 1006s # 1006s # Commands: 1006s # help Print help 1006s # version Print version 1006s # cat Concatenate files to standard output 1006s # copy Copy one or more files 1006s # info Show information about locations 1006s # launch Launch an application from a desktop file 1006s # list List the contents of locations 1006s # mime Get or set the handler for a mimetype 1006s # mkdir Create directories 1006s # monitor Monitor files and directories for changes 1006s # mount Mount or unmount the locations 1006s # move Move one or more files 1006s # open Open files with the default application 1006s # rename Rename a file 1006s # remove Delete one or more files 1006s # save Read from standard input and save 1006s # set Set a file attribute 1006s # trash Move files or directories to the trash 1006s # tree Lists the contents of locations in a tree 1006s # 1006s # Use “gio help COMMAND” to get detailed help. 1006s # Error: 1006s # 1006s # Running: ['/usr/bin/gio', 'help'] 1006s # Return code: 0 1006s # Output: 1006s # Usage: 1006s # gio COMMAND [ARGS…] 1006s # 1006s # Commands: 1006s # help Print help 1006s # version Print version 1006s # cat Concatenate files to standard output 1006s # copy Copy one or more files 1006s # info Show information about locations 1006s # launch Launch an application from a desktop file 1006s # list List the contents of locations 1006s # mime Get or set the handler for a mimetype 1006s # mkdir Create directories 1006s # monitor Monitor files and directories for changes 1006s # mount Mount or unmount the locations 1006s # move Move one or more files 1006s # open Open files with the default application 1006s # rename Rename a file 1006s # remove Delete one or more files 1006s # save Read from standard input and save 1006s # set Set a file attribute 1006s # trash Move files or directories to the trash 1006s # tree Lists the contents of locations in a tree 1006s # 1006s # Use “gio help COMMAND” to get detailed help. 1006s # Error: 1006s ok 8 __main__.TestGioTool.test_info_non_default_attributes 1006s # gio: /usr/bin/gio 1006s # tmpdir: /tmp/tmpvrx85v9q 1006s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpvrx85v9q/tmphjpgigs5'] 1006s # Return code: 0 1006s # Output: 1006s # uri: file:///tmp/tmpvrx85v9q/tmphjpgigs5 1006s # local path: /tmp/tmpvrx85v9q/tmphjpgigs5 1006s # unix mount: /dev/vda2[/lxd/containers/autopkgtest-lxd-hzaqks/rootfs] / btrfs rw,relatime,idmapped,discard=async,space_cache=v2,user_subvol_rm_allowed,subvolid=18322,subvol=/lxd/containers/autopkgtest-lxd-hzaqks 1006s # attributes: 1006s # standard::content-type: application/x-zerosize 1006s # Error: 1006s ok 9 __main__.TestGioTool.test_no_args 1006s # gio: /usr/bin/gio 1006s # tmpdir: /tmp/tmpkuvinwe_ 1006s # Running: ['/usr/bin/gio'] 1006s # Return code: 1 1006s # Output: 1006s # 1006s # Error: 1006s # Usage: 1006s # gio COMMAND [ARGS…] 1006s # 1006s # Commands: 1006s # help Print help 1006s # version Print version 1006s # cat Concatenate files to standard output 1006s # copy Copy one or more files 1006s # info Show information about locations 1006s # launch Launch an application from a desktop file 1006s # list List the contents of locations 1006s # mime Get or set the handler for a mimetype 1006s # mkdir Create directories 1006s # monitor Monitor files and directories for changes 1006s # mount Mount or unmount the locations 1006s # move Move one or more files 1006s # open Open files with the default application 1006s # rename Rename a file 1006s # remove Delete one or more files 1006s # save Read from standard input and save 1006s # set Set a file attribute 1006s # trash Move files or directories to the trash 1006s # tree Lists the contents of locations in a tree 1006s # 1006s # Use “gio help COMMAND” to get detailed help. 1006s 1..9 1006s ok - glib/gio-tool.py.test 1006s # Running test: glib/gsubprocess.test 1006s TAP version 14 1006s # random seed: R02S128eb21117d99abd48433fa1da8882bf 1006s 1..84 1006s # Start of gsubprocess tests 1006s ok 1 /gsubprocess/noop 1006s ok 2 /gsubprocess/noop-all-to-null 1006s ok 3 /gsubprocess/noop-no-wait 1006s ok 4 /gsubprocess/noop-stdin-inherit 1006s ok 5 /gsubprocess/search-path 1006s ok 6 /gsubprocess/search-path-from-envp 1008s # Executing: glib/gsubprocess.test 1009s ok 7 /gsubprocess/signal 1009s # slow test /gsubprocess/signal executed in 2.99 secs 1009s ok 8 /gsubprocess/exit1 1009s ok 9 /gsubprocess/echo1 1009s ok 10 /gsubprocess/echo-merged 1009s ok 11 /gsubprocess/cat-utf8 1010s ok 12 /gsubprocess/cat-eof 1010s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1013s # Executing: glib/gsubprocess.test 1013s ok 13 /gsubprocess/multi1 1013s # slow test /gsubprocess/multi1 executed in 3.02 secs 1013s ok 14 /gsubprocess/communicate 1016s ok 15 /gsubprocess/terminate 1016s # slow test /gsubprocess/terminate executed in 2.96 secs 1016s ok 16 /gsubprocess/fail-initialization 1016s ok 17 /gsubprocess/env 1016s ok 18 /gsubprocess/cwd 1016s ok 19 /gsubprocess/launcher-close 1016s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1016s ok 20 /gsubprocess/stdout-file 1016s ok 21 /gsubprocess/stdout-fd 1016s ok 22 /gsubprocess/child-setup 1016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1016s ok 23 /gsubprocess/launcher-environment 1016s # Start of exit1 tests 1016s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1016s ok 24 /gsubprocess/exit1/cancel 1016s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1016s ok 25 /gsubprocess/exit1/cancel_in_cb 1016s # End of exit1 tests 1016s # Start of communicate tests 1016s ok 26 /gsubprocess/communicate/cancelled 1016s ok 27 /gsubprocess/communicate/async 1016s ok 28 /gsubprocess/communicate/utf8 1016s # hello world 1016s ok 29 /gsubprocess/communicate/no-pipes 1016s ok 30 /gsubprocess/communicate/separate-stderr 1016s ok 31 /gsubprocess/communicate/stdout-only 1016s # hello world 1016s ok 32 /gsubprocess/communicate/stderr-only 1016s ok 33 /gsubprocess/communicate/stdout-silence 1016s ok 34 /gsubprocess/communicate/nothing 1016s # Start of async tests 1016s ok 35 /gsubprocess/communicate/async/cancelled 1016s # hello world 1016s ok 36 /gsubprocess/communicate/async/no-pipes 1016s ok 37 /gsubprocess/communicate/async/separate-stderr 1016s ok 38 /gsubprocess/communicate/async/stdout-only 1016s # hello world 1016s ok 39 /gsubprocess/communicate/async/stderr-only 1016s ok 40 /gsubprocess/communicate/async/stdout-silence 1016s # Start of cancelled tests 1016s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 1016s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 1016s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 1016s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 1016s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 1016s # End of cancelled tests 1016s # End of async tests 1016s # Start of utf8 tests 1016s ok 46 /gsubprocess/communicate/utf8/cancelled 1016s ok 47 /gsubprocess/communicate/utf8/async 1016s # hello world 1016s ok 48 /gsubprocess/communicate/utf8/no-pipes 1016s ok 49 /gsubprocess/communicate/utf8/separate-stderr 1016s ok 50 /gsubprocess/communicate/utf8/stdout-only 1016s # hello world 1016s ok 51 /gsubprocess/communicate/utf8/stderr-only 1016s ok 52 /gsubprocess/communicate/utf8/stdout-silence 1016s ok 53 /gsubprocess/communicate/utf8/invalid 1016s # Start of async tests 1016s ok 54 /gsubprocess/communicate/utf8/async/cancelled 1016s # hello world 1016s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 1016s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 1016s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 1016s # hello world 1016s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 1016s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 1016s ok 60 /gsubprocess/communicate/utf8/async/invalid 1016s # Start of cancelled tests 1016s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1016s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1016s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1016s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1016s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1016s # End of cancelled tests 1016s # End of async tests 1016s # Start of cancelled tests 1016s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 1016s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1016s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 1016s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 1016s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1016s # End of cancelled tests 1016s # End of utf8 tests 1016s # Start of cancelled tests 1016s ok 71 /gsubprocess/communicate/cancelled/no-pipes 1016s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 1016s ok 73 /gsubprocess/communicate/cancelled/stdout-only 1016s ok 74 /gsubprocess/communicate/cancelled/stderr-only 1016s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 1016s # End of cancelled tests 1016s # End of communicate tests 1016s # Start of env tests 1016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1016s ok 76 /gsubprocess/env/inherit 1016s # End of env tests 1016s # Start of pass-fd tests 1016s ok 77 /gsubprocess/pass-fd/basic 1016s ok 78 /gsubprocess/pass-fd/empty-child-setup 1016s ok 79 /gsubprocess/pass-fd/inherit-fds 1016s # End of pass-fd tests 1016s # Start of fd-conflation tests 1016s ok 80 /gsubprocess/fd-conflation/basic 1016s ok 81 /gsubprocess/fd-conflation/empty-child-setup 1016s ok 82 /gsubprocess/fd-conflation/inherit-fds 1016s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 1016s # End of fd-conflation tests 1016s # Start of exit-status tests 1016s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1016s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1016s ok 84 /gsubprocess/exit-status/trapped 1016s # End of exit-status tests 1016s # End of gsubprocess tests 1016s ok - glib/gsubprocess.test 1016s # Running test: glib/struct-info.test 1016s TAP version 14 1016s # random seed: R02Sdb59c80ca88a4db77351455647217aaf 1016s 1..4 1016s # Start of struct-info tests 1016s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_WM1UE3/struct-info/field-iterators/.dirs/home 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_WM1UE3/struct-info/field-iterators/.dirs/cache 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_WM1UE3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_WM1UE3/struct-info/field-iterators/.dirs/system-config2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_WM1UE3/struct-info/field-iterators/.dirs/config 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_WM1UE3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_WM1UE3/struct-info/field-iterators/.dirs/system-data2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_WM1UE3/struct-info/field-iterators/.dirs/data 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_WM1UE3/struct-info/field-iterators/.dirs/state 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_WM1UE3/struct-info/field-iterators/.dirs/runtime 1016s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1016s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1016s ok 1 /struct-info/field-iterators 1016s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_WM1UE3/struct-info/sizeof-gvalue/.dirs/home 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_WM1UE3/struct-info/sizeof-gvalue/.dirs/cache 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_WM1UE3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_WM1UE3/struct-info/sizeof-gvalue/.dirs/system-config2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_WM1UE3/struct-info/sizeof-gvalue/.dirs/config 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_WM1UE3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_WM1UE3/struct-info/sizeof-gvalue/.dirs/system-data2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_WM1UE3/struct-info/sizeof-gvalue/.dirs/data 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_WM1UE3/struct-info/sizeof-gvalue/.dirs/state 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_WM1UE3/struct-info/sizeof-gvalue/.dirs/runtime 1016s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1016s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1016s ok 2 /struct-info/sizeof-gvalue 1016s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_WM1UE3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_WM1UE3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_WM1UE3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_WM1UE3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_WM1UE3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_WM1UE3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_WM1UE3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_WM1UE3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_WM1UE3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_WM1UE3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1016s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1016s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1016s ok 3 /struct-info/is-pointer-for-struct-method-arg 1016s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_WM1UE3/struct-info/boxed/.dirs/home 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_WM1UE3/struct-info/boxed/.dirs/cache 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_WM1UE3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_WM1UE3/struct-info/boxed/.dirs/system-config2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_WM1UE3/struct-info/boxed/.dirs/config 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_WM1UE3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_WM1UE3/struct-info/boxed/.dirs/system-data2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_WM1UE3/struct-info/boxed/.dirs/data 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_WM1UE3/struct-info/boxed/.dirs/state 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_WM1UE3/struct-info/boxed/.dirs/runtime 1016s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1016s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1016s ok 4 /struct-info/boxed 1016s # End of struct-info tests 1016s ok - glib/struct-info.test 1016s # Running test: glib/g-file.test 1016s ok - glib/g-file.test 1016s TAP version 14 1016s # random seed: R02Sdbf866fad7aa7060d762aacc1aebf84e 1016s 1..8 1016s # Start of g-file tests 1016s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1016s ok 1 /g-file/test_g_file_new_null 1016s ok 2 /g-file/test_g_file_new_for_path 1016s ok 3 /g-file/test_g_file_new_for_uri 1016s ok 4 /g-file/test_g_file_dup 1016s ok 5 /g-file/test_g_file_get_parse_name_utf8 1016s file:///tmp/test-tmp-glib_g-file.test-XZPUE3 1016s file:///tmp 1016s file:///tmp 1016s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1016s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1016s ok 6 /g-file/test_g_file_new_for_commandline_arg 1016s /dir1 /dir1/dir2/dir3/ 1016s /dir1/ /dir1/dir2/dir3/ 1016s /dir1 /dir1/dir2/dir3 1016s /dir1/ /dir1/dir2/dir3 1016s /tmp/ /something/ 1016s /dir1/dir2 /dir1/ 1016s //dir1/new //dir1/new/dir2/dir3 1016s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 1016s file:///dir1 file:///dir1/dir2/dir3/ 1016s file:///dir1/ file:///dir1/dir2/dir3/ 1016s file:///dir1 file:///dir1/dir2/dir3 1016s file:///dir1/ file:///dir1/dir2/dir3 1016s file:///tmp/ file:///something/ 1016s file:///dir1/dir2 file:///dir1/ 1016s file:////dir1/new file:////dir1/new/dir2/dir3 1016s 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 1016s ok 7 /g-file/test_g_file_has_prefix 1016s ok 8 /g-file/test_g_file_get_parent_child 1016s # End of g-file tests 1016s # Running test: glib/testing.test 1016s TAP version 14 1016s # random seed: R02S400923aec9611562efbf59011871be0b 1016s 1..1 1016s # Start of assert tests 1016s ok - glib/testing.test 1016s # Running test: glib/option-context.test 1016s ok 1 /assert/finalize_object 1016s # Start of finalize_object tests 1016s # Start of subprocess tests 1016s # End of subprocess tests 1016s # End of finalize_object tests 1016s # End of assert tests 1016s TAP version 14 1016s # random seed: R02S6d7d63b5dd94bc11eb76cf947bca1252 1016s 1..59 1016s # Start of option tests 1016s ok 1 /option/basic 1016s ok 2 /option/translate 1016s ok 3 /option/strict-posix 1016s # Testing command: program --double abc 1016s # Testing command: program --double 2e309 1016s # Testing command: program --int abc 1016s # Testing command: program --int 99999999999999999999999999999999999 1016s # Testing command: program --int64 abc 1016s # Testing command: program --int64 99999999999999999999999999999999999 1016s ok 4 /option/parsing-errors 1016s # Start of help tests 1016s ok 5 /option/help/options 1016s ok 6 /option/help/no-options 1016s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1016s ok 7 /option/help/no-help-options 1016s # Usage: 1016s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 1016s # 1016s # Summary 1016s # 1016s # Help Options: 1016s # -h, --help Show help options 1016s # 1016s # Application Options: 1016s # -t, --test=Argument to use in test (deprecated) Test tests 1016s # --test2 Tests also 1016s # 1016s # Description 1016s # 1016s ok 8 /option/help/deprecated 1016s # End of help tests 1016s # Start of group tests 1016s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1016s ok 9 /option/group/captions 1016s ok 10 /option/group/main 1016s ok 11 /option/group/error-hook 1016s ok 12 /option/group/parse 1016s # Start of captions tests 1016s # Start of subprocess tests 1016s # End of subprocess tests 1016s # End of captions tests 1016s # End of group tests 1016s # Start of restoration tests 1016s ok 13 /option/restoration/int 1016s ok 14 /option/restoration/string 1016s ok 15 /option/restoration/boolean 1016s # End of restoration tests 1016s # Start of arg tests 1016s ok 16 /option/arg/reverse-string 1016s ok 17 /option/arg/optional-int 1016s # Start of repetition tests 1016s ok 18 /option/arg/repetition/int 1016s ok 19 /option/arg/repetition/string 1016s ok 20 /option/arg/repetition/filename 1016s ok 21 /option/arg/repetition/double 1016s ok 22 /option/arg/repetition/locale 1016s ok 23 /option/arg/repetition/int64 1016s # End of repetition tests 1016s # Start of array tests 1016s ok 24 /option/arg/array/string 1016s # End of array tests 1016s # Start of callback tests 1016s ok 25 /option/arg/callback/string 1016s ok 26 /option/arg/callback/count 1016s ok 27 /option/arg/callback/optional1 1016s ok 28 /option/arg/callback/optional2 1016s ok 29 /option/arg/callback/optional3 1016s ok 30 /option/arg/callback/optional4 1016s ok 31 /option/arg/callback/optional5 1016s ok 32 /option/arg/callback/optional6 1016s ok 33 /option/arg/callback/optional7 1016s ok 34 /option/arg/callback/optional8 1016s # End of callback tests 1016s # Start of remaining tests 1016s ok 35 /option/arg/remaining/callback 1016s ok 36 /option/arg/remaining/callback-false 1016s ok 37 /option/arg/remaining/non-option 1016s ok 38 /option/arg/remaining/separator 1016s ok 39 /option/arg/remaining/array 1016s # End of remaining tests 1016s # Start of ignore tests 1016s ok 40 /option/arg/ignore/long 1016s ok 41 /option/arg/ignore/short 1016s ok 42 /option/arg/ignore/arg 1016s # End of ignore tests 1016s # Start of rest tests 1016s ok 43 /option/arg/rest/non-option 1016s ok 44 /option/arg/rest/separator1 1016s ok 45 /option/arg/rest/separator2 1016s ok 46 /option/arg/rest/separator3 1016s ok 47 /option/arg/rest/separator4 1016s ok 48 /option/arg/rest/separator5 1016s # End of rest tests 1016s # End of arg tests 1016s # Start of context tests 1016s ok 49 /option/context/add 1016s ok 50 /option/context/empty2 1016s ok 51 /option/context/empty3 1016s # End of context tests 1016s # Start of bug tests 1016s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1016s ok 52 /option/bug/unknown-short 1016s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1016s ok 53 /option/bug/lonely-dash 1016s ok 54 /option/bug/triple-dash 1016s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1016s ok 55 /option/bug/missing-arg 1016s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1016s ok 56 /option/bug/dash-arg 1016s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1016s ok 57 /option/bug/short-remaining 1016s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1016s ok 58 /option/bug/double-free 1016s ok 59 /option/bug/double-zero 1016s # End of bug tests 1016s # End of option tests 1016s ok - glib/option-context.test 1016s # Running test: glib/sandbox.test 1016s TAP version 14 1016s # random seed: R02Sc3dd3b448d7f2a59775f6c962052e857 1016s 1..4 1016s # Start of sandbox tests 1016s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_7LHTE3/sandbox/none/.dirs/home 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_7LHTE3/sandbox/none/.dirs/cache 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_7LHTE3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_7LHTE3/sandbox/none/.dirs/system-config2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_7LHTE3/sandbox/none/.dirs/config 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_7LHTE3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_7LHTE3/sandbox/none/.dirs/system-data2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_7LHTE3/sandbox/none/.dirs/data 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_7LHTE3/sandbox/none/.dirs/state 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_7LHTE3/sandbox/none/.dirs/runtime 1016s ok 1 /sandbox/none 1016s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_7LHTE3/sandbox/snap/.dirs/home 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_7LHTE3/sandbox/snap/.dirs/cache 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_7LHTE3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_7LHTE3/sandbox/snap/.dirs/system-config2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_7LHTE3/sandbox/snap/.dirs/config 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_7LHTE3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_7LHTE3/sandbox/snap/.dirs/system-data2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_7LHTE3/sandbox/snap/.dirs/data 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_7LHTE3/sandbox/snap/.dirs/state 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_7LHTE3/sandbox/snap/.dirs/runtime 1016s # Created snap.yaml in /tmp/test_sandbox_7LHTE3/snap/current/meta/snap.yaml 1016s ok 2 /sandbox/snap 1016s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_7LHTE3/sandbox/classic-snap/.dirs/home 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_7LHTE3/sandbox/classic-snap/.dirs/cache 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_7LHTE3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_7LHTE3/sandbox/classic-snap/.dirs/system-config2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_7LHTE3/sandbox/classic-snap/.dirs/config 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_7LHTE3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_7LHTE3/sandbox/classic-snap/.dirs/system-data2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_7LHTE3/sandbox/classic-snap/.dirs/data 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_7LHTE3/sandbox/classic-snap/.dirs/state 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_7LHTE3/sandbox/classic-snap/.dirs/runtime 1016s # Created snap.yaml in /tmp/test_sandbox_7LHTE3/snap/current/meta/snap.yaml 1016s ok 3 /sandbox/classic-snap 1016s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_7LHTE3/sandbox/flatpak/.dirs/home 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_7LHTE3/sandbox/flatpak/.dirs/cache 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_7LHTE3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_7LHTE3/sandbox/flatpak/.dirs/system-config2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_7LHTE3/sandbox/flatpak/.dirs/config 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_7LHTE3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_7LHTE3/sandbox/flatpak/.dirs/system-data2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_7LHTE3/sandbox/flatpak/.dirs/data 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_7LHTE3/sandbox/flatpak/.dirs/state 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_7LHTE3/sandbox/flatpak/.dirs/runtime 1016s # Creating .flatpak-info in /tmp/test_sandbox_7LHTE3/sandbox/flatpak/.dirs/runtime/.flatpak-info 1016s ok 4 /sandbox/flatpak 1016s # End of sandbox tests 1016s ok - glib/sandbox.test 1016s # Running test: glib/notify-init2.test 1016s TAP version 14 1016s # random seed: R02S8ea36cafc98ecc95f23771c272b65ee4 1016s 1..1 1016s # Start of properties tests 1016s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1016s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1016s ok 1 /properties/notify-in-init2 1016s # End of properties tests 1016s ok - glib/notify-init2.test 1016s # Running test: glib/mappedfile.test 1016s TAP version 14 1016s # random seed: R02Sfbf00892a7ec3a57d8feeb2f0681b8a0 1016s 1..7 1016s # Start of mappedfile tests 1016s ok 1 /mappedfile/basic 1016s ok 2 /mappedfile/empty 1016s ok 3 /mappedfile/device 1016s ok 4 /mappedfile/nonexisting 1016s ok 5 /mappedfile/writable 1016s ok 6 /mappedfile/writable_fd 1016s ok 7 /mappedfile/gbytes 1016s # End of mappedfile tests 1016s TAP version 14 1016s # random seed: R02S9b17d3e9b2dfcde91a701a14a9f5d177 1016s 1..9 1016s # Start of unix-streams tests 1016s ok 1 /unix-streams/basic 1016s ok - glib/mappedfile.test 1016s # Running test: glib/unix-streams.test 1017s ok 2 /unix-streams/pipe-io-test 1017s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1017s ok 3 /unix-streams/nonblocking-io-test 1017s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1017s ok 4 /unix-streams/read_write 1017s ok 5 /unix-streams/read_writev 1017s ok 6 /unix-streams/write-wouldblock 1017s ok 7 /unix-streams/writev-wouldblock 1017s ok 8 /unix-streams/write-async-wouldblock 1017s ok 9 /unix-streams/writev-async-wouldblock 1017s # End of unix-streams tests 1017s ok - glib/unix-streams.test 1017s # Running test: glib/properties-refcount1.test 1017s TAP version 14 1017s # random seed: R02Sad7a96dcbeb4d089d364f61e33078966 1017s 1..1 1017s # Start of gobject tests 1017s # Start of refcount tests 1017s # .c 1017s # .b 1017s # .e 1017s # .f 1018s # .d 1018s # .c 1018s # .b 1018s # .e 1018s # .f 1018s # .d 1018s # .c 1018s # .b 1018s # .e 1018s # .f 1018s # .c 1018s # .b 1018s # .d 1018s # .e 1018s # .f 1018s # .c 1018s # .b 1018s # Executing: glib/properties-refcount1.test 1018s # .d 1018s # .c 1018s # .e 1018s # .b 1018s # .f 1018s # .d 1018s # .c 1018s # .b 1018s # .e 1018s # .f 1018s # .b 1018s # .c 1018s # .d 1018s # .e 1018s # .f 1018s # .b 1018s # .c 1018s # .d 1018s # .e 1018s # .f 1019s # .b 1019s # .c 1019s # .e 1019s # .f 1019s # .b 1019s # .d 1019s # .c 1019s # .b 1019s # .c 1019s # .e 1019s # .f 1019s # .d 1019s # .b 1019s # .c 1019s # .e 1019s # .f 1019s # .d 1019s # .b 1019s # .c 1019s # .e 1019s # .f 1019s # .b 1019s # .d 1019s # .c 1019s # .b 1019s # .e 1019s # .f 1019s # .c 1019s # .d 1019s # .b 1019s # .e 1019s # .c 1019s # .f 1019s # .d 1019s # .b 1019s # .e 1019s # .c 1020s # .f 1020s # .b 1020s # .d 1020s # .c 1020s # .e 1020s # .f 1020s # .b 1020s # .d 1020s # .e 1020s # .b 1020s # .f 1020s # .c 1020s # .d 1020s # .e 1020s # .c 1020s # .b 1020s # .f 1020s # .d 1020s # .e 1020s # .c 1020s # .f 1020s # .d 1020s # .b 1020s # .e 1020s ok 1 /gobject/refcount/properties-1 1020s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1020s # End of refcount tests 1020s # End of gobject tests 1020s ok - glib/properties-refcount1.test 1020s # Running test: glib/gdatetime.test 1020s TAP version 14 1020s # random seed: R02S49a12a6ad2fb635234429abf8e79f2f0 1020s 1..68 1020s # Start of GDateTime tests 1020s # Bug Reference: http://bugzilla.gnome.org/702674 1020s ok 1 /GDateTime/invalid 1020s ok 2 /GDateTime/add_days 1020s ok 3 /GDateTime/add_full 1020s ok 4 /GDateTime/add_hours 1020s ok 5 /GDateTime/add_minutes 1020s ok 6 /GDateTime/add_months 1020s ok 7 /GDateTime/add_seconds 1020s ok 8 /GDateTime/add_weeks 1020s ok 9 /GDateTime/add_years 1020s ok 10 /GDateTime/compare 1020s ok 11 /GDateTime/diff 1020s ok 12 /GDateTime/equal 1020s ok 13 /GDateTime/get_day_of_week 1020s ok 14 /GDateTime/get_day_of_month 1020s ok 15 /GDateTime/get_day_of_year 1020s ok 16 /GDateTime/get_hour 1020s ok 17 /GDateTime/get_microsecond 1020s ok 18 /GDateTime/get_minute 1020s ok 19 /GDateTime/get_month 1020s ok 20 /GDateTime/get_second 1020s ok 21 /GDateTime/get_utc_offset 1020s ok 22 /GDateTime/get_year 1020s ok 23 /GDateTime/hash 1020s ok 24 /GDateTime/new_from_unix 1020s ok 25 /GDateTime/new_from_unix_utc 1020s ok 26 /GDateTime/new_from_timeval 1020s ok 27 /GDateTime/new_from_timeval_utc 1020s ok 28 /GDateTime/new_from_iso8601 1020s ok 29 /GDateTime/new_full 1020s ok 30 /GDateTime/now 1020s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1020s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1020s # %a -> expected: Sat 1020s # %a -> actual: Sat 1020s # %A -> expected: Saturday 1020s # %A -> actual: Saturday 1020s # %b -> expected: Oct 1020s # %b -> actual: Oct 1020s # %B -> expected: October 1020s # %B -> actual: October 1020s # %d -> expected: 24 1020s # %d -> actual: 24 1020s # %d -> expected: 01 1020s # %d -> actual: 01 1020s # %e -> expected: 24 1020s # %e -> actual: 24 1020s # %e -> expected:  1 1020s # %e -> actual:  1 1020s # %f -> expected: 001000 1020s # %f -> actual: 001000 1020s # %h -> expected: Oct 1020s # %h -> actual: Oct 1020s # %H -> expected: 00 1020s # %H -> actual: 00 1020s # %H -> expected: 15 1020s # %H -> actual: 15 1020s # %I -> expected: 12 1020s # %I -> actual: 12 1020s # %I -> expected: 12 1020s # %I -> actual: 12 1020s # %I -> expected: 03 1020s # %I -> actual: 03 1020s # %j -> expected: 297 1020s # %j -> actual: 297 1020s # %k -> expected:  0 1020s # %k -> actual:  0 1020s # %k -> expected: 13 1020s # %k -> actual: 13 1020s # %l -> expected: 12 1020s # %l -> actual: 12 1020s # %I -> expected: 12 1020s # %I -> actual: 12 1020s # %l -> expected:  1 1020s # %l -> actual:  1 1020s # %l -> expected: 10 1020s # %l -> actual: 10 1020s # %m -> expected: 10 1020s # %m -> actual: 10 1020s # %M -> expected: 00 1020s # %M -> actual: 00 1020s # %p -> expected: AM 1020s # %p -> actual: AM 1020s # %p -> expected: PM 1020s # %p -> actual: PM 1020s # %P -> expected: am 1020s # %P -> actual: am 1020s # %P -> expected: pm 1020s # %P -> actual: pm 1020s # %r -> expected: 12:00:00 AM 1020s # %r -> actual: 12:00:00 AM 1020s # %r -> expected: 01:13:13 PM 1020s # %r -> actual: 01:13:13 PM 1020s # %R -> expected: 00:00 1020s # %R -> actual: 00:00 1020s # %R -> expected: 13:13 1020s # %R -> actual: 13:13 1020s # %S -> expected: 00 1020s # %S -> actual: 00 1020s # %t -> expected: 1020s # %t -> actual: 1020s # %u -> expected: 6 1020s # %u -> actual: 6 1020s # %x -> expected: 10/24/09 1020s # %x -> actual: 10/24/09 1020s # %X -> expected: 00:00:00 1020s # %X -> actual: 00:00:00 1020s # %X -> expected: 13:14:15 1020s # %X -> actual: 13:14:15 1020s # %y -> expected: 09 1020s # %y -> actual: 09 1020s # %Y -> expected: 2009 1020s # %Y -> actual: 2009 1020s # %% -> expected: % 1020s # %% -> actual: % 1020s # % -> expected: 1020s # % -> actual: 1020s # %9 -> expected: (null) 1020s # %9 -> actual: (null) 1020s # %Z -> expected: UTC 1020s # %Z -> actual: UTC 1020s # %#Z %Z -> expected: utc UTC 1020s # %#Z %Z -> actual: utc UTC 1020s ok 32 /GDateTime/printf 1020s # %a -> expected: 土 1020s # %a -> actual: 土 1020s # %A -> expected: 土曜日 1020s # %A -> actual: 土曜日 1020s # %b -> expected: 10月 1020s # %b -> actual: 10月 1020s # %B -> expected: 10月 1020s # %B -> actual: 10月 1020s # %c -> expected: 2009年10月24日 00時00分00秒 1020s # %c -> actual: 2009年10月24日 00時00分00秒 1020s # %C -> expected: 20 1020s # %C -> actual: 20 1020s # %d -> expected: 24 1020s # %d -> actual: 24 1020s # %d -> expected: 01 1020s # %d -> actual: 01 1020s # %e -> expected: 24 1020s # %e -> actual: 24 1020s # %h -> expected: 10月 1020s # %h -> actual: 10月 1020s # %H -> expected: 00 1020s # %H -> actual: 00 1020s # %H -> expected: 15 1020s # %H -> actual: 15 1020s # %I -> expected: 12 1020s # %I -> actual: 12 1020s # %I -> expected: 12 1020s # %I -> actual: 12 1020s # %I -> expected: 03 1020s # %I -> actual: 03 1020s # %j -> expected: 297 1020s # %j -> actual: 297 1020s # %k -> expected:  0 1020s # %k -> actual:  0 1020s # %k -> expected: 13 1020s # %k -> actual: 13 1020s # %l -> expected: 12 1020s # %l -> actual: 12 1020s # %I -> expected: 12 1020s # %I -> actual: 12 1020s # %l -> expected:  1 1020s # %l -> actual:  1 1020s # %l -> expected: 10 1020s # %l -> actual: 10 1020s # %m -> expected: 10 1020s # %m -> actual: 10 1020s # %M -> expected: 00 1020s # %M -> actual: 00 1020s # %p -> expected: 午前 1020s # %p -> actual: 午前 1020s # %p -> expected: 午後 1020s # %p -> actual: 午後 1020s # %P -> expected: 午前 1020s # %P -> actual: 午前 1020s # %P -> expected: 午後 1020s # %P -> actual: 午後 1020s # %r -> expected: 午前12時00分00秒 1020s # %r -> actual: 午前12時00分00秒 1020s # %r -> expected: 午後01時13分13秒 1020s # %r -> actual: 午後01時13分13秒 1020s # %R -> expected: 00:00 1020s # %R -> actual: 00:00 1020s # %R -> expected: 13:13 1020s # %R -> actual: 13:13 1020s # %S -> expected: 00 1020s # %S -> actual: 00 1020s # %t -> expected: 1020s # %t -> actual: 1020s # %u -> expected: 6 1020s # %u -> actual: 6 1020s # %x -> expected: 2009年10月24日 1020s # %x -> actual: 2009年10月24日 1020s # %X -> expected: 00時00分00秒 1020s # %X -> actual: 00時00分00秒 1020s # %X -> expected: 13時14分15秒 1020s # %X -> actual: 13時14分15秒 1020s # %y -> expected: 09 1020s # %y -> actual: 09 1020s # %Y -> expected: 2009 1020s # %Y -> actual: 2009 1020s # %% -> expected: % 1020s # %% -> actual: % 1020s # % -> expected: 1020s # % -> actual: 1020s # %9 -> expected: (null) 1020s # %9 -> actual: (null) 1020s # %Ec -> expected: 平成21年10月24日 00時00分00秒 1020s # %Ec -> actual: 平成21年10月24日 00時00分00秒 1020s # %EC -> expected: 平成 1020s # %EC -> actual: 平成 1020s # %Ex -> expected: 平成21年10月24日 1020s # %Ex -> actual: 平成21年10月24日 1020s # %EX -> expected: 00時00分00秒 1020s # %EX -> actual: 00時00分00秒 1020s # %Ey -> expected: 21 1020s # %Ey -> actual: 21 1020s # %EY -> expected: 平成21年 1020s # %EY -> actual: 平成21年 1020s ok 33 /GDateTime/non_utf8_printf 1020s # ąśćł -> expected: ąśćł 1020s # ąśćł -> actual: ąśćł 1020s # %H∶%M -> expected: 23∶15 1020s # %H∶%M -> actual: 23∶15 1020s # %H∶%M -> expected: 23∶15 1020s # %H∶%M -> actual: 23∶15 1020s ok 34 /GDateTime/format_unrepresentable 1020s ok 35 /GDateTime/format_iso8601 1021s ok 36 /GDateTime/strftime 1021s # %d -> expected: 01 1021s # %d -> actual: 01 1021s # %_d -> expected: 1 1021s # %_d -> actual: 1 1021s # %-d -> expected: 1 1021s # %-d -> actual: 1 1021s # %0d -> expected: 01 1021s # %0d -> actual: 01 1021s # %d -> expected: 21 1021s # %d -> actual: 21 1021s # %_d -> expected: 21 1021s # %_d -> actual: 21 1021s # %-d -> expected: 21 1021s # %-d -> actual: 21 1021s # %0d -> expected: 21 1021s # %0d -> actual: 21 1021s # %e -> expected:  1 1021s # %e -> actual:  1 1021s # %_e -> expected: 1 1021s # %_e -> actual: 1 1021s # %-e -> expected: 1 1021s # %-e -> actual: 1 1021s # %0e -> expected: 01 1021s # %0e -> actual: 01 1021s # %e -> expected: 21 1021s # %e -> actual: 21 1021s # %_e -> expected: 21 1021s # %_e -> actual: 21 1021s # %-e -> expected: 21 1021s # %-e -> actual: 21 1021s # %0e -> expected: 21 1021s # %0e -> actual: 21 1021s # %a -> expected: Thu 1021s # %a -> actual: Thu 1021s # %^a -> expected: THU 1021s # %^a -> actual: THU 1021s # %#a -> expected: THU 1021s # %#a -> actual: THU 1021s # %A -> expected: Thursday 1021s # %A -> actual: Thursday 1021s # %^A -> expected: THURSDAY 1021s # %^A -> actual: THURSDAY 1021s # %#A -> expected: THURSDAY 1021s # %#A -> actual: THURSDAY 1021s # %b -> expected: Jan 1021s # %b -> actual: Jan 1021s # %^b -> expected: JAN 1021s # %^b -> actual: JAN 1021s # %#b -> expected: JAN 1021s # %#b -> actual: JAN 1021s # %B -> expected: January 1021s # %B -> actual: January 1021s # %^B -> expected: JANUARY 1021s # %^B -> actual: JANUARY 1021s # %#B -> expected: JANUARY 1021s # %#B -> actual: JANUARY 1021s # %h -> expected: Jan 1021s # %h -> actual: Jan 1021s # %^h -> expected: JAN 1021s # %^h -> actual: JAN 1021s # %#h -> expected: JAN 1021s # %#h -> actual: JAN 1021s # %Z -> expected: UTC 1021s # %Z -> actual: UTC 1021s # %^Z -> expected: UTC 1021s # %^Z -> actual: UTC 1021s # %#Z -> expected: utc 1021s # %#Z -> actual: utc 1021s # %H -> expected: 01 1021s # %H -> actual: 01 1021s # %_H -> expected: 1 1021s # %_H -> actual: 1 1021s # %-H -> expected: 1 1021s # %-H -> actual: 1 1021s # %0H -> expected: 01 1021s # %0H -> actual: 01 1021s # %H -> expected: 21 1021s # %H -> actual: 21 1021s # %_H -> expected: 21 1021s # %_H -> actual: 21 1021s # %-H -> expected: 21 1021s # %-H -> actual: 21 1021s # %0H -> expected: 21 1021s # %0H -> actual: 21 1021s # %I -> expected: 01 1021s # %I -> actual: 01 1021s # %_I -> expected: 1 1021s # %_I -> actual: 1 1021s # %-I -> expected: 1 1021s # %-I -> actual: 1 1021s # %0I -> expected: 01 1021s # %0I -> actual: 01 1021s # %I -> expected: 11 1021s # %I -> actual: 11 1021s # %_I -> expected: 11 1021s # %_I -> actual: 11 1021s # %-I -> expected: 11 1021s # %-I -> actual: 11 1021s # %0I -> expected: 11 1021s # %0I -> actual: 11 1021s # %k -> expected:  1 1021s # %k -> actual:  1 1021s # %_k -> expected: 1 1021s # %_k -> actual: 1 1021s # %-k -> expected: 1 1021s # %-k -> actual: 1 1021s # %0k -> expected: 01 1021s # %0k -> actual: 01 1021s # %l -> expected:  1 1021s # %l -> actual:  1 1021s # %_l -> expected: 1 1021s # %_l -> actual: 1 1021s # %-l -> expected: 1 1021s # %-l -> actual: 1 1021s # %0l -> expected: 01 1021s # %0l -> actual: 01 1021s # %l -> expected: 11 1021s # %l -> actual: 11 1021s # %_l -> expected: 11 1021s # %_l -> actual: 11 1021s # %-l -> expected: 11 1021s # %-l -> actual: 11 1021s # %0l -> expected: 11 1021s # %0l -> actual: 11 1021s # %p -> expected: AM 1021s # %p -> actual: AM 1021s # %^p -> expected: AM 1021s # %^p -> actual: AM 1021s # %#p -> expected: am 1021s # %#p -> actual: am 1021s # %P -> expected: am 1021s # %P -> actual: am 1021s # %^P -> expected: AM 1021s # %^P -> actual: AM 1021s # %#P -> expected: am 1021s # %#P -> actual: am 1021s # %OH -> expected: ۲۳ 1021s # %OH -> actual: ۲۳ 1021s # %OI -> expected: ۱۱ 1021s # %OI -> actual: ۱۱ 1021s # %OM -> expected: ۰۰ 1021s # %OM -> actual: ۰۰ 1021s # %Om -> expected: ۰۷ 1021s # %Om -> actual: ۰۷ 1021s # %0Om -> expected: ۰۷ 1021s # %0Om -> actual: ۰۷ 1021s # %-Om -> expected: ۷ 1021s # %-Om -> actual: ۷ 1021s # %_Om -> expected: ۷ 1021s # %_Om -> actual: ۷ 1021s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1021s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1021s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1021s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1021s # %C -> expected: 20 1021s # %C -> actual: 20 1021s # %EC -> expected: 20 1021s # %EC -> actual: 20 1021s # %x -> expected: 02/01/09 1021s # %x -> actual: 02/01/09 1021s # %Ex -> expected: 02/01/09 1021s # %Ex -> actual: 02/01/09 1021s # %X -> expected: 01:02:03 1021s # %X -> actual: 01:02:03 1021s # %EX -> expected: 01:02:03 1021s # %EX -> actual: 01:02:03 1021s # %y -> expected: 09 1021s # %y -> actual: 09 1021s # %Ey -> expected: 09 1021s # %Ey -> actual: 09 1021s # %Y -> expected: 2009 1021s # %Y -> actual: 2009 1021s # %EY -> expected: 2009 1021s # %EY -> actual: 2009 1021s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1021s # Bug Reference: http://bugzilla.gnome.org/749206 1021s # %B -> expected: January 1021s # %B -> actual: January 1021s # %OB -> expected: February 1021s # %OB -> actual: February 1021s # %b -> expected: Mar 1021s # %b -> actual: Mar 1021s # %Ob -> expected: Apr 1021s # %Ob -> actual: Apr 1021s # %h -> expected: May 1021s # %h -> actual: May 1021s # %Oh -> expected: Jun 1021s # %Oh -> actual: Jun 1021s # %B -> expected: Juli 1021s # %B -> actual: Juli 1021s # %OB -> expected: August 1021s # %OB -> actual: August 1021s # %b -> expected: Sep 1021s # %b -> actual: Sep 1021s # %Ob -> expected: Okt 1021s # %Ob -> actual: Okt 1021s # %h -> expected: Nov 1021s # %h -> actual: Nov 1021s # %Oh -> expected: Dez 1021s # %Oh -> actual: Dez 1021s # %B -> expected: enero 1021s # %B -> actual: enero 1021s # %OB -> expected: febrero 1021s # %OB -> actual: febrero 1021s # %b -> expected: mar 1021s # %b -> actual: mar 1021s # %Ob -> expected: abr 1021s # %Ob -> actual: abr 1021s # %h -> expected: may 1021s # %h -> actual: may 1021s # %Oh -> expected: jun 1021s # %Oh -> actual: jun 1021s # %B -> expected: juillet 1021s # %B -> actual: juillet 1021s # %OB -> expected: août 1021s # %OB -> actual: août 1021s # %b -> expected: sept. 1021s # %b -> actual: sept. 1021s # %Ob -> expected: oct. 1021s # %Ob -> actual: oct. 1021s # %h -> expected: nov. 1021s # %h -> actual: nov. 1021s # %Oh -> expected: déc. 1021s # %Oh -> actual: déc. 1021s # %B -> expected: Ιανουαρίου 1021s # %B -> actual: Ιανουαρίου 1021s # %B -> expected: Φεβρουαρίου 1021s # %B -> actual: Φεβρουαρίου 1021s # %B -> expected: Μαρτίου 1021s # %B -> actual: Μαρτίου 1021s # %OB -> expected: Απρίλιος 1021s # %OB -> actual: Απρίλιος 1021s # %OB -> expected: Μάιος 1021s # %OB -> actual: Μάιος 1021s # %OB -> expected: Ιούνιος 1021s # %OB -> actual: Ιούνιος 1021s # %b -> expected: Ιουλ 1021s # %b -> actual: Ιουλ 1021s # %Ob -> expected: Αύγ 1021s # %Ob -> actual: Αύγ 1021s # %B -> expected: svibnja 1021s # %B -> actual: svibnja 1021s # %B -> expected: lipnja 1021s # %B -> actual: lipnja 1021s # %B -> expected: srpnja 1021s # %B -> actual: srpnja 1021s # %OB -> expected: Kolovoz 1021s # %OB -> actual: kolovoz 1021s # %OB -> expected: Rujan 1021s # %OB -> actual: rujan 1021s # %OB -> expected: Listopad 1021s # %OB -> actual: listopad 1021s # %b -> expected: Stu 1021s # %b -> actual: stu 1021s # %Ob -> expected: Pro 1021s # %Ob -> actual: pro 1021s # %B -> expected: sausio 1021s # %B -> actual: sausio 1021s # %B -> expected: vasario 1021s # %B -> actual: vasario 1021s # %B -> expected: kovo 1021s # %B -> actual: kovo 1021s # %OB -> expected: balandis 1021s # %OB -> actual: balandis 1021s # %OB -> expected: gegužė 1021s # %OB -> actual: gegužė 1021s # %OB -> expected: birželis 1021s # %OB -> actual: birželis 1021s # %b -> expected: liep. 1021s # %b -> actual: liep. 1021s # %Ob -> expected: rugp. 1021s # %Ob -> actual: rugp. 1021s # %B -> expected: maja 1021s # %B -> actual: maja 1021s # %B -> expected: czerwca 1021s # %B -> actual: czerwca 1021s # %B -> expected: lipca 1021s # %B -> actual: lipca 1021s # %OB -> expected: sierpień 1021s # %OB -> actual: sierpień 1021s # %OB -> expected: wrzesień 1021s # %OB -> actual: wrzesień 1021s # %OB -> expected: październik 1021s # %OB -> actual: październik 1021s # %b -> expected: lis 1021s # %b -> actual: lis 1021s # %Ob -> expected: gru 1021s # %Ob -> actual: gru 1021s # %B -> expected: января 1021s # %B -> actual: января 1021s # %B -> expected: февраля 1021s # %B -> actual: февраля 1021s # %B -> expected: марта 1021s # %B -> actual: марта 1021s # %OB -> expected: Апрель 1021s # %OB -> actual: Апрель 1021s # %OB -> expected: Май 1021s # %OB -> actual: Май 1021s # %OB -> expected: Июнь 1021s # %OB -> actual: Июнь 1021s # %b -> expected: июл 1021s # %b -> actual: июл 1021s # %Ob -> expected: авг 1021s # %Ob -> actual: авг 1021s # %b -> expected: мая 1021s # %b -> actual: мая 1021s # %Ob -> expected: май 1021s # %Ob -> actual: май 1021s ok 38 /GDateTime/month_names 1021s ok 39 /GDateTime/to_local 1021s ok 40 /GDateTime/to_unix 1021s ok 41 /GDateTime/to_timeval 1021s ok 42 /GDateTime/to_utc 1021s ok 43 /GDateTime/now_utc 1021s ok 44 /GDateTime/dst 1021s # Bug Reference: http://bugzilla.gnome.org/642935 1021s ok 45 /GDateTime/test_z 1022s ok 46 /GDateTime/test-all-dates 1022s # slow test /GDateTime/test-all-dates executed in 1.62 secs 1022s ok 47 /GDateTime/unix_usec 1022s # Start of new_from_unix tests 1022s # Bug Reference: http://bugzilla.gnome.org/782089 1022s ok 48 /GDateTime/new_from_unix/overflow 1022s # End of new_from_unix tests 1022s # Start of new_from_timeval tests 1022s # Bug Reference: http://bugzilla.gnome.org/782089 1022s # Maximum supported GTimeVal.tv_sec = 2147483647 1022s ok 49 /GDateTime/new_from_timeval/overflow 1022s # End of new_from_timeval tests 1022s # Start of new_from_iso8601 tests 1022s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1022s # Vector 0: 1990-11-01T10:21:17Z 1022s # Vector 1: 19901101T102117Z 1022s # Vector 2: 1970-01-01T00:00:17.12Z 1022s # Vector 3: 1970-01-01T00:00:17.1234Z 1022s # Vector 4: 1970-01-01T00:00:17.123456Z 1022s # Vector 5: 1980-02-22T12:36:00+02:00 1022s # Vector 6: 1990-12-31T15:59:60-08:00 1022s # Vector 7: 1022s # Vector 8: x 1022s # Vector 9: 123x 1022s # Vector 10: 2001-10+x 1022s # Vector 11: 1980-02-22T 1022s # Vector 12: 2001-10-08Tx 1022s # Vector 13: 2001-10-08T10:11x 1022s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1022s # Vector 15: 1980-02-22T10:36:00Zulu 1022s # Vector 16: 2T0+819855292164632335 1022s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1022s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1022s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1022s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1022s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1022s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1022s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1022s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1022s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1022s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1022s # Vector 27: 20180803T140805.446178377+0100 1022s # Vector 28: 21474836480803T140805.446178377+0100 1022s # Vector 29: 20181303T140805.446178377+0100 1022s # Vector 30: 20180003T140805.446178377+0100 1022s # Vector 31: 20180800T140805.446178377+0100 1022s # Vector 32: 20180832T140805.446178377+0100 1022s # Vector 33: 20180803T240805.446178377+0100 1022s # Vector 34: 20180803T146005.446178377+0100 1022s # Vector 35: 20180803T140863.446178377+0100 1022s # Vector 36: 20180803T140805.446178377+10000 1022s # Vector 37: -0005-01-01T00:00:00Z 1022s # Vector 38: 2018-08-06 1022s # Vector 39: 20180803T140805,446178377+0100 1022s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1022s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1022s # Vector 42: 1990-11-01T10:21:17 1022s # Vector 43: 1719W462 407777-07 1022s # Vector 44: 4011090 260528Z 1022s # Vector 45: 0000W011 228214-22 1022s ok 50 /GDateTime/new_from_iso8601/2 1022s # End of new_from_iso8601 tests 1022s # Start of format_mixed tests 1022s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1022s # %b -> expected: mar 1022s # %b -> actual: Mar 1022s # %B -> expected: march 1022s # %B -> actual: March 1022s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1022s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1022s # %b -> expected: mar 1022s # %b -> actual: Mar 1022s # %B -> expected: march 1022s # %B -> actual: March 1022s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1022s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1022s # %b -> expected: Mär 1022s # %b -> actual: Mär 1022s # %B -> expected: März 1022s # %B -> actual: März 1022s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1022s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1022s # %b -> expected: Mär 1022s # %b -> actual: Mär 1022s # %B -> expected: März 1022s # %B -> actual: März 1022s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1022s # End of format_mixed tests 1022s # Start of strftime tests 1022s # %r -> expected: (null) 1022s # %r -> actual: (null) 1022s ok 55 /GDateTime/strftime/error_handling 1022s # End of strftime tests 1022s # Start of eras tests 1022s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1022s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1022s ok - glib/gdatetime.test 1022s # Running test: glib/registered-type-info.test 1022s ok - glib/registered-type-info.test 1022s # Running test: glib/boxed.test 1022s ok - glib/boxed.test 1022s # Running test: glib/repository-search-paths.test 1022s ok - glib/repository-search-paths.test 1022s # Running test: glib/mem-overflow.test 1022s # %EC -> expected: 令和 1022s # %EC -> actual: 令和 1022s # %Ex -> expected: 令和05年06月01日 1022s # %Ex -> actual: 令和05年06月01日 1022s # %EX -> expected: 00時00分00秒 1022s # %EX -> actual: 00時00分00秒 1022s # %Ey -> expected: 05 1022s # %Ey -> actual: 05 1022s # %EY -> expected: 令和05年 1022s # %EY -> actual: 令和05年 1022s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1022s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1022s # %EC -> expected: 平成 1022s # %EC -> actual: 平成 1022s # %Ex -> expected: 平成31年04月30日 1022s # %Ex -> actual: 平成31年04月30日 1022s # %EX -> expected: 00時00分00秒 1022s # %EX -> actual: 00時00分00秒 1022s # %Ey -> expected: 31 1022s # %Ey -> actual: 31 1022s # %EY -> expected: 平成31年 1022s # %EY -> actual: 平成31年 1022s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1022s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1022s # %EC -> expected: 昭和 1022s # %EC -> actual: 昭和 1022s # %Ex -> expected: 昭和元年12月25日 1022s # %Ex -> actual: 昭和元年12月25日 1022s # %EX -> expected: 00時00分00秒 1022s # %EX -> actual: 00時00分00秒 1022s # %Ey -> expected: 01 1022s # %Ey -> actual: 01 1022s # %EY -> expected: 昭和元年 1022s # %EY -> actual: 昭和元年 1022s ok 56 /GDateTime/eras/japan 1022s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1022s # Vector 0: 1022s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1022s # 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年 1022s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1022s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1022s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1022s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1022s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1022s # Vector 8: + 1022s # Vector 9: +: 1022s # Vector 10: +:: 1022s # Vector 11: +:200 1022s # Vector 12: +:2nonsense 1022s # Vector 13: +:2nonsense: 1022s # Vector 14: +:2: 1022s # Vector 15: +:2:: 1022s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1022s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1022s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1022s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1022s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1022s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1022s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1022s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1022s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1022s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1022s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1022s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1022s # Vector 28: +:2:2020/01/01 1022s # Vector 29: +:2:2020/01/01: 1022s # Vector 30: +:2:2020/01/01:: 1022s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1022s # Vector 32: +:2:2020/01/01:+* 1022s # Vector 33: +:2:2020/01/01:+*: 1022s # Vector 34: +:2:2020/01/01:+*:: 1022s # Vector 35: +:2:2020/01/01:+*:令和 1022s # Vector 36: +:2:2020/01/01:+*:令和: 1022s # Vector 37: +:2:2020/01/01:+*:令和:; 1022s ok 58 /GDateTime/eras/parsing 1022s # End of eras tests 1022s # End of GDateTime tests 1022s # Start of GTimeZone tests 1022s ok 59 /GTimeZone/find-interval 1022s ok 60 /GTimeZone/adjust-time 1022s ok 61 /GTimeZone/no-header 1022s ok 62 /GTimeZone/no-header-identifier 1022s ok 63 /GTimeZone/posix-parse 1022s # Bug Reference: http://bugzilla.gnome.org/697715 1022s ok 64 /GTimeZone/floating-point 1022s # System time zone identifier: Etc/UTC 1022s ok 65 /GTimeZone/identifier 1022s # Vector 0: -158400 1022s # Vector 1: -10000 1022s # Vector 2: -3600 1022s # Vector 3: -61 1022s # Vector 4: -60 1022s # Vector 5: -59 1022s # Vector 6: 0 1022s # Vector 7: 59 1022s # Vector 8: 60 1022s # Vector 9: 61 1022s # Vector 10: 3600 1022s # Vector 11: 10000 1022s # Vector 12: 158400 1022s ok 66 /GTimeZone/new-offset 1022s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1022s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1022s ok 67 /GTimeZone/parse-rfc8536 1022s # /GTimeZone/caching summary: GTimeZone instances are cached 1022s ok 68 /GTimeZone/caching 1022s # End of GTimeZone tests 1022s TAP version 14 1022s # random seed: R02Sc6f8951ede4d2e9678734cdc32c99aed 1022s 1..1 1022s # Start of registered-type-info tests 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_T06UE3/registered-type-info/boxed/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_T06UE3/registered-type-info/boxed/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_T06UE3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_T06UE3/registered-type-info/boxed/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_T06UE3/registered-type-info/boxed/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_T06UE3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_T06UE3/registered-type-info/boxed/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_T06UE3/registered-type-info/boxed/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_T06UE3/registered-type-info/boxed/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_T06UE3/registered-type-info/boxed/.dirs/runtime 1022s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1022s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1022s # Expecting CClosure to not be boxed 1022s # Expecting TypeCValue to not be boxed 1022s # Expecting InitiallyUnownedClass to not be boxed 1022s # Expecting BookmarkFile to be boxed 1022s # Expecting Closure to be boxed 1022s # Expecting Object to not be boxed 1022s ok 1 /registered-type-info/boxed 1022s # End of registered-type-info tests 1022s TAP version 14 1022s # random seed: R02Sea83a52fae2cbb8d9508aa272d91dc4e 1022s 1..27 1022s # Start of boxed tests 1022s ok 1 /boxed/define 1022s ok 2 /boxed/ownership 1022s ok 3 /boxed/closure 1022s ok 4 /boxed/date 1022s ok 5 /boxed/value 1022s ok 6 /boxed/string 1022s ok 7 /boxed/hashtable 1022s ok 8 /boxed/array 1022s ok 9 /boxed/ptrarray 1022s ok 10 /boxed/regex 1022s ok 11 /boxed/varianttype 1022s ok 12 /boxed/error 1022s ok 13 /boxed/datetime 1022s ok 14 /boxed/matchinfo 1022s ok 15 /boxed/keyfile 1022s ok 16 /boxed/mainloop 1022s ok 17 /boxed/maincontext 1022s ok 18 /boxed/source 1022s ok 19 /boxed/variantbuilder 1022s ok 20 /boxed/timezone 1022s ok 21 /boxed/pollfd 1022s ok 22 /boxed/markup 1022s ok 23 /boxed/thread 1022s ok 24 /boxed/checksum 1022s ok 25 /boxed/tree 1022s ok 26 /boxed/patternspec 1022s ok 27 /boxed/rand 1022s # End of boxed tests 1022s TAP version 14 1022s # random seed: R02S43ab729a2ebf1ea53165fd19b0d3b981 1022s 1..4 1022s # Start of repository tests 1022s # Start of search-paths tests 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/default/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/default/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_AFQUE3/repository/search-paths/default/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/default/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_AFQUE3/repository/search-paths/default/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/default/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/default/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/default/.dirs/runtime 1022s ok 1 /repository/search-paths/default 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/prepend/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/prepend/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_AFQUE3/repository/search-paths/prepend/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/prepend/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_AFQUE3/repository/search-paths/prepend/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/prepend/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/prepend/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_AFQUE3/repository/search-paths/prepend/.dirs/runtime 1022s ok 2 /repository/search-paths/prepend 1022s # End of search-paths tests 1022s # Start of library-paths tests 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/default/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/default/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_AFQUE3/repository/library-paths/default/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/default/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_AFQUE3/repository/library-paths/default/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/default/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/default/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/default/.dirs/runtime 1022s ok 3 /repository/library-paths/default 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/prepend/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/prepend/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_AFQUE3/repository/library-paths/prepend/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/prepend/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_AFQUE3/repository/library-paths/prepend/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/prepend/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/prepend/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_AFQUE3/repository/library-paths/prepend/.dirs/runtime 1022s ok 4 /repository/library-paths/prepend 1022s # End of library-paths tests 1022s # End of repository tests 1022s TAP version 14 1022s # random seed: R02S0b3e341e20955e62cae23dd41cd24bff 1022s 1..2 1022s # Start of mem tests 1022s ok 1 /mem/overflow 1022s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1022s ok 2 /mem/empty-alloc 1022s # Start of overflow tests 1022s # Start of subprocess tests 1022s # End of subprocess tests 1022s # End of overflow tests 1022s # Start of empty-alloc tests 1022s # End of empty-alloc tests 1022s # End of mem tests 1022s ok - glib/mem-overflow.test 1022s # Running test: glib/file.test 1022s TAP version 14 1022s # random seed: R02S54a4dc7e4825736244f5e0d2ab74dae6 1022s 1..55 1022s # Start of file tests 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/basic/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/basic/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/basic/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/basic/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/basic/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/basic/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/basic/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/basic/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/basic/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/basic/.dirs/runtime 1022s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1022s ok 1 /file/basic 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/build-filename/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/build-filename/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/build-filename/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/build-filename/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/build-filename/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/build-filename/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/build-filename/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/build-filename/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/build-filename/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/build-filename/.dirs/runtime 1022s ok 2 /file/build-filename 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/build-filenamev/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/build-filenamev/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/build-filenamev/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/build-filenamev/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/build-filenamev/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/build-filenamev/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/build-filenamev/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/build-filenamev/.dirs/runtime 1022s ok 3 /file/build-filenamev 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/parent/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/parent/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/parent/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/parent/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/parent/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/parent/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/parent/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/parent/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/parent/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/parent/.dirs/runtime 1022s ok 4 /file/parent 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/child/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/child/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/child/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/child/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/child/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/child/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/child/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/child/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/child/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/child/.dirs/runtime 1022s ok 5 /file/child 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/empty-path/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/empty-path/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/empty-path/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/empty-path/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/empty-path/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/empty-path/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/empty-path/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/empty-path/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/empty-path/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/empty-path/.dirs/runtime 1022s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1022s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1022s ok 6 /file/empty-path 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/type/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/type/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/type/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/type/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/type/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/type/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/type/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/type/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/type/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/type/.dirs/runtime 1022s ok 7 /file/type 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/parse-name/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/parse-name/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/parse-name/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/parse-name/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/parse-name/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/parse-name/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/parse-name/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/parse-name/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/parse-name/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/parse-name/.dirs/runtime 1022s ok 8 /file/parse-name 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/replace-load/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/replace-load/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/replace-load/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/replace-load/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/replace-load/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/replace-load/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/replace-load/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/replace-load/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/replace-load/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/replace-load/.dirs/runtime 1022s ok 9 /file/replace-load 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/replace-cancel/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/replace-cancel/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/replace-cancel/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/replace-cancel/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/replace-cancel/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/replace-cancel/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/replace-cancel/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/replace-cancel/.dirs/runtime 1022s # Bug Reference: https://bugzilla.gnome.org/629301 1022s ok 10 /file/replace-cancel 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/replace-symlink/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/replace-symlink/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/replace-symlink/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/replace-symlink/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/replace-symlink/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/replace-symlink/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/replace-symlink/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/replace-symlink/.dirs/runtime 1022s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1022s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1022s # Using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_symlink_0FVSE3 1022s ok 11 /file/replace-symlink 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/async-new-tmp/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/async-new-tmp/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/async-new-tmp/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/async-new-tmp/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/async-new-tmp/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/async-new-tmp/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/async-new-tmp/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/async-new-tmp/.dirs/runtime 1022s ok 12 /file/async-new-tmp 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/async-new-tmp-dir/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/async-new-tmp-dir/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/async-new-tmp-dir/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/async-new-tmp-dir/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/async-new-tmp-dir/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/async-new-tmp-dir/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/async-new-tmp-dir/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/async-new-tmp-dir/.dirs/runtime 1022s ok 13 /file/async-new-tmp-dir 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/async-delete/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/async-delete/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/async-delete/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/async-delete/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/async-delete/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/async-delete/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/async-delete/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/async-delete/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/async-delete/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/async-delete/.dirs/runtime 1022s ok 14 /file/async-delete 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/async-make-symlink/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/async-make-symlink/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/async-make-symlink/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/async-make-symlink/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/async-make-symlink/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/async-make-symlink/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/async-make-symlink/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/async-make-symlink/.dirs/runtime 1022s ok 15 /file/async-make-symlink 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/copy-preserve-mode/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/copy-preserve-mode/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/copy-preserve-mode/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/copy-preserve-mode/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/copy-preserve-mode/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/copy-preserve-mode/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/copy-preserve-mode/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/copy-preserve-mode/.dirs/runtime 1022s # Current umask: 2 1022s # Vector 0 1022s # Vector 1 1022s # Vector 2 1022s # Vector 3 1022s # Vector 4 1022s # Vector 5 1022s # Vector 6 1022s # Vector 7 1022s # Vector 8 1022s # Vector 9 1022s # Vector 10 1022s ok 16 /file/copy-preserve-mode 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/copy-async-with-closures/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/copy-async-with-closures/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/copy-async-with-closures/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/copy-async-with-closures/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/copy-async-with-closures/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/copy-async-with-closures/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/copy-async-with-closures/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/copy-async-with-closures/.dirs/runtime 1022s ok 17 /file/copy-async-with-closures 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/measure/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/measure/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/measure/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/measure/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/measure/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/measure/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/measure/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/measure/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/measure/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/measure/.dirs/runtime 1022s ok 18 /file/measure 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/measure-async/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/measure-async/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/measure-async/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/measure-async/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/measure-async/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/measure-async/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/measure-async/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/measure-async/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/measure-async/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/measure-async/.dirs/runtime 1022s ok 19 /file/measure-async 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/load-bytes/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/load-bytes/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/load-bytes/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/load-bytes/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/load-bytes/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/load-bytes/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/load-bytes/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/load-bytes/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/load-bytes/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/load-bytes/.dirs/runtime 1022s ok 20 /file/load-bytes 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/load-bytes-async/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/load-bytes-async/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/load-bytes-async/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/load-bytes-async/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/load-bytes-async/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/load-bytes-async/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/load-bytes-async/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/load-bytes-async/.dirs/runtime 1022s ok 21 /file/load-bytes-async 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/load-bytes-4gb/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/load-bytes-4gb/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/load-bytes-4gb/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/load-bytes-4gb/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/load-bytes-4gb/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/load-bytes-4gb/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/load-bytes-4gb/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/load-bytes-4gb/.dirs/runtime 1022s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/load-contents-4gb/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/load-contents-4gb/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/load-contents-4gb/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/load-contents-4gb/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/load-contents-4gb/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/load-contents-4gb/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/load-contents-4gb/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/load-contents-4gb/.dirs/runtime 1022s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/load-contents-4gb-async/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/load-contents-4gb-async/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/load-contents-4gb-async/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/load-contents-4gb-async/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/load-contents-4gb-async/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/load-contents-4gb-async/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/load-contents-4gb-async/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/load-contents-4gb-async/.dirs/runtime 1022s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/writev/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/writev/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/writev/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/writev/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/writev/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/writev/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/writev/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/writev/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/writev/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/writev/.dirs/runtime 1022s ok 25 /file/writev 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/build-attribute-list-for-copy/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/build-attribute-list-for-copy/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/build-attribute-list-for-copy/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/build-attribute-list-for-copy/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/build-attribute-list-for-copy/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/build-attribute-list-for-copy/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/build-attribute-list-for-copy/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/build-attribute-list-for-copy/.dirs/runtime 1022s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1022s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1022s # 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::* 1022s # 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::* 1022s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1022s # Attributes for copy: standard::size,xattr::* 1022s # Attributes for copy: standard::size,unix::mode,xattr::* 1022s ok 26 /file/build-attribute-list-for-copy 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/move_async/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/move_async/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/move_async/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/move_async/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/move_async/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/move_async/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/move_async/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/move_async/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/move_async/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/move_async/.dirs/runtime 1022s ok 27 /file/move_async 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/move-async-with-closures/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/move-async-with-closures/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/move-async-with-closures/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/move-async-with-closures/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/move-async-with-closures/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/move-async-with-closures/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/move-async-with-closures/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/move-async-with-closures/.dirs/runtime 1022s ok 28 /file/move-async-with-closures 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/query-zero-length-content-type/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/query-zero-length-content-type/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/query-zero-length-content-type/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/query-zero-length-content-type/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/query-zero-length-content-type/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/query-zero-length-content-type/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/query-zero-length-content-type/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/query-zero-length-content-type/.dirs/runtime 1022s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1022s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1022s ok 29 /file/query-zero-length-content-type 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/runtime 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/data/applications 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/config 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/config 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/config 1022s ok 30 /file/query-default-handler-file 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/runtime 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/data/applications 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/config 1022s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_XZ8SE3/file/query-default-handler-file/.dirs/config to /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/config 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/config 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/config 1022s ok 31 /file/query-default-handler-file-async 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/runtime 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/data/applications 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/config 1022s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_XZ8SE3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/config 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/config 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/config 1022s ok 32 /file/query-default-handler-uri 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/runtime 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/data/applications 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/config 1022s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_XZ8SE3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/config 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/config 1022s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_XZ8SE3/file/query-default-handler-uri-async/.dirs/config 1022s ok 33 /file/query-default-handler-uri-async 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/enumerator-cancellation/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/enumerator-cancellation/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/enumerator-cancellation/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/enumerator-cancellation/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/enumerator-cancellation/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/enumerator-cancellation/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/enumerator-cancellation/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/enumerator-cancellation/.dirs/runtime 1022s ok 34 /file/enumerator-cancellation 1022s # Start of async-create-delete tests 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/0/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/0/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/async-create-delete/0/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/0/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/async-create-delete/0/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/0/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/0/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/async-create-delete/0/.dirs/runtime 1022s ok 35 /file/async-create-delete/0 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/1/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/1/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/async-create-delete/1/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/1/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/async-create-delete/1/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/1/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/1/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/async-create-delete/1/.dirs/runtime 1022s ok 36 /file/async-create-delete/1 1022s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/10/.dirs/home 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/10/.dirs/cache 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/async-create-delete/10/.dirs/system-config2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/10/.dirs/config 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/async-create-delete/10/.dirs/system-data2 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/10/.dirs/data 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/10/.dirs/state 1022s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/async-create-delete/10/.dirs/runtime 1023s ok 37 /file/async-create-delete/10 1023s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/25/.dirs/home 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/25/.dirs/cache 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/async-create-delete/25/.dirs/system-config2 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/25/.dirs/config 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/async-create-delete/25/.dirs/system-data2 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/25/.dirs/data 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/25/.dirs/state 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/async-create-delete/25/.dirs/runtime 1023s ok 38 /file/async-create-delete/25 1023s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/4096/.dirs/home 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/4096/.dirs/cache 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/async-create-delete/4096/.dirs/system-config2 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/4096/.dirs/config 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/async-create-delete/4096/.dirs/system-data2 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/4096/.dirs/data 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/async-create-delete/4096/.dirs/state 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/async-create-delete/4096/.dirs/runtime 1023s ok 39 /file/async-create-delete/4096 1023s # End of async-create-delete tests 1023s # Start of replace-symlink tests 1023s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/replace-symlink/using-etag/.dirs/home 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/replace-symlink/using-etag/.dirs/cache 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/replace-symlink/using-etag/.dirs/system-config2 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/replace-symlink/using-etag/.dirs/config 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/replace-symlink/using-etag/.dirs/system-data2 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/replace-symlink/using-etag/.dirs/data 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/replace-symlink/using-etag/.dirs/state 1023s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/replace-symlink/using-etag/.dirs/runtime 1023s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1023s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1023s # Using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_symlink_using_etag_1RHJE3 1023s # Executing: glib/file.test 1025s ok 40 /file/replace-symlink/using-etag 1025s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1025s # End of replace-symlink tests 1025s # Start of replace tests 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/replace/write-only/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/replace/write-only/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/replace/write-only/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/replace/write-only/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/replace/write-only/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/replace/write-only/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/replace/write-only/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/replace/write-only/.dirs/runtime 1025s # /file/replace/write-only summary: Test various situations for g_file_replace() 1025s # Current umask: 2 1025s # Test 0, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_BSMJE3 1025s # Test 1, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_KPMJE3 1025s # Test 2, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_58KJE3 1025s # Test 3, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_QFDJE3 1025s # Test 4, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_U2CJE3 1025s # Test 5, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_T3BJE3 1025s # Test 6, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_HMBJE3 1025s # Test 7, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_43EJE3 1025s # Test 8, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_CHFJE3 1025s # Test 9, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_NKEJE3 1025s # Test 10, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_U3DJE3 1025s # Test 11, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_9T5IE3 1025s # Test 12, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_BB6IE3 1025s # Test 13, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_S25IE3 1025s # Test 14, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_7O4IE3 1025s # Test 15, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_DM8IE3 1025s # Test 16, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_YS0IE3 1025s # Test 17, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_H6YIE3 1025s # Test 18, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_8C3IE3 1025s # Test 19, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_862IE3 1025s # Test 20, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_RD1IE3 1025s # Test 21, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_UZSIE3 1025s # Test 22, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_8QRIE3 1025s # Test 23, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_GKRIE3 1025s # Test 24, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_LEWIE3 1025s # Test 25, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_LQVIE3 1025s # Test 26, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_KOUIE3 1025s # Test 27, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_Q9UIE3 1025s # Test 28, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_ZSMIE3 1025s # Test 29, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_SCLIE3 1025s # Test 30, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_PSLIE3 1025s # Test 31, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_ROLIE3 1025s # Test 32, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_L4PIE3 1025s # Test 33, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_ONPIE3 1025s # Test 34, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_7HPIE3 1025s # Test 35, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_1HOIE3 1025s # Test 36, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_ISHIE3 1025s # Test 37, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_31FIE3 1025s # Test 38, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_BSKIE3 1025s # Test 39, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_JQIIE3 1025s # Test 40, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_86AIE3 1025s # Test 41, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_L49HE3 1025s # Test 42, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_NQ9HE3 1025s # Test 43, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_9IEIE3 1025s # Test 44, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_Z4CIE3 1025s # Test 45, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_02CIE3 1025s # Test 46, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_A44HE3 1025s # Test 47, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_5X4HE3 1025s # Test 48, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_QZ2HE3 1025s # We do not have CAP_DAC_OVERRIDE or equivalent 1025s ok 41 /file/replace/write-only 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/replace/read-write/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/replace/read-write/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/replace/read-write/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/replace/read-write/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/replace/read-write/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/replace/read-write/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/replace/read-write/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/replace/read-write/.dirs/runtime 1025s # /file/replace/read-write summary: Test various situations for g_file_replace() 1025s # Current umask: 2 1025s # Test 0, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_8H3HE3 1025s # Test 1, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_XG2HE3 1025s # Test 2, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_E97HE3 1025s # Test 3, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_LW1HE3 1025s # Test 4, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_PU0HE3 1025s # Test 5, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_MB1HE3 1025s # Test 6, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_VC0HE3 1025s # Test 7, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_SHRHE3 1025s # Test 8, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_P6QHE3 1025s # Test 9, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_BQRHE3 1025s # Test 10, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_P6PHE3 1025s # Test 11, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_EGUHE3 1025s # Test 12, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_00UHE3 1025s # Test 13, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_1TUHE3 1025s # Test 14, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_6USHE3 1025s # Test 15, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_NHLHE3 1025s # Test 16, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_YVJHE3 1025s # Test 17, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_4GOHE3 1025s # Test 18, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_VZMHE3 1025s # Test 19, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_JIEHE3 1025s # Test 20, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_B6DHE3 1025s # Test 21, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_R5IHE3 1025s # Test 22, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_E2GHE3 1025s # Test 23, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_CNHHE3 1025s # Test 24, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_B08GE3 1025s # Test 25, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_O17GE3 1025s # Test 26, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_YU7GE3 1025s # Test 27, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_IV6GE3 1025s # Test 28, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_MQBHE3 1025s # Test 29, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_O3AHE3 1025s # Test 30, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_O49GE3 1025s # Test 31, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_AT9GE3 1025s # Test 32, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_CNASE3 1025s # Test 33, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_PBASE3 1025s # Test 34, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_E39RE3 1025s # Test 35, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_838RE3 1025s # Test 36, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_LNDSE3 1025s # Test 37, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_NRCSE3 1025s # Test 38, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_PC4RE3 1025s # Test 39, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_FX2RE3 1025s # Test 40, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_0E7RE3 1025s # Test 41, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_3UYRE3 1025s # Test 42, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_MCYRE3 1025s # Test 43, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_BBWRE3 1025s # Test 44, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_V50RE3 1025s # Test 45, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_0N1RE3 1025s # Test 46, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_PPZRE3 1025s # Test 47, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_VIZRE3 1025s # Test 48, using temporary directory /tmp/test_file_XZ8SE3/g_file_replace_ASSRE3 1025s # We do not have CAP_DAC_OVERRIDE or equivalent 1025s ok 42 /file/replace/read-write 1025s # End of replace tests 1025s # Start of copy tests 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/copy/progress/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/copy/progress/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/copy/progress/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/copy/progress/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/copy/progress/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/copy/progress/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/copy/progress/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/copy/progress/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/copy/progress/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/copy/progress/.dirs/runtime 1025s ok 43 /file/copy/progress 1025s # End of copy tests 1025s # Start of writev tests 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/writev/no-bytes-written/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/writev/no-bytes-written/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/writev/no-bytes-written/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/writev/no-bytes-written/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/writev/no-bytes-written/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/writev/no-bytes-written/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/writev/no-bytes-written/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/writev/no-bytes-written/.dirs/runtime 1025s ok 44 /file/writev/no-bytes-written 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/writev/no-vectors/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/writev/no-vectors/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/writev/no-vectors/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/writev/no-vectors/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/writev/no-vectors/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/writev/no-vectors/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/writev/no-vectors/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/writev/no-vectors/.dirs/runtime 1025s ok 45 /file/writev/no-vectors 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/writev/empty-vectors/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/writev/empty-vectors/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/writev/empty-vectors/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/writev/empty-vectors/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/writev/empty-vectors/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/writev/empty-vectors/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/writev/empty-vectors/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/writev/empty-vectors/.dirs/runtime 1025s ok 46 /file/writev/empty-vectors 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/writev/too-big-vectors/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/writev/too-big-vectors/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/writev/too-big-vectors/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/writev/too-big-vectors/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/writev/too-big-vectors/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/writev/too-big-vectors/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/writev/too-big-vectors/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/writev/too-big-vectors/.dirs/runtime 1025s ok 47 /file/writev/too-big-vectors 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/writev/async/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/writev/async/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/writev/async/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/writev/async/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/writev/async/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/writev/async/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/writev/async/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/writev/async/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/writev/async/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/writev/async/.dirs/runtime 1025s ok 48 /file/writev/async 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/writev/async_all/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/writev/async_all/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/writev/async_all/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/writev/async_all/.dirs/runtime 1025s ok 49 /file/writev/async_all 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-empty-vectors/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-empty-vectors/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/writev/async_all-empty-vectors/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-empty-vectors/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/writev/async_all-empty-vectors/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-empty-vectors/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-empty-vectors/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/writev/async_all-empty-vectors/.dirs/runtime 1025s ok 50 /file/writev/async_all-empty-vectors 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-no-vectors/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-no-vectors/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/writev/async_all-no-vectors/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-no-vectors/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/writev/async_all-no-vectors/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-no-vectors/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-no-vectors/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/writev/async_all-no-vectors/.dirs/runtime 1025s ok 51 /file/writev/async_all-no-vectors 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-to-big-vectors/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-to-big-vectors/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/writev/async_all-to-big-vectors/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-to-big-vectors/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/writev/async_all-to-big-vectors/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-to-big-vectors/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-to-big-vectors/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/writev/async_all-to-big-vectors/.dirs/runtime 1025s ok 52 /file/writev/async_all-to-big-vectors 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-cancellation/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-cancellation/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/writev/async_all-cancellation/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-cancellation/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/writev/async_all-cancellation/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-cancellation/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/writev/async_all-cancellation/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/writev/async_all-cancellation/.dirs/runtime 1025s ok 53 /file/writev/async_all-cancellation 1025s # End of writev tests 1025s # Start of from-uri tests 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/from-uri/ignores-query-string/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/from-uri/ignores-query-string/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/from-uri/ignores-query-string/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/from-uri/ignores-query-string/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/from-uri/ignores-query-string/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/from-uri/ignores-query-string/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/from-uri/ignores-query-string/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/from-uri/ignores-query-string/.dirs/runtime 1025s ok 54 /file/from-uri/ignores-query-string 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_XZ8SE3/file/from-uri/ignores-fragment/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_XZ8SE3/file/from-uri/ignores-fragment/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_XZ8SE3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_XZ8SE3/file/from-uri/ignores-fragment/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_XZ8SE3/file/from-uri/ignores-fragment/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_XZ8SE3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_XZ8SE3/file/from-uri/ignores-fragment/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_XZ8SE3/file/from-uri/ignores-fragment/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_XZ8SE3/file/from-uri/ignores-fragment/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_XZ8SE3/file/from-uri/ignores-fragment/.dirs/runtime 1025s ok 55 /file/from-uri/ignores-fragment 1025s # End of from-uri tests 1025s # End of file tests 1025s ok - glib/file.test 1025s # Running test: glib/accumulator.test 1025s ok - glib/accumulator.test 1025s TAP version 14 1025s # random seed: R02Sda594f37b50d28a2c87849a844dec7ea 1025s 1..1 1025s # Start of gobject tests 1025s ok 1 /gobject/accumulator 1025s # End of gobject tests 1025s # Running test: glib/type.test 1025s TAP version 14 1025s # random seed: R02S9eb781db3fa80ebc6eb5fbdcbecbde51 1025s 1..6 1025s # Start of type tests 1025s ok 1 /type/registration-serial 1025s ok 2 /type/interface-prerequisite 1025s ok 3 /type/interface-check 1025s ok 4 /type/next-base 1025s ok 5 /type/is-a 1025s # Invalid types can’t be queried. 1025s # Unclassed types can’t be queried. 1025s ok 6 /type/query 1025s # End of type tests 1025s ok - glib/type.test 1025s # Running test: glib/fdo-notification-backend.test 1025s TAP version 14 1025s # random seed: R02S2e5b098b77044be1ae3d813f93d66622 1025s 1..2 1025s # Start of fdo-notification-backend tests 1025s # Test constructing a GFdoNotificationBackend 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s ok 1 /fdo-notification-backend/construction 1025s # Start of dbus tests 1025s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1025s ok 2 /fdo-notification-backend/dbus/activate-action 1025s # End of dbus tests 1025s # End of fdo-notification-backend tests 1025s ok - glib/fdo-notification-backend.test 1025s # Running test: glib/print.test 1025s ok - glib/print.test 1025s TAP version 14 1025s # random seed: R02Sa2151168e07c97a7da8a9e91fbc05f38 1025s 1..1 1025s ok 1 /print-console # SKIP Testing console output only supported on Windows 1025s # Running test: glib/glistmodel.test 1025s TAP version 14 1025s # random seed: R02S60a7bdcdeb31afd87c1cfe8f8567e6f2 1025s 1..18 1025s # Start of glistmodel tests 1025s # Start of store tests 1025s ok 1 /glistmodel/store/properties 1025s ok 2 /glistmodel/store/non-gobjects 1025s ok 3 /glistmodel/store/boundaries 1025s ok 4 /glistmodel/store/refcounts 1025s ok - glib/glistmodel.test 1025s # Running test: glib/static-link.test 1025s ok 5 /glistmodel/store/sorted 1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1025s ok 6 /glistmodel/store/splice-replace-middle 1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1025s ok 7 /glistmodel/store/splice-replace-all 1025s ok 8 /glistmodel/store/splice-noop 1025s ok 9 /glistmodel/store/splice-remove-multiple 1025s ok 10 /glistmodel/store/splice-add-multiple 1025s ok 11 /glistmodel/store/splice-wrong-type 1025s ok 12 /glistmodel/store/item-type 1025s ok 13 /glistmodel/store/remove-all 1025s ok 14 /glistmodel/store/sort 1025s ok 15 /glistmodel/store/get-item-cache 1025s ok 16 /glistmodel/store/items-changed 1025s ok 17 /glistmodel/store/past-end 1025s ok 18 /glistmodel/store/find 1025s # End of store tests 1025s # End of glistmodel tests 1025s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1025s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1025s and make sure you have glib build dependencies installed, including 1025s meson. 1025s ok # SKIP - glib/static-link.test 1025s # Running test: glib/cxx-14.test 1025s TAP version 14 1025s # random seed: R02S23f25ce89e221b5ad79bf58f1c65254b 1025s 1..2 1025s # Start of gtask tests 1025s # 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. 1025s ok 1 /gtask/name 1025s # Start of name tests 1025s # 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. 1025s ok 2 /gtask/name/macro-wrapper 1025s # End of name tests 1025s # End of gtask tests 1025s ok - glib/cxx-14.test 1025s # Running test: glib/utf8-misc.test 1025s TAP version 14 1025s # random seed: R02Sb4cf53f3e23ee5a071c5f350828c5616 1025s 1..7 1025s # Start of utf8 tests 1025s ok 1 /utf8/strlen 1025s ok 2 /utf8/strncpy 1025s ok 3 /utf8/strrchr 1025s ok 4 /utf8/reverse 1025s ok 5 /utf8/substring 1025s ok 6 /utf8/make-valid 1025s ok 7 /utf8/truncate-middle 1025s # End of utf8 tests 1025s ok - glib/utf8-misc.test 1025s # Running test: glib/memory-monitor.test 1025s TAP version 14 1025s # random seed: R02S03a871f19891b5db1ac107d79490e410 1025s 1..1 1025s # Start of memory-monitor tests 1025s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1025s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 1025s ok 1 /memory-monitor/default 1025s # End of memory-monitor tests 1025s ok - glib/memory-monitor.test 1025s # Running test: glib/testing-nonfatal.test 1025s TAP version 14 1025s # random seed: R02Sd7b5d428edf38e3f792b355323ecfa69 1025s ** 1025s 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?") 1025s # 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?") 1025s ok - glib/testing-nonfatal.test 1025s # Running test: glib/base64.test 1025s TAP version 14 1025s # random seed: R02Sa101fd9d8f02abdad3e3b3c341e12ad3 1025s 1..28 1025s # Start of base64 tests 1025s ok 1 /base64/encode 1025s ok 2 /base64/decode 1025s ok 3 /base64/decode-inplace 1025s ok 4 /base64/encode-decode 1025s # Start of full tests 1025s ok 5 /base64/full/1 1025s ok 6 /base64/full/2 1025s ok 7 /base64/full/3 1025s ok 8 /base64/full/4 1025s # End of full tests 1025s # Start of encode tests 1025s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1025s ok 9 /base64/encode/empty 1025s # Start of incremental tests 1025s # Start of small-block tests 1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1025s ok 10 /base64/encode/incremental/small-block/1 1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1025s ok 11 /base64/encode/incremental/small-block/2 1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1025s ok 12 /base64/encode/incremental/small-block/3 1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1025s ok 13 /base64/encode/incremental/small-block/4 1025s # End of small-block tests 1025s # End of incremental tests 1025s # End of encode tests 1025s # Start of incremental tests 1025s # Start of nobreak tests 1025s ok 14 /base64/incremental/nobreak/1 1025s ok 15 /base64/incremental/nobreak/2 1025s ok 16 /base64/incremental/nobreak/3 1025s ok 17 /base64/incremental/nobreak/4-a 1025s ok 18 /base64/incremental/nobreak/4-b 1025s ok 19 /base64/incremental/nobreak/4-c 1025s # End of nobreak tests 1025s # Start of break tests 1025s ok 20 /base64/incremental/break/1 1025s ok - glib/base64.test 1025s ok 21 /base64/incremental/break/2 1025s ok 22 /base64/incremental/break/3 1025s # End of break tests 1025s # Start of smallblock tests 1025s ok 23 /base64/incremental/smallblock/1 1025s ok 24 /base64/incremental/smallblock/2 1025s ok 25 /base64/incremental/smallblock/3 1025s ok 26 /base64/incremental/smallblock/4 1025s # End of smallblock tests 1025s # End of incremental tests 1025s # Start of decode tests 1025s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1025s ok 27 /base64/decode/empty 1025s # End of decode tests 1025s # Start of encode-decode tests 1025s # Vector 0: 1025s # Vector 1: f 1025s # Vector 2: fo 1025s # Vector 3: foo 1025s # Vector 4: foob 1025s # Vector 5: fooba 1025s # Vector 6: foobar 1025s ok 28 /base64/encode-decode/rfc4648 1025s # End of encode-decode tests 1025s # End of base64 tests 1025s # Running test: glib/1bit-mutex.test 1025s TAP version 14 1025s # random seed: R02Sc43df0a9c5f62f36b05583fc8841cdad 1025s 1..2 1025s # Start of glib tests 1025s # Start of 1bit-mutex tests 1026s ok 1 /glib/1bit-mutex/int 1026s # slow test /glib/1bit-mutex/int executed in 1.37 secs 1028s ok - glib/1bit-mutex.test 1028s ok 2 /glib/1bit-mutex/pointer 1028s # slow test /glib/1bit-mutex/pointer executed in 1.41 secs 1028s # End of 1bit-mutex tests 1028s # End of glib tests 1028s # Running test: glib/dump.test 1028s TAP version 14 1028s # random seed: R02Sf2f85fece328656b4ca710cdaed5b194 1028s 1..4 1028s # Start of dump tests 1028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_U8QHE3/dump/empty-file/.dirs/home 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_U8QHE3/dump/empty-file/.dirs/cache 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_U8QHE3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_U8QHE3/dump/empty-file/.dirs/system-config2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_U8QHE3/dump/empty-file/.dirs/config 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_U8QHE3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_U8QHE3/dump/empty-file/.dirs/system-data2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_U8QHE3/dump/empty-file/.dirs/data 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_U8QHE3/dump/empty-file/.dirs/state 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_U8QHE3/dump/empty-file/.dirs/runtime 1028s ok - glib/dump.test 1028s ok 1 /dump/empty-file 1028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_U8QHE3/dump/missing-get-type/.dirs/home 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_U8QHE3/dump/missing-get-type/.dirs/cache 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_U8QHE3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_U8QHE3/dump/missing-get-type/.dirs/system-config2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_U8QHE3/dump/missing-get-type/.dirs/config 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_U8QHE3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_U8QHE3/dump/missing-get-type/.dirs/system-data2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_U8QHE3/dump/missing-get-type/.dirs/data 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_U8QHE3/dump/missing-get-type/.dirs/state 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_U8QHE3/dump/missing-get-type/.dirs/runtime 1028s Invalid GType function: 'does_not_exist_get_type' 1028s ok 2 /dump/missing-get-type 1028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_U8QHE3/dump/missing-quark/.dirs/home 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_U8QHE3/dump/missing-quark/.dirs/cache 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_U8QHE3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_U8QHE3/dump/missing-quark/.dirs/system-config2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_U8QHE3/dump/missing-quark/.dirs/config 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_U8QHE3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_U8QHE3/dump/missing-quark/.dirs/system-data2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_U8QHE3/dump/missing-quark/.dirs/data 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_U8QHE3/dump/missing-quark/.dirs/state 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_U8QHE3/dump/missing-quark/.dirs/runtime 1028s Invalid error quark function: 'does_not_exist_error' 1028s ok 3 /dump/missing-quark 1028s # Running test: glib/custom-dispatch.test 1028s ok - glib/custom-dispatch.test 1028s # Running test: glib/portal-support-snap-classic.test 1028s ok - glib/portal-support-snap-classic.test 1028s # Running test: glib/filenamecompleter.test 1028s ok - glib/filenamecompleter.test 1028s # Running test: glib/debugcontroller.test 1028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_U8QHE3/dump/basic/.dirs/home 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_U8QHE3/dump/basic/.dirs/cache 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_U8QHE3/dump/basic/.dirs/system-config1:/tmp/test_dump_U8QHE3/dump/basic/.dirs/system-config2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_U8QHE3/dump/basic/.dirs/config 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_U8QHE3/dump/basic/.dirs/system-data1:/tmp/test_dump_U8QHE3/dump/basic/.dirs/system-data2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_U8QHE3/dump/basic/.dirs/data 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_U8QHE3/dump/basic/.dirs/state 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_U8QHE3/dump/basic/.dirs/runtime 1028s ok 4 /dump/basic 1028s # End of dump tests 1028s TAP version 14 1028s # random seed: R02S59e1b80e3a91327a92f69e0223ffbbc3 1028s 1..2 1028s # Start of properties tests 1028s # Start of custom-dispatch tests 1028s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1028s ok 1 /properties/custom-dispatch/init 1028s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1028s ok 2 /properties/custom-dispatch/set 1028s # End of custom-dispatch tests 1028s # End of properties tests 1028s TAP version 14 1028s # random seed: R02S9b690836f236213ec2b1710c39eda383 1028s 1..3 1028s # Start of portal-support tests 1028s # Start of snap-classic tests 1028s ok - glib/debugcontroller.test 1028s # Running test: glib/mkenums.py.test 1028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/no-snapctl/.dirs/home 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/no-snapctl/.dirs/cache 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/no-snapctl/.dirs/config 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/no-snapctl/.dirs/data 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/no-snapctl/.dirs/state 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/no-snapctl/.dirs/runtime 1028s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/no-snapctl: No such file or directory 1028s ok 1 /portal-support/snap-classic/no-snapctl 1028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/none/.dirs/home 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/none/.dirs/cache 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/none/.dirs/system-config2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/none/.dirs/config 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/none/.dirs/system-data2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/none/.dirs/data 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/none/.dirs/state 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/none/.dirs/runtime 1028s # Created snap.yaml in /tmp/test_portal-support-snap-classic_BIEHE3/meta/snap.yaml 1028s # Created snapctl in /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/none/.dirs/runtime/snapctl 1028s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/none: No such file or directory 1028s ok 2 /portal-support/snap-classic/none 1028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/all/.dirs/home 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/all/.dirs/cache 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/all/.dirs/system-config2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/all/.dirs/config 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/all/.dirs/system-data2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/all/.dirs/data 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/all/.dirs/state 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/all/.dirs/runtime 1028s # Created snap.yaml in /tmp/test_portal-support-snap-classic_BIEHE3/meta/snap.yaml 1028s # Created snapctl in /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/all/.dirs/runtime/snapctl 1028s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_BIEHE3/portal-support/snap-classic/all: No such file or directory 1028s ok 3 /portal-support/snap-classic/all 1028s # End of snap-classic tests 1028s # End of portal-support tests 1028s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_BIEHE3: No such file or directory 1028s TAP version 14 1028s # random seed: R02Sdeb9dd15d022a047ec197cf4efbaa3ea 1028s 1..1 1028s # Start of filenamecompleter tests 1028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_076GE3/filenamecompleter/basic/.dirs/home 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_076GE3/filenamecompleter/basic/.dirs/cache 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_076GE3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_076GE3/filenamecompleter/basic/.dirs/system-config2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_076GE3/filenamecompleter/basic/.dirs/config 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_076GE3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_076GE3/filenamecompleter/basic/.dirs/system-data2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_076GE3/filenamecompleter/basic/.dirs/data 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_076GE3/filenamecompleter/basic/.dirs/state 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_076GE3/filenamecompleter/basic/.dirs/runtime 1028s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1028s ok 1 /filenamecompleter/basic 1028s # End of filenamecompleter tests 1028s TAP version 14 1028s # random seed: R02Sa97f6b4369996e5adc5e24d860001c1e 1028s 1..3 1028s # Start of debug-controller tests 1028s # Start of dbus tests 1028s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1028s # GLib-GIO-DEBUG: Debug output enabled 1028s # GLib-GIO-DEBUG: Debug output disabled 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s ok 1 /debug-controller/dbus/basic 1028s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s ok 2 /debug-controller/dbus/duplicate 1028s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1028s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1028s # End of dbus tests 1028s # End of debug-controller tests 1028s # Executing: glib/mkenums.py.test 1028s TAP version 13 1028s ok 1 __main__.TestMkenums.test_available_in 1028s # glib-mkenums: /usr/bin/glib-mkenums 1028s # tmpdir: /tmp/tmpotl01w0_ 1028s # rspfile: False 1028s # /tmp/tmpotl01w0_/tmpluq6w7uh.h: 1028s # typedef enum { 1028s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1028s # } GDBusServerFlags; 1028s # 1028s # /tmp/tmpotl01w0_/tmpz2ng7aey.template: 1028s # /*** BEGIN file-header ***/ 1028s # file-header 1028s # /*** END file-header ***/ 1028s # 1028s # /*** BEGIN file-production ***/ 1028s # file-production 1028s # filename: @filename@ 1028s # basename: @basename@ 1028s # /*** END file-production ***/ 1028s # 1028s # /*** BEGIN enumeration-production ***/ 1028s # enumeration-production 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END enumeration-production ***/ 1028s # 1028s # /*** BEGIN value-header ***/ 1028s # value-header 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-header ***/ 1028s # 1028s # /*** BEGIN value-production ***/ 1028s # value-production 1028s # VALUENAME: @VALUENAME@ 1028s # valuenick: @valuenick@ 1028s # valuenum: @valuenum@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-production ***/ 1028s # 1028s # /*** BEGIN value-tail ***/ 1028s # value-tail 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-tail ***/ 1028s # 1028s # /*** BEGIN comment ***/ 1028s # comment 1028s # comment: @comment@ 1028s # /*** END comment ***/ 1028s # 1028s # /*** BEGIN file-tail ***/ 1028s # file-tail 1028s # /*** END file-tail ***/ 1028s # 1028s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpotl01w0_/tmpz2ng7aey.template', '/tmp/tmpotl01w0_/tmpluq6w7uh.h'] 1028s # Return code: 0 1028s # Output: 1028s # comment 1028s # 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. 1028s # 1028s # 1028s # file-header 1028s # file-production 1028s # filename: /tmp/tmpotl01w0_/tmpluq6w7uh.h 1028s # basename: tmpluq6w7uh.h 1028s # enumeration-production 1028s # EnumName: GDBusServerFlags 1028s # enum_name: g_dbus_server_flags 1028s # ENUMNAME: G_DBUS_SERVER_FLAGS 1028s # ENUMSHORT: DBUS_SERVER_FLAGS 1028s # ENUMPREFIX: G 1028s # enumsince: 1028s # type: flags 1028s # Type: Flags 1028s # TYPE: FLAGS 1028s # value-header 1028s # EnumName: GDBusServerFlags 1028s # enum_name: g_dbus_server_flags 1028s # ENUMNAME: G_DBUS_SERVER_FLAGS 1028s # ENUMSHORT: DBUS_SERVER_FLAGS 1028s # ENUMPREFIX: G 1028s # enumsince: 1028s # type: flags 1028s # Type: Flags 1028s # TYPE: FLAGS 1028s # value-production 1028s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1028s # valuenick: user 1028s # valuenum: 4 1028s # type: flags 1028s # Type: Flags 1028s # TYPE: FLAGS 1028s # value-tail 1028s # EnumName: GDBusServerFlags 1028s # enum_name: g_dbus_server_flags 1028s # ENUMNAME: G_DBUS_SERVER_FLAGS 1028s # ENUMSHORT: DBUS_SERVER_FLAGS 1028s # ENUMPREFIX: G 1028s # enumsince: 1028s # type: flags 1028s # Type: Flags 1028s # TYPE: FLAGS 1028s # file-tail 1028s # 1028s # comment 1028s # comment: Generated data ends here 1028s # Error: 1028s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1028s # glib-mkenums: /usr/bin/glib-mkenums 1028s # tmpdir: /tmp/tmpft9pi90m 1028s # rspfile: False 1028s # /tmp/tmpft9pi90m/tmp0n17ttmr.h: 1028s # typedef enum { 1028s # ENUM_VALUE_WITH_COMMA = ',', 1028s # } TestCommaEnum; 1028s # 1028s # /tmp/tmpft9pi90m/tmp6krn6io2.template: 1028s # /*** BEGIN file-header ***/ 1028s # file-header 1028s # /*** END file-header ***/ 1028s # 1028s # /*** BEGIN file-production ***/ 1028s # file-production 1028s # filename: @filename@ 1028s # basename: @basename@ 1028s # /*** END file-production ***/ 1028s # 1028s # /*** BEGIN enumeration-production ***/ 1028s # enumeration-production 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END enumeration-production ***/ 1028s # 1028s # /*** BEGIN value-header ***/ 1028s # value-header 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-header ***/ 1028s # 1028s # /*** BEGIN value-production ***/ 1028s # value-production 1028s # VALUENAME: @VALUENAME@ 1028s # valuenick: @valuenick@ 1028s # valuenum: @valuenum@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-production ***/ 1028s # 1028s # /*** BEGIN value-tail ***/ 1028s # value-tail 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-tail ***/ 1028s # 1028s # /*** BEGIN comment ***/ 1028s # comment 1028s # comment: @comment@ 1028s # /*** END comment ***/ 1028s # 1028s # /*** BEGIN file-tail ***/ 1028s # file-tail 1028s # /*** END file-tail ***/ 1028s # 1028s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpft9pi90m/tmp6krn6io2.template', '/tmp/tmpft9pi90m/tmp0n17ttmr.h'] 1028s # Return code: 0 1028s # Output: 1028s # comment 1028s # 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. 1028s # 1028s # 1028s # file-header 1028s # file-production 1028s # filename: /tmp/tmpft9pi90m/tmp0n17ttmr.h 1028s # basename: tmp0n17ttmr.h 1028s # enumeration-production 1028s # EnumName: TestCommaEnum 1028s # enum_name: test_comma_enum 1028s # ENUMNAME: TEST_COMMA_ENUM 1028s # ENUMSHORT: COMMA_ENUM 1028s # ENUMPREFIX: TEST 1028s # enumsince: 1028s # type: enum 1028s # Type: Enum 1028s # TYPE: ENUM 1028s # value-header 1028s # EnumName: TestCommaEnum 1028s # enum_name: test_comma_enum 1028s # ENUMNAME: TEST_COMMA_ENUM 1028s # ENUMSHORT: COMMA_ENUM 1028s # ENUMPREFIX: TEST 1028s # enumsince: 1028s # type: enum 1028s # Type: Enum 1028s # TYPE: ENUM 1028s # value-production 1028s # VALUENAME: ENUM_VALUE_WITH_COMMA 1028s # valuenick: comma 1028s # valuenum: 44 1028s # type: enum 1028s # Type: Enum 1028s # TYPE: ENUM 1028s # value-tail 1028s # EnumName: TestCommaEnum 1028s # enum_name: test_comma_enum 1028s # ENUMNAME: TEST_COMMA_ENUM 1028s # ENUMSHORT: COMMA_ENUM 1028s # ENUMPREFIX: TEST 1028s # enumsince: 1028s # type: enum 1028s # Type: Enum 1028s # TYPE: ENUM 1028s # file-tail 1028s # 1028s # comment 1028s # comment: Generated data ends here 1028s # Error: 1028s ok 3 __main__.TestMkenums.test_deprecated_in 1028s # glib-mkenums: /usr/bin/glib-mkenums 1028s # tmpdir: /tmp/tmplin3vt2t 1028s # rspfile: False 1028s # /tmp/tmplin3vt2t/tmpu_cnukj5.h: 1028s # typedef enum { 1028s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1028s # } GDBusServerFlags; 1028s # 1028s # /tmp/tmplin3vt2t/tmpu1in1kus.template: 1028s # /*** BEGIN file-header ***/ 1028s # file-header 1028s # /*** END file-header ***/ 1028s # 1028s # /*** BEGIN file-production ***/ 1028s # file-production 1028s # filename: @filename@ 1028s # basename: @basename@ 1028s # /*** END file-production ***/ 1028s # 1028s # /*** BEGIN enumeration-production ***/ 1028s # enumeration-production 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END enumeration-production ***/ 1028s # 1028s # /*** BEGIN value-header ***/ 1028s # value-header 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-header ***/ 1028s # 1028s # /*** BEGIN value-production ***/ 1028s # value-production 1028s # VALUENAME: @VALUENAME@ 1028s # valuenick: @valuenick@ 1028s # valuenum: @valuenum@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-production ***/ 1028s # 1028s # /*** BEGIN value-tail ***/ 1028s # value-tail 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-tail ***/ 1028s # 1028s # /*** BEGIN comment ***/ 1028s # comment 1028s # comment: @comment@ 1028s # /*** END comment ***/ 1028s # 1028s # /*** BEGIN file-tail ***/ 1028s # file-tail 1028s # /*** END file-tail ***/ 1028s # 1028s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplin3vt2t/tmpu1in1kus.template', '/tmp/tmplin3vt2t/tmpu_cnukj5.h'] 1028s # Return code: 0 1028s # Output: 1028s # comment 1028s # 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. 1028s # 1028s # 1028s # file-header 1028s # file-production 1028s # filename: /tmp/tmplin3vt2t/tmpu_cnukj5.h 1028s # basename: tmpu_cnukj5.h 1028s # enumeration-production 1028s # EnumName: GDBusServerFlags 1028s # enum_name: g_dbus_server_flags 1028s # ENUMNAME: G_DBUS_SERVER_FLAGS 1028s # ENUMSHORT: DBUS_SERVER_FLAGS 1028s # ENUMPREFIX: G 1028s # enumsince: 1028s # type: flags 1028s # Type: Flags 1028s # TYPE: FLAGS 1028s # value-header 1028s # EnumName: GDBusServerFlags 1028s # enum_name: g_dbus_server_flags 1028s # ENUMNAME: G_DBUS_SERVER_FLAGS 1028s # ENUMSHORT: DBUS_SERVER_FLAGS 1028s # ENUMPREFIX: G 1028s # enumsince: 1028s # type: flags 1028s # Type: Flags 1028s # TYPE: FLAGS 1028s # value-production 1028s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1028s # valuenick: user 1028s # valuenum: 4 1028s # type: flags 1028s # Type: Flags 1028s # TYPE: FLAGS 1028s # value-tail 1028s # EnumName: GDBusServerFlags 1028s # enum_name: g_dbus_server_flags 1028s # ENUMNAME: G_DBUS_SERVER_FLAGS 1028s # ENUMSHORT: DBUS_SERVER_FLAGS 1028s # ENUMPREFIX: G 1028s # enumsince: 1028s # type: flags 1028s # Type: Flags 1028s # TYPE: FLAGS 1028s # file-tail 1028s # 1028s # comment 1028s # comment: Generated data ends here 1028s # Error: 1028s ok 4 __main__.TestMkenums.test_deprecated_in_for 1028s # glib-mkenums: /usr/bin/glib-mkenums 1028s # tmpdir: /tmp/tmpk2vys23x 1028s # rspfile: False 1028s # /tmp/tmpk2vys23x/tmpi_t7wguq.h: 1028s # typedef enum { 1028s # 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) 1028s # } GDBusServerFlags; 1028s # 1028s # /tmp/tmpk2vys23x/tmp2v62b5u9.template: 1028s # /*** BEGIN file-header ***/ 1028s # file-header 1028s # /*** END file-header ***/ 1028s # 1028s # /*** BEGIN file-production ***/ 1028s # file-production 1028s # filename: @filename@ 1028s # basename: @basename@ 1028s # /*** END file-production ***/ 1028s # 1028s # /*** BEGIN enumeration-production ***/ 1028s # enumeration-production 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END enumeration-production ***/ 1028s # 1028s # /*** BEGIN value-header ***/ 1028s # value-header 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-header ***/ 1028s # 1028s # /*** BEGIN value-production ***/ 1028s # value-production 1028s # VALUENAME: @VALUENAME@ 1028s # valuenick: @valuenick@ 1028s # valuenum: @valuenum@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-production ***/ 1028s # 1028s # /*** BEGIN value-tail ***/ 1028s # value-tail 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-tail ***/ 1028s # 1028s # /*** BEGIN comment ***/ 1028s # comment 1028s # comment: @comment@ 1028s # /*** END comment ***/ 1028s # 1028s # /*** BEGIN file-tail ***/ 1028s # file-tail 1028s # /*** END file-tail ***/ 1028s # 1028s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpk2vys23x/tmp2v62b5u9.template', '/tmp/tmpk2vys23x/tmpi_t7wguq.h'] 1028s # Return code: 0 1028s # Output: 1028s # comment 1028s # 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. 1028s # 1028s # 1028s # file-header 1028s # file-production 1028s # filename: /tmp/tmpk2vys23x/tmpi_t7wguq.h 1028s # basename: tmpi_t7wguq.h 1028s # enumeration-production 1028s # EnumName: GDBusServerFlags 1028s # enum_name: g_dbus_server_flags 1028s # ENUMNAME: G_DBUS_SERVER_FLAGS 1028s # ENUMSHORT: DBUS_SERVER_FLAGS 1028s # ENUMPREFIX: G 1028s # enumsince: 1028s # type: flags 1028s # Type: Flags 1028s # TYPE: FLAGS 1028s # value-header 1028s # EnumName: GDBusServerFlags 1028s # enum_name: g_dbus_server_flags 1028s # ENUMNAME: G_DBUS_SERVER_FLAGS 1028s # ENUMSHORT: DBUS_SERVER_FLAGS 1028s # ENUMPREFIX: G 1028s # enumsince: 1028s # type: flags 1028s # Type: Flags 1028s # TYPE: FLAGS 1028s # value-production 1028s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1028s # valuenick: user 1028s # valuenum: 4 1028s # type: flags 1028s # Type: Flags 1028s # TYPE: FLAGS 1028s # value-tail 1028s # EnumName: GDBusServerFlags 1028s # enum_name: g_dbus_server_flags 1028s # ENUMNAME: G_DBUS_SERVER_FLAGS 1028s # ENUMSHORT: DBUS_SERVER_FLAGS 1028s # ENUMPREFIX: G 1028s # enumsince: 1028s # type: flags 1028s # Type: Flags 1028s # TYPE: FLAGS 1028s # file-tail 1028s # 1028s # comment 1028s # comment: Generated data ends here 1028s # Error: 1028s ok 5 __main__.TestMkenums.test_empty_header 1028s # glib-mkenums: /usr/bin/glib-mkenums 1028s # tmpdir: /tmp/tmp2a2u4yd8 1028s # rspfile: False 1028s # /tmp/tmp2a2u4yd8/tmppzxureyj.h: 1028s # /tmp/tmp2a2u4yd8/tmphjb4fmi6.template: 1028s # /*** BEGIN file-header ***/ 1028s # file-header 1028s # /*** END file-header ***/ 1028s # 1028s # /*** BEGIN file-production ***/ 1028s # file-production 1028s # filename: @filename@ 1028s # basename: @basename@ 1028s # /*** END file-production ***/ 1028s # 1028s # /*** BEGIN enumeration-production ***/ 1028s # enumeration-production 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END enumeration-production ***/ 1028s # 1028s # /*** BEGIN value-header ***/ 1028s # value-header 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-header ***/ 1028s # 1028s # /*** BEGIN value-production ***/ 1028s # value-production 1028s # VALUENAME: @VALUENAME@ 1028s # valuenick: @valuenick@ 1028s # valuenum: @valuenum@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-production ***/ 1028s # 1028s # /*** BEGIN value-tail ***/ 1028s # value-tail 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-tail ***/ 1028s # 1028s # /*** BEGIN comment ***/ 1028s # comment 1028s # comment: @comment@ 1028s # /*** END comment ***/ 1028s # 1028s # /*** BEGIN file-tail ***/ 1028s # file-tail 1028s # /*** END file-tail ***/ 1028s # 1028s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2a2u4yd8/tmphjb4fmi6.template', '/tmp/tmp2a2u4yd8/tmppzxureyj.h'] 1028s # Return code: 0 1028s # Output: 1028s # comment 1028s # 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. 1028s # 1028s # 1028s # file-header 1028s # file-tail 1028s # 1028s # comment 1028s # comment: Generated data ends here 1028s # Error: 1028s ok 6 __main__.TestMkenums.test_empty_template 1028s # glib-mkenums: /usr/bin/glib-mkenums 1028s # tmpdir: /tmp/tmpgw5jktm7 1028s # rspfile: False 1028s # /tmp/tmpgw5jktm7/tmpoetyk84n.template: 1028s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgw5jktm7/tmpoetyk84n.template'] 1028s # Return code: 0 1028s # Output: 1028s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1028s # 1028s # 1028s # /* Generated data ends here */ 1028s # Error: 1028s ok 7 __main__.TestMkenums.test_enum_name 1028s # glib-mkenums: /usr/bin/glib-mkenums 1028s # tmpdir: /tmp/tmpfqzopz0o 1028s # rspfile: False 1028s # /tmp/tmpfqzopz0o/tmpu70o__67.h: 1028s # typedef enum _SomeEnumIdentifier { 1028s # ENUM_VALUE 1028s # } SomeEnumIdentifier; 1028s # 1028s # /tmp/tmpfqzopz0o/tmp3313mnsb.template: 1028s # /*** BEGIN file-header ***/ 1028s # file-header 1028s # /*** END file-header ***/ 1028s # 1028s # /*** BEGIN file-production ***/ 1028s # file-production 1028s # filename: @filename@ 1028s # basename: @basename@ 1028s # /*** END file-production ***/ 1028s # 1028s # /*** BEGIN enumeration-production ***/ 1028s # enumeration-production 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END enumeration-production ***/ 1028s # 1028s # /*** BEGIN value-header ***/ 1028s # value-header 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-header ***/ 1028s # 1028s # /*** BEGIN value-production ***/ 1028s # value-production 1028s # VALUENAME: @VALUENAME@ 1028s # valuenick: @valuenick@ 1028s # valuenum: @valuenum@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-production ***/ 1028s # 1028s # /*** BEGIN value-tail ***/ 1028s # value-tail 1028s # EnumName: @EnumName@ 1028s # enum_name: @enum_name@ 1028s # ENUMNAME: @ENUMNAME@ 1028s # ENUMSHORT: @ENUMSHORT@ 1028s # ENUMPREFIX: @ENUMPREFIX@ 1028s # enumsince: @enumsince@ 1028s # type: @type@ 1028s # Type: @Type@ 1028s # TYPE: @TYPE@ 1028s # /*** END value-tail ***/ 1028s # 1028s # /*** BEGIN comment ***/ 1028s # comment 1028s # comment: @comment@ 1028s # /*** END comment ***/ 1028s # 1028s # /*** BEGIN file-tail ***/ 1028s # file-tail 1028s # /*** END file-tail ***/ 1028s # 1028s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfqzopz0o/tmp3313mnsb.template', '/tmp/tmpfqzopz0o/tmpu70o__67.h'] 1028s # Return code: 0 1028s # Output: 1028s # comment 1028s # 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. 1028s # 1028s # 1028s # file-header 1028s # file-production 1028s # filename: /tmp/tmpfqzopz0o/tmpu70o__67.h 1028s # basename: tmpu70o__67.h 1028s # enumeration-production 1028s # EnumName: SomeEnumIdentifier 1028s # enum_name: some_enum_identifier 1028s # ENUMNAME: SOME_ENUM_IDENTIFIER 1028s # ENUMSHORT: ENUM_IDENTIFIER 1028s # ENUMPREFIX: SOME 1028s # enumsince: 1028s # type: enum 1028s # Type: Enum 1028s # TYPE: ENUM 1028s # value-header 1028s # EnumName: SomeEnumIdentifier 1028s # enum_name: some_enum_identifier 1028s # ENUMNAME: SOME_ENUM_IDENTIFIER 1028s # ENUMSHORT: ENUM_IDENTIFIER 1028s # ENUMPREFIX: SOME 1028s # enumsince: 1028s # type: enum 1028s # Type: Enum 1028s # TYPE: ENUM 1028s # value-production 1028s # VALUENAME: ENUM_VALUE 1028s # valuenick: value 1028s # valuenum: 0 1028s # type: enum 1028s # Type: Enum 1028s # TYPE: ENUM 1028s # value-tail 1028s # EnumName: SomeEnumIdentifier 1028s # enum_name: some_enum_identifier 1028s # ENUMNAME: SOME_ENUM_IDENTIFIER 1028s # ENUMSHORT: ENUM_IDENTIFIER 1028s # ENUMPREFIX: SOME 1028s # enumsince: 1028s # type: enum 1028s # Type: Enum 1028s # TYPE: ENUM 1028s # file-tail 1028s # 1028s # comment 1028s # comment: Generated data ends here 1028s # Error: 1029s ok 8 __main__.TestMkenums.test_enum_private_public 1029s # glib-mkenums: /usr/bin/glib-mkenums 1029s # tmpdir: /tmp/tmp37vb9o2o 1029s # rspfile: False 1029s # /tmp/tmp37vb9o2o/tmphz5rgse4.h: 1029s # typedef enum { 1029s # ENUM_VALUE_PUBLIC1, 1029s # /*< private >*/ 1029s # ENUM_VALUE_PRIVATE, 1029s # } SomeEnumA 1029s # 1029s # /tmp/tmp37vb9o2o/tmp0s245nqy.template: 1029s # /*** BEGIN file-header ***/ 1029s # file-header 1029s # /*** END file-header ***/ 1029s # 1029s # /*** BEGIN file-production ***/ 1029s # file-production 1029s # filename: @filename@ 1029s # basename: @basename@ 1029s # /*** END file-production ***/ 1029s # 1029s # /*** BEGIN enumeration-production ***/ 1029s # enumeration-production 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END enumeration-production ***/ 1029s # 1029s # /*** BEGIN value-header ***/ 1029s # value-header 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-header ***/ 1029s # 1029s # /*** BEGIN value-production ***/ 1029s # value-production 1029s # VALUENAME: @VALUENAME@ 1029s # valuenick: @valuenick@ 1029s # valuenum: @valuenum@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-production ***/ 1029s # 1029s # /*** BEGIN value-tail ***/ 1029s # value-tail 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-tail ***/ 1029s # 1029s # /*** BEGIN comment ***/ 1029s # comment 1029s # comment: @comment@ 1029s # /*** END comment ***/ 1029s # 1029s # /*** BEGIN file-tail ***/ 1029s # file-tail 1029s # /*** END file-tail ***/ 1029s # 1029s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp37vb9o2o/tmp0s245nqy.template', '/tmp/tmp37vb9o2o/tmphz5rgse4.h'] 1029s # Return code: 0 1029s # Output: 1029s # comment 1029s # 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. 1029s # 1029s # 1029s # file-header 1029s # file-production 1029s # filename: /tmp/tmp37vb9o2o/tmphz5rgse4.h 1029s # basename: tmphz5rgse4.h 1029s # enumeration-production 1029s # EnumName: SomeEnumA 1029s # enum_name: some_enum_a 1029s # ENUMNAME: SOME_ENUM_A 1029s # ENUMSHORT: ENUM_A 1029s # ENUMPREFIX: SOME 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-header 1029s # EnumName: SomeEnumA 1029s # enum_name: some_enum_a 1029s # ENUMNAME: SOME_ENUM_A 1029s # ENUMSHORT: ENUM_A 1029s # ENUMPREFIX: SOME 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-production 1029s # VALUENAME: ENUM_VALUE_PUBLIC1 1029s # valuenick: public1 1029s # valuenum: 0 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-tail 1029s # EnumName: SomeEnumA 1029s # enum_name: some_enum_a 1029s # ENUMNAME: SOME_ENUM_A 1029s # ENUMSHORT: ENUM_A 1029s # ENUMPREFIX: SOME 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # file-tail 1029s # 1029s # comment 1029s # comment: Generated data ends here 1029s # Error: 1029s # 1029s # /tmp/tmp37vb9o2o/tmp74l_eok1.h: 1029s # typedef enum { 1029s # /*< private >*/ 1029s # ENUM_VALUE_PRIVATE, 1029s # /*< public >*/ 1029s # ENUM_VALUE_PUBLIC2, 1029s # } SomeEnumB; 1029s # 1029s # /tmp/tmp37vb9o2o/tmprxd759r5.template: 1029s # /*** BEGIN file-header ***/ 1029s # file-header 1029s # /*** END file-header ***/ 1029s # 1029s # /*** BEGIN file-production ***/ 1029s # file-production 1029s # filename: @filename@ 1029s # basename: @basename@ 1029s # /*** END file-production ***/ 1029s # 1029s # /*** BEGIN enumeration-production ***/ 1029s # enumeration-production 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END enumeration-production ***/ 1029s # 1029s # /*** BEGIN value-header ***/ 1029s # value-header 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-header ***/ 1029s # 1029s # /*** BEGIN value-production ***/ 1029s # value-production 1029s # VALUENAME: @VALUENAME@ 1029s # valuenick: @valuenick@ 1029s # valuenum: @valuenum@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-production ***/ 1029s # 1029s # /*** BEGIN value-tail ***/ 1029s # value-tail 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-tail ***/ 1029s # 1029s # /*** BEGIN comment ***/ 1029s # comment 1029s # comment: @comment@ 1029s # /*** END comment ***/ 1029s # 1029s # /*** BEGIN file-tail ***/ 1029s # file-tail 1029s # /*** END file-tail ***/ 1029s # 1029s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp37vb9o2o/tmprxd759r5.template', '/tmp/tmp37vb9o2o/tmp74l_eok1.h'] 1029s # Return code: 0 1029s # Output: 1029s # comment 1029s # 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. 1029s # 1029s # 1029s # file-header 1029s # file-production 1029s # filename: /tmp/tmp37vb9o2o/tmp74l_eok1.h 1029s # basename: tmp74l_eok1.h 1029s # enumeration-production 1029s # EnumName: SomeEnumB 1029s # enum_name: some_enum_b 1029s # ENUMNAME: SOME_ENUM_B 1029s # ENUMSHORT: ENUM_B 1029s # ENUMPREFIX: SOME 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-header 1029s # EnumName: SomeEnumB 1029s # enum_name: some_enum_b 1029s # ENUMNAME: SOME_ENUM_B 1029s # ENUMSHORT: ENUM_B 1029s # ENUMPREFIX: SOME 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-production 1029s # VALUENAME: ENUM_VALUE_PUBLIC2 1029s # valuenick: public2 1029s # valuenum: 1 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-tail 1029s # EnumName: SomeEnumB 1029s # enum_name: some_enum_b 1029s # ENUMNAME: SOME_ENUM_B 1029s # ENUMSHORT: ENUM_B 1029s # ENUMPREFIX: SOME 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # file-tail 1029s # 1029s # comment 1029s # comment: Generated data ends here 1029s # Error: 1029s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1029s # glib-mkenums: /usr/bin/glib-mkenums 1029s # tmpdir: /tmp/tmpb61f5rfo 1029s # rspfile: False 1029s # /tmp/tmpb61f5rfo/tmp5c38rpt7.h: 1029s # typedef enum { 1029s # /*< private >*/ 1029s # ENUM_VALUE_PRIVATE = 5, 1029s # /*< public >*/ 1029s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1029s # } TestSymbolicEnum; 1029s # 1029s # /tmp/tmpb61f5rfo/tmpw83itsmp.template: 1029s # /*** BEGIN file-header ***/ 1029s # file-header 1029s # /*** END file-header ***/ 1029s # 1029s # /*** BEGIN file-production ***/ 1029s # file-production 1029s # filename: @filename@ 1029s # basename: @basename@ 1029s # /*** END file-production ***/ 1029s # 1029s # /*** BEGIN enumeration-production ***/ 1029s # enumeration-production 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END enumeration-production ***/ 1029s # 1029s # /*** BEGIN value-header ***/ 1029s # value-header 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-header ***/ 1029s # 1029s # /*** BEGIN value-production ***/ 1029s # value-production 1029s # VALUENAME: @VALUENAME@ 1029s # valuenick: @valuenick@ 1029s # valuenum: @valuenum@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-production ***/ 1029s # 1029s # /*** BEGIN value-tail ***/ 1029s # value-tail 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-tail ***/ 1029s # 1029s # /*** BEGIN comment ***/ 1029s # comment 1029s # comment: @comment@ 1029s # /*** END comment ***/ 1029s # 1029s # /*** BEGIN file-tail ***/ 1029s # file-tail 1029s # /*** END file-tail ***/ 1029s # 1029s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb61f5rfo/tmpw83itsmp.template', '/tmp/tmpb61f5rfo/tmp5c38rpt7.h'] 1029s # Return code: 0 1029s # Output: 1029s # comment 1029s # 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. 1029s # 1029s # 1029s # file-header 1029s # file-production 1029s # filename: /tmp/tmpb61f5rfo/tmp5c38rpt7.h 1029s # basename: tmp5c38rpt7.h 1029s # enumeration-production 1029s # EnumName: TestSymbolicEnum 1029s # enum_name: test_symbolic_enum 1029s # ENUMNAME: TEST_SYMBOLIC_ENUM 1029s # ENUMSHORT: SYMBOLIC_ENUM 1029s # ENUMPREFIX: TEST 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-header 1029s # EnumName: TestSymbolicEnum 1029s # enum_name: test_symbolic_enum 1029s # ENUMNAME: TEST_SYMBOLIC_ENUM 1029s # ENUMSHORT: SYMBOLIC_ENUM 1029s # ENUMPREFIX: TEST 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-production 1029s # VALUENAME: ENUM_VALUE_PUBLIC 1029s # valuenick: public 1029s # valuenum: 7 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-tail 1029s # EnumName: TestSymbolicEnum 1029s # enum_name: test_symbolic_enum 1029s # ENUMNAME: TEST_SYMBOLIC_ENUM 1029s # ENUMSHORT: SYMBOLIC_ENUM 1029s # ENUMPREFIX: TEST 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # file-tail 1029s # 1029s # comment 1029s # comment: Generated data ends here 1029s # Error: 1029s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1029s # glib-mkenums: /usr/bin/glib-mkenums 1029s # tmpdir: /tmp/tmpnutuj57e 1029s # rspfile: False 1029s # /tmp/tmpnutuj57e/tmpx2k65u20.template: 1029s # /*** BEGIN file-header ***/ 1029s # file-header 1029s # filename: @filename@ 1029s # basename: @basename@ 1029s # /*** END file-header ***/ 1029s # 1029s # /*** BEGIN comment ***/ 1029s # comment 1029s # comment: @comment@ 1029s # /*** END comment ***/ 1029s # 1029s # /*** BEGIN file-tail ***/ 1029s # file-tail 1029s # filename: @filename@ 1029s # basename: @basename@ 1029s # /*** END file-tail ***/ 1029s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnutuj57e/tmpx2k65u20.template'] 1029s # Return code: 0 1029s # Output: 1029s # comment 1029s # 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. 1029s # 1029s # 1029s # file-header 1029s # filename: @filename@ 1029s # basename: @basename@ 1029s # file-tail 1029s # filename: @filename@ 1029s # basename: @basename@ 1029s # 1029s # comment 1029s # comment: Generated data ends here 1029s # Error: 1029s # WARNING: @filename@ used in file-header section. 1029s # WARNING: @basename@ used in file-header section. 1029s # WARNING: @filename@ used in file-tail section. 1029s # WARNING: @basename@ used in file-tail section. 1029s ok 11 __main__.TestMkenums.test_help 1029s # glib-mkenums: /usr/bin/glib-mkenums 1029s # tmpdir: /tmp/tmpbc7yu3p4 1029s # rspfile: False 1029s # Running: ['/usr/bin/glib-mkenums', '--help'] 1029s # Return code: 0 1029s # Output: 1029s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1029s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1029s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1029s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1029s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1029s # [--output OUTPUT] [--version] 1029s # [args ...] 1029s # 1029s # positional arguments: 1029s # args One or more input files, or a single argument 1029s # @rspfile_path pointing to a file that contains the 1029s # actual arguments 1029s # 1029s # options: 1029s # -h, --help show this help message and exit 1029s # --identifier-prefix IDPREFIX 1029s # Identifier prefix 1029s # --symbol-prefix SYMPREFIX 1029s # Symbol prefix 1029s # --fhead FHEAD Output file header 1029s # --ftail FTAIL Output file footer 1029s # --fprod FPROD Put out TEXT every time a new input file is being 1029s # processed. 1029s # --eprod EPROD Per enum text, produced prior to value iterations 1029s # --vhead VHEAD Value header, produced before iterating over enum 1029s # values 1029s # --vprod VPROD Value text, produced for each enum value. 1029s # --vtail VTAIL Value tail, produced after iterating over enum values 1029s # --comments COMMENT_TMPL 1029s # Comment structure 1029s # --template TEMPLATE Template file 1029s # --output OUTPUT 1029s # --version, -v Print version information 1029s # 1029s # Production text substitutions: 1029s # @EnumName@ PrefixTheXEnum 1029s # @enum_name@ prefix_the_xenum 1029s # @ENUMNAME@ PREFIX_THE_XENUM 1029s # @ENUMSHORT@ THE_XENUM 1029s # @ENUMPREFIX@ PREFIX 1029s # @enumsince@ the user-provided since value given 1029s # @VALUENAME@ PREFIX_THE_XVALUE 1029s # @valuenick@ the-xvalue 1029s # @valuenum@ the integer value (limited support, Since: 2.26) 1029s # @type@ either enum or flags 1029s # @Type@ either Enum or Flags 1029s # @TYPE@ either ENUM or FLAGS 1029s # @filename@ name of current input file 1029s # @basename@ base name of the current input file (Since: 2.22) 1029s # Error: 1029s ok 12 __main__.TestMkenums.test_no_args 1029s # glib-mkenums: /usr/bin/glib-mkenums 1029s # tmpdir: /tmp/tmpob6v7erh 1029s # rspfile: False 1029s # Running: ['/usr/bin/glib-mkenums'] 1029s # Return code: 0 1029s # Output: 1029s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1029s # 1029s # 1029s # /* Generated data ends here */ 1029s # Error: 1029s ok 13 __main__.TestMkenums.test_no_headers 1029s # glib-mkenums: /usr/bin/glib-mkenums 1029s # tmpdir: /tmp/tmp06ytek6i 1029s # rspfile: False 1029s # /tmp/tmp06ytek6i/tmpj3_ooz0a.template: 1029s # /*** BEGIN file-header ***/ 1029s # file-header 1029s # /*** END file-header ***/ 1029s # 1029s # /*** BEGIN file-production ***/ 1029s # file-production 1029s # filename: @filename@ 1029s # basename: @basename@ 1029s # /*** END file-production ***/ 1029s # 1029s # /*** BEGIN enumeration-production ***/ 1029s # enumeration-production 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END enumeration-production ***/ 1029s # 1029s # /*** BEGIN value-header ***/ 1029s # value-header 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-header ***/ 1029s # 1029s # /*** BEGIN value-production ***/ 1029s # value-production 1029s # VALUENAME: @VALUENAME@ 1029s # valuenick: @valuenick@ 1029s # valuenum: @valuenum@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-production ***/ 1029s # 1029s # /*** BEGIN value-tail ***/ 1029s # value-tail 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-tail ***/ 1029s # 1029s # /*** BEGIN comment ***/ 1029s # comment 1029s # comment: @comment@ 1029s # /*** END comment ***/ 1029s # 1029s # /*** BEGIN file-tail ***/ 1029s # file-tail 1029s # /*** END file-tail ***/ 1029s # 1029s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp06ytek6i/tmpj3_ooz0a.template'] 1029s # Return code: 0 1029s # Output: 1029s # comment 1029s # 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. 1029s # 1029s # 1029s # file-header 1029s # file-tail 1029s # 1029s # comment 1029s # comment: Generated data ends here 1029s # Error: 1029s ok 14 __main__.TestMkenums.test_no_nick 1029s # glib-mkenums: /usr/bin/glib-mkenums 1029s # tmpdir: /tmp/tmprrzr3eif 1029s # rspfile: False 1029s # /tmp/tmprrzr3eif/tmpgrhqzh0e.h: 1029s # typedef enum { 1029s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1029s # } GeglSamplerType; 1029s # 1029s # /tmp/tmprrzr3eif/tmp0n6r5g_6.template: 1029s # /*** BEGIN file-header ***/ 1029s # file-header 1029s # /*** END file-header ***/ 1029s # 1029s # /*** BEGIN file-production ***/ 1029s # file-production 1029s # filename: @filename@ 1029s # basename: @basename@ 1029s # /*** END file-production ***/ 1029s # 1029s # /*** BEGIN enumeration-production ***/ 1029s # enumeration-production 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END enumeration-production ***/ 1029s # 1029s # /*** BEGIN value-header ***/ 1029s # value-header 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-header ***/ 1029s # 1029s # /*** BEGIN value-production ***/ 1029s # value-production 1029s # VALUENAME: @VALUENAME@ 1029s # valuenick: @valuenick@ 1029s # valuenum: @valuenum@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-production ***/ 1029s # 1029s # /*** BEGIN value-tail ***/ 1029s # value-tail 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-tail ***/ 1029s # 1029s # /*** BEGIN comment ***/ 1029s # comment 1029s # comment: @comment@ 1029s # /*** END comment ***/ 1029s # 1029s # /*** BEGIN file-tail ***/ 1029s # file-tail 1029s # /*** END file-tail ***/ 1029s # 1029s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprrzr3eif/tmp0n6r5g_6.template', '/tmp/tmprrzr3eif/tmpgrhqzh0e.h'] 1029s # Return code: 0 1029s # Output: 1029s # comment 1029s # 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. 1029s # 1029s # 1029s # file-header 1029s # file-production 1029s # filename: /tmp/tmprrzr3eif/tmpgrhqzh0e.h 1029s # basename: tmpgrhqzh0e.h 1029s # enumeration-production 1029s # EnumName: GeglSamplerType 1029s # enum_name: gegl_sampler_type 1029s # ENUMNAME: GEGL_SAMPLER_TYPE 1029s # ENUMSHORT: SAMPLER_TYPE 1029s # ENUMPREFIX: GEGL 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-header 1029s # EnumName: GeglSamplerType 1029s # enum_name: gegl_sampler_type 1029s # ENUMNAME: GEGL_SAMPLER_TYPE 1029s # ENUMSHORT: SAMPLER_TYPE 1029s # ENUMPREFIX: GEGL 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-production 1029s # VALUENAME: GEGL_SAMPLER_NEAREST 1029s # valuenick: nearest 1029s # valuenum: 0 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-tail 1029s # EnumName: GeglSamplerType 1029s # enum_name: gegl_sampler_type 1029s # ENUMNAME: GEGL_SAMPLER_TYPE 1029s # ENUMSHORT: SAMPLER_TYPE 1029s # ENUMPREFIX: GEGL 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # file-tail 1029s # 1029s # comment 1029s # comment: Generated data ends here 1029s # Error: 1029s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1029s # glib-mkenums: /usr/bin/glib-mkenums 1029s # tmpdir: /tmp/tmp0eurwg0k 1029s # rspfile: False 1029s # /tmp/tmp0eurwg0k/tmp0opqxit1.h: 1029s # /* Copyright © La Peña */ 1029s # typedef enum { 1029s # ENUM_VALUE 1029s # } SomeEnumIdentifier; 1029s # 1029s # /tmp/tmp0eurwg0k/tmp99it27fl.template: 1029s # /*** BEGIN file-header ***/ 1029s # file-header 1029s # /*** END file-header ***/ 1029s # 1029s # /*** BEGIN file-production ***/ 1029s # file-production 1029s # filename: @filename@ 1029s # basename: @basename@ 1029s # /*** END file-production ***/ 1029s # 1029s # /*** BEGIN enumeration-production ***/ 1029s # enumeration-production 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END enumeration-production ***/ 1029s # 1029s # /*** BEGIN value-header ***/ 1029s # value-header 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-header ***/ 1029s # 1029s # /*** BEGIN value-production ***/ 1029s # value-production 1029s # VALUENAME: @VALUENAME@ 1029s # valuenick: @valuenick@ 1029s # valuenum: @valuenum@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-production ***/ 1029s # 1029s # /*** BEGIN value-tail ***/ 1029s # value-tail 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-tail ***/ 1029s # 1029s # /*** BEGIN comment ***/ 1029s # comment 1029s # comment: @comment@ 1029s # /*** END comment ***/ 1029s # 1029s # /*** BEGIN file-tail ***/ 1029s # file-tail 1029s # /*** END file-tail ***/ 1029s # 1029s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0eurwg0k/tmp99it27fl.template', '/tmp/tmp0eurwg0k/tmp0opqxit1.h'] 1029s # Return code: 0 1029s # Output: 1029s # comment 1029s # 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. 1029s # 1029s # 1029s # file-header 1029s # file-production 1029s # filename: /tmp/tmp0eurwg0k/tmp0opqxit1.h 1029s # basename: tmp0opqxit1.h 1029s # enumeration-production 1029s # EnumName: SomeEnumIdentifier 1029s # enum_name: some_enum_identifier 1029s # ENUMNAME: SOME_ENUM_IDENTIFIER 1029s # ENUMSHORT: ENUM_IDENTIFIER 1029s # ENUMPREFIX: SOME 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-header 1029s # EnumName: SomeEnumIdentifier 1029s # enum_name: some_enum_identifier 1029s # ENUMNAME: SOME_ENUM_IDENTIFIER 1029s # ENUMSHORT: ENUM_IDENTIFIER 1029s # ENUMPREFIX: SOME 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-production 1029s # VALUENAME: ENUM_VALUE 1029s # valuenick: value 1029s # valuenum: 0 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-tail 1029s # EnumName: SomeEnumIdentifier 1029s # enum_name: some_enum_identifier 1029s # ENUMNAME: SOME_ENUM_IDENTIFIER 1029s # ENUMSHORT: ENUM_IDENTIFIER 1029s # ENUMPREFIX: SOME 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # file-tail 1029s # 1029s # comment 1029s # comment: Generated data ends here 1029s # Error: 1029s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1029s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1029s ok 16 __main__.TestMkenums.test_reproducible 1029s # glib-mkenums: /usr/bin/glib-mkenums 1029s # tmpdir: /tmp/tmp7n8j_rme 1029s # rspfile: False 1029s # /tmp/tmp7n8j_rme/tmpmvswxq2o.template: template 1029s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7n8j_rme/tmpmvswxq2o.template', '/tmp/tmp7n8j_rme/tmpz4pi4nh71.h', '/tmp/tmp7n8j_rme/tmp377b7td02.h'] 1029s # Return code: 0 1029s # Output: 1029s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1029s # 1029s # 1029s # /* Generated data ends here */ 1029s # Error: 1029s # 1029s # /tmp/tmp7n8j_rme/tmpudabv1v2.template: template 1029s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7n8j_rme/tmpudabv1v2.template', '/tmp/tmp7n8j_rme/tmp377b7td02.h', '/tmp/tmp7n8j_rme/tmpz4pi4nh71.h'] 1029s # Return code: 0 1029s # Output: 1029s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1029s # 1029s # 1029s # /* Generated data ends here */ 1029s # Error: 1029s ok 17 __main__.TestMkenums.test_since 1029s # glib-mkenums: /usr/bin/glib-mkenums 1029s # tmpdir: /tmp/tmplge7vqxt 1029s # rspfile: False 1029s # /tmp/tmplge7vqxt/tmphr9yhbkz.h: 1029s # typedef enum { /*< since=1.0 >*/ 1029s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1029s # } QmiWmsMessageProtocol; 1029s # 1029s # /tmp/tmplge7vqxt/tmp1q9f61yv.template: 1029s # /*** BEGIN file-header ***/ 1029s # file-header 1029s # /*** END file-header ***/ 1029s # 1029s # /*** BEGIN file-production ***/ 1029s # file-production 1029s # filename: @filename@ 1029s # basename: @basename@ 1029s # /*** END file-production ***/ 1029s # 1029s # /*** BEGIN enumeration-production ***/ 1029s # enumeration-production 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END enumeration-production ***/ 1029s # 1029s # /*** BEGIN value-header ***/ 1029s # value-header 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-header ***/ 1029s # 1029s # /*** BEGIN value-production ***/ 1029s # value-production 1029s # VALUENAME: @VALUENAME@ 1029s # valuenick: @valuenick@ 1029s # valuenum: @valuenum@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-production ***/ 1029s # 1029s # /*** BEGIN value-tail ***/ 1029s # value-tail 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-tail ***/ 1029s # 1029s # /*** BEGIN comment ***/ 1029s # comment 1029s # comment: @comment@ 1029s # /*** END comment ***/ 1029s # 1029s # /*** BEGIN file-tail ***/ 1029s # file-tail 1029s # /*** END file-tail ***/ 1029s # 1029s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplge7vqxt/tmp1q9f61yv.template', '/tmp/tmplge7vqxt/tmphr9yhbkz.h'] 1029s # Return code: 0 1029s # Output: 1029s # comment 1029s # 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. 1029s # 1029s # 1029s # file-header 1029s # file-production 1029s # filename: /tmp/tmplge7vqxt/tmphr9yhbkz.h 1029s # basename: tmphr9yhbkz.h 1029s # enumeration-production 1029s # EnumName: QmiWmsMessageProtocol 1029s # enum_name: qmi_wms_message_protocol 1029s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1029s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1029s # ENUMPREFIX: QMI 1029s # enumsince: 1.0 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-header 1029s # EnumName: QmiWmsMessageProtocol 1029s # enum_name: qmi_wms_message_protocol 1029s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1029s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1029s # ENUMPREFIX: QMI 1029s # enumsince: 1.0 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-production 1029s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1029s # valuenick: cdma 1029s # valuenum: 0 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-tail 1029s # EnumName: QmiWmsMessageProtocol 1029s # enum_name: qmi_wms_message_protocol 1029s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1029s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1029s # ENUMPREFIX: QMI 1029s # enumsince: 1.0 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # file-tail 1029s # 1029s # comment 1029s # comment: Generated data ends here 1029s # Error: 1029s ok 18 __main__.TestMkenums.test_with_double_quotes 1029s # glib-mkenums: /usr/bin/glib-mkenums 1029s # tmpdir: /tmp/tmpel14thow 1029s # rspfile: False 1029s # /tmp/tmpel14thow/tmp6n35dhpd.h: 1029s # typedef enum { 1029s # FOO_VALUE /*< nick="eek, a comma" >*/ 1029s # } Foo; 1029s # 1029s # /tmp/tmpel14thow/tmpffx9mpkn.template: 1029s # /*** BEGIN file-header ***/ 1029s # file-header 1029s # /*** END file-header ***/ 1029s # 1029s # /*** BEGIN file-production ***/ 1029s # file-production 1029s # filename: @filename@ 1029s # basename: @basename@ 1029s # /*** END file-production ***/ 1029s # 1029s # /*** BEGIN enumeration-production ***/ 1029s # enumeration-production 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END enumeration-production ***/ 1029s # 1029s # /*** BEGIN value-header ***/ 1029s # value-header 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-header ***/ 1029s # 1029s # /*** BEGIN value-production ***/ 1029s # value-production 1029s # VALUENAME: @VALUENAME@ 1029s # valuenick: @valuenick@ 1029s # valuenum: @valuenum@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-production ***/ 1029s # 1029s # /*** BEGIN value-tail ***/ 1029s # value-tail 1029s # EnumName: @EnumName@ 1029s # enum_name: @enum_name@ 1029s # ENUMNAME: @ENUMNAME@ 1029s # ENUMSHORT: @ENUMSHORT@ 1029s # ENUMPREFIX: @ENUMPREFIX@ 1029s # enumsince: @enumsince@ 1029s # type: @type@ 1029s # Type: @Type@ 1029s # TYPE: @TYPE@ 1029s # /*** END value-tail ***/ 1029s # 1029s # /*** BEGIN comment ***/ 1029s # comment 1029s # comment: @comment@ 1029s # /*** END comment ***/ 1029s # 1029s # /*** BEGIN file-tail ***/ 1029s # file-tail 1029s # /*** END file-tail ***/ 1029s # 1029s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpel14thow/tmpffx9mpkn.template', '/tmp/tmpel14thow/tmp6n35dhpd.h'] 1029s # Return code: 0 1029s # Output: 1029s # comment 1029s # 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. 1029s # 1029s # 1029s # file-header 1029s # file-production 1029s # filename: /tmp/tmpel14thow/tmp6n35dhpd.h 1029s # basename: tmp6n35dhpd.h 1029s # enumeration-production 1029s # EnumName: Foo 1029s # enum_name: foo_ 1029s # ENUMNAME: FOO_ 1029s # ENUMSHORT: 1029s # ENUMPREFIX: FOO 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-header 1029s # EnumName: Foo 1029s # enum_name: foo_ 1029s # ENUMNAME: FOO_ 1029s # ENUMSHORT: 1029s # ENUMPREFIX: FOO 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-production 1029s # VALUENAME: FOO_VALUE 1029s # valuenick: eek, a comma 1029s # valuenum: 0 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # value-tail 1029s # EnumName: Foo 1029s # enum_name: foo_ 1029s # ENUMNAME: FOO_ 1029s # ENUMSHORT: 1029s # ENUMPREFIX: FOO 1029s # enumsince: 1029s # type: enum 1029s # Type: Enum 1029s # TYPE: ENUM 1029s # file-tail 1029s # 1029s # comment 1029s # comment: Generated data ends here 1029s # Error: 1030s ok 19 __main__.TestRspMkenums.test_available_in 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmpjz15cjcj 1030s # rspfile: True 1030s # /tmp/tmpjz15cjcj/tmpzviyo87o.h: 1030s # typedef enum { 1030s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1030s # } GDBusServerFlags; 1030s # 1030s # /tmp/tmpjz15cjcj/tmp97lr7fqz.template: 1030s # /*** BEGIN file-header ***/ 1030s # file-header 1030s # /*** END file-header ***/ 1030s # 1030s # /*** BEGIN file-production ***/ 1030s # file-production 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-production ***/ 1030s # 1030s # /*** BEGIN enumeration-production ***/ 1030s # enumeration-production 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END enumeration-production ***/ 1030s # 1030s # /*** BEGIN value-header ***/ 1030s # value-header 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-header ***/ 1030s # 1030s # /*** BEGIN value-production ***/ 1030s # value-production 1030s # VALUENAME: @VALUENAME@ 1030s # valuenick: @valuenick@ 1030s # valuenum: @valuenum@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-production ***/ 1030s # 1030s # /*** BEGIN value-tail ***/ 1030s # value-tail 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-tail ***/ 1030s # 1030s # /*** BEGIN comment ***/ 1030s # comment 1030s # comment: @comment@ 1030s # /*** END comment ***/ 1030s # 1030s # /*** BEGIN file-tail ***/ 1030s # file-tail 1030s # /*** END file-tail ***/ 1030s # 1030s # Response file contains: --template /tmp/tmpjz15cjcj/tmp97lr7fqz.template /tmp/tmpjz15cjcj/tmpzviyo87o.h 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjz15cjcj/tmp3_s9qzk6'] 1030s # Return code: 0 1030s # Output: 1030s # comment 1030s # 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. 1030s # 1030s # 1030s # file-header 1030s # file-production 1030s # filename: /tmp/tmpjz15cjcj/tmpzviyo87o.h 1030s # basename: tmpzviyo87o.h 1030s # enumeration-production 1030s # EnumName: GDBusServerFlags 1030s # enum_name: g_dbus_server_flags 1030s # ENUMNAME: G_DBUS_SERVER_FLAGS 1030s # ENUMSHORT: DBUS_SERVER_FLAGS 1030s # ENUMPREFIX: G 1030s # enumsince: 1030s # type: flags 1030s # Type: Flags 1030s # TYPE: FLAGS 1030s # value-header 1030s # EnumName: GDBusServerFlags 1030s # enum_name: g_dbus_server_flags 1030s # ENUMNAME: G_DBUS_SERVER_FLAGS 1030s # ENUMSHORT: DBUS_SERVER_FLAGS 1030s # ENUMPREFIX: G 1030s # enumsince: 1030s # type: flags 1030s # Type: Flags 1030s # TYPE: FLAGS 1030s # value-production 1030s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1030s # valuenick: user 1030s # valuenum: 4 1030s # type: flags 1030s # Type: Flags 1030s # TYPE: FLAGS 1030s # value-tail 1030s # EnumName: GDBusServerFlags 1030s # enum_name: g_dbus_server_flags 1030s # ENUMNAME: G_DBUS_SERVER_FLAGS 1030s # ENUMSHORT: DBUS_SERVER_FLAGS 1030s # ENUMPREFIX: G 1030s # enumsince: 1030s # type: flags 1030s # Type: Flags 1030s # TYPE: FLAGS 1030s # file-tail 1030s # 1030s # comment 1030s # comment: Generated data ends here 1030s # Error: 1030s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmpsewx2_nu 1030s # rspfile: True 1030s # /tmp/tmpsewx2_nu/tmp31s1n3z_.h: 1030s # typedef enum { 1030s # ENUM_VALUE_WITH_COMMA = ',', 1030s # } TestCommaEnum; 1030s # 1030s # /tmp/tmpsewx2_nu/tmpnz34wlze.template: 1030s # /*** BEGIN file-header ***/ 1030s # file-header 1030s # /*** END file-header ***/ 1030s # 1030s # /*** BEGIN file-production ***/ 1030s # file-production 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-production ***/ 1030s # 1030s # /*** BEGIN enumeration-production ***/ 1030s # enumeration-production 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END enumeration-production ***/ 1030s # 1030s # /*** BEGIN value-header ***/ 1030s # value-header 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-header ***/ 1030s # 1030s # /*** BEGIN value-production ***/ 1030s # value-production 1030s # VALUENAME: @VALUENAME@ 1030s # valuenick: @valuenick@ 1030s # valuenum: @valuenum@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-production ***/ 1030s # 1030s # /*** BEGIN value-tail ***/ 1030s # value-tail 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-tail ***/ 1030s # 1030s # /*** BEGIN comment ***/ 1030s # comment 1030s # comment: @comment@ 1030s # /*** END comment ***/ 1030s # 1030s # /*** BEGIN file-tail ***/ 1030s # file-tail 1030s # /*** END file-tail ***/ 1030s # 1030s # Response file contains: --template /tmp/tmpsewx2_nu/tmpnz34wlze.template /tmp/tmpsewx2_nu/tmp31s1n3z_.h 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsewx2_nu/tmppmmmtyw3'] 1030s # Return code: 0 1030s # Output: 1030s # comment 1030s # 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. 1030s # 1030s # 1030s # file-header 1030s # file-production 1030s # filename: /tmp/tmpsewx2_nu/tmp31s1n3z_.h 1030s # basename: tmp31s1n3z_.h 1030s # enumeration-production 1030s # EnumName: TestCommaEnum 1030s # enum_name: test_comma_enum 1030s # ENUMNAME: TEST_COMMA_ENUM 1030s # ENUMSHORT: COMMA_ENUM 1030s # ENUMPREFIX: TEST 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-header 1030s # EnumName: TestCommaEnum 1030s # enum_name: test_comma_enum 1030s # ENUMNAME: TEST_COMMA_ENUM 1030s # ENUMSHORT: COMMA_ENUM 1030s # ENUMPREFIX: TEST 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-production 1030s # VALUENAME: ENUM_VALUE_WITH_COMMA 1030s # valuenick: comma 1030s # valuenum: 44 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-tail 1030s # EnumName: TestCommaEnum 1030s # enum_name: test_comma_enum 1030s # ENUMNAME: TEST_COMMA_ENUM 1030s # ENUMSHORT: COMMA_ENUM 1030s # ENUMPREFIX: TEST 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # file-tail 1030s # 1030s # comment 1030s # comment: Generated data ends here 1030s # Error: 1030s ok 21 __main__.TestRspMkenums.test_deprecated_in 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmpzp6nryvi 1030s # rspfile: True 1030s # /tmp/tmpzp6nryvi/tmp0hjp3m02.h: 1030s # typedef enum { 1030s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1030s # } GDBusServerFlags; 1030s # 1030s # /tmp/tmpzp6nryvi/tmpao9it18v.template: 1030s # /*** BEGIN file-header ***/ 1030s # file-header 1030s # /*** END file-header ***/ 1030s # 1030s # /*** BEGIN file-production ***/ 1030s # file-production 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-production ***/ 1030s # 1030s # /*** BEGIN enumeration-production ***/ 1030s # enumeration-production 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END enumeration-production ***/ 1030s # 1030s # /*** BEGIN value-header ***/ 1030s # value-header 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-header ***/ 1030s # 1030s # /*** BEGIN value-production ***/ 1030s # value-production 1030s # VALUENAME: @VALUENAME@ 1030s # valuenick: @valuenick@ 1030s # valuenum: @valuenum@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-production ***/ 1030s # 1030s # /*** BEGIN value-tail ***/ 1030s # value-tail 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-tail ***/ 1030s # 1030s # /*** BEGIN comment ***/ 1030s # comment 1030s # comment: @comment@ 1030s # /*** END comment ***/ 1030s # 1030s # /*** BEGIN file-tail ***/ 1030s # file-tail 1030s # /*** END file-tail ***/ 1030s # 1030s # Response file contains: --template /tmp/tmpzp6nryvi/tmpao9it18v.template /tmp/tmpzp6nryvi/tmp0hjp3m02.h 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzp6nryvi/tmpl3ap6e0x'] 1030s # Return code: 0 1030s # Output: 1030s # comment 1030s # 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. 1030s # 1030s # 1030s # file-header 1030s # file-production 1030s # filename: /tmp/tmpzp6nryvi/tmp0hjp3m02.h 1030s # basename: tmp0hjp3m02.h 1030s # enumeration-production 1030s # EnumName: GDBusServerFlags 1030s # enum_name: g_dbus_server_flags 1030s # ENUMNAME: G_DBUS_SERVER_FLAGS 1030s # ENUMSHORT: DBUS_SERVER_FLAGS 1030s # ENUMPREFIX: G 1030s # enumsince: 1030s # type: flags 1030s # Type: Flags 1030s # TYPE: FLAGS 1030s # value-header 1030s # EnumName: GDBusServerFlags 1030s # enum_name: g_dbus_server_flags 1030s # ENUMNAME: G_DBUS_SERVER_FLAGS 1030s # ENUMSHORT: DBUS_SERVER_FLAGS 1030s # ENUMPREFIX: G 1030s # enumsince: 1030s # type: flags 1030s # Type: Flags 1030s # TYPE: FLAGS 1030s # value-production 1030s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1030s # valuenick: user 1030s # valuenum: 4 1030s # type: flags 1030s # Type: Flags 1030s # TYPE: FLAGS 1030s # value-tail 1030s # EnumName: GDBusServerFlags 1030s # enum_name: g_dbus_server_flags 1030s # ENUMNAME: G_DBUS_SERVER_FLAGS 1030s # ENUMSHORT: DBUS_SERVER_FLAGS 1030s # ENUMPREFIX: G 1030s # enumsince: 1030s # type: flags 1030s # Type: Flags 1030s # TYPE: FLAGS 1030s # file-tail 1030s # 1030s # comment 1030s # comment: Generated data ends here 1030s # Error: 1030s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmp7gcz64bb 1030s # rspfile: True 1030s # /tmp/tmp7gcz64bb/tmpkk2fqkdi.h: 1030s # typedef enum { 1030s # 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) 1030s # } GDBusServerFlags; 1030s # 1030s # /tmp/tmp7gcz64bb/tmpetbw41cs.template: 1030s # /*** BEGIN file-header ***/ 1030s # file-header 1030s # /*** END file-header ***/ 1030s # 1030s # /*** BEGIN file-production ***/ 1030s # file-production 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-production ***/ 1030s # 1030s # /*** BEGIN enumeration-production ***/ 1030s # enumeration-production 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END enumeration-production ***/ 1030s # 1030s # /*** BEGIN value-header ***/ 1030s # value-header 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-header ***/ 1030s # 1030s # /*** BEGIN value-production ***/ 1030s # value-production 1030s # VALUENAME: @VALUENAME@ 1030s # valuenick: @valuenick@ 1030s # valuenum: @valuenum@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-production ***/ 1030s # 1030s # /*** BEGIN value-tail ***/ 1030s # value-tail 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-tail ***/ 1030s # 1030s # /*** BEGIN comment ***/ 1030s # comment 1030s # comment: @comment@ 1030s # /*** END comment ***/ 1030s # 1030s # /*** BEGIN file-tail ***/ 1030s # file-tail 1030s # /*** END file-tail ***/ 1030s # 1030s # Response file contains: --template /tmp/tmp7gcz64bb/tmpetbw41cs.template /tmp/tmp7gcz64bb/tmpkk2fqkdi.h 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7gcz64bb/tmpn1e7c0gf'] 1030s # Return code: 0 1030s # Output: 1030s # comment 1030s # 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. 1030s # 1030s # 1030s # file-header 1030s # file-production 1030s # filename: /tmp/tmp7gcz64bb/tmpkk2fqkdi.h 1030s # basename: tmpkk2fqkdi.h 1030s # enumeration-production 1030s # EnumName: GDBusServerFlags 1030s # enum_name: g_dbus_server_flags 1030s # ENUMNAME: G_DBUS_SERVER_FLAGS 1030s # ENUMSHORT: DBUS_SERVER_FLAGS 1030s # ENUMPREFIX: G 1030s # enumsince: 1030s # type: flags 1030s # Type: Flags 1030s # TYPE: FLAGS 1030s # value-header 1030s # EnumName: GDBusServerFlags 1030s # enum_name: g_dbus_server_flags 1030s # ENUMNAME: G_DBUS_SERVER_FLAGS 1030s # ENUMSHORT: DBUS_SERVER_FLAGS 1030s # ENUMPREFIX: G 1030s # enumsince: 1030s # type: flags 1030s # Type: Flags 1030s # TYPE: FLAGS 1030s # value-production 1030s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1030s # valuenick: user 1030s # valuenum: 4 1030s # type: flags 1030s # Type: Flags 1030s # TYPE: FLAGS 1030s # value-tail 1030s # EnumName: GDBusServerFlags 1030s # enum_name: g_dbus_server_flags 1030s # ENUMNAME: G_DBUS_SERVER_FLAGS 1030s # ENUMSHORT: DBUS_SERVER_FLAGS 1030s # ENUMPREFIX: G 1030s # enumsince: 1030s # type: flags 1030s # Type: Flags 1030s # TYPE: FLAGS 1030s # file-tail 1030s # 1030s # comment 1030s # comment: Generated data ends here 1030s # Error: 1030s ok 23 __main__.TestRspMkenums.test_empty_header 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmpbczqzus5 1030s # rspfile: True 1030s # /tmp/tmpbczqzus5/tmpr1bba7g9.h: 1030s # /tmp/tmpbczqzus5/tmp_vmri_t0.template: 1030s # /*** BEGIN file-header ***/ 1030s # file-header 1030s # /*** END file-header ***/ 1030s # 1030s # /*** BEGIN file-production ***/ 1030s # file-production 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-production ***/ 1030s # 1030s # /*** BEGIN enumeration-production ***/ 1030s # enumeration-production 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END enumeration-production ***/ 1030s # 1030s # /*** BEGIN value-header ***/ 1030s # value-header 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-header ***/ 1030s # 1030s # /*** BEGIN value-production ***/ 1030s # value-production 1030s # VALUENAME: @VALUENAME@ 1030s # valuenick: @valuenick@ 1030s # valuenum: @valuenum@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-production ***/ 1030s # 1030s # /*** BEGIN value-tail ***/ 1030s # value-tail 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-tail ***/ 1030s # 1030s # /*** BEGIN comment ***/ 1030s # comment 1030s # comment: @comment@ 1030s # /*** END comment ***/ 1030s # 1030s # /*** BEGIN file-tail ***/ 1030s # file-tail 1030s # /*** END file-tail ***/ 1030s # 1030s # Response file contains: --template /tmp/tmpbczqzus5/tmp_vmri_t0.template /tmp/tmpbczqzus5/tmpr1bba7g9.h 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbczqzus5/tmpi7atted4'] 1030s # Return code: 0 1030s # Output: 1030s # comment 1030s # 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. 1030s # 1030s # 1030s # file-header 1030s # file-tail 1030s # 1030s # comment 1030s # comment: Generated data ends here 1030s # Error: 1030s ok 24 __main__.TestRspMkenums.test_empty_template 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmp4bhvp1rc 1030s # rspfile: True 1030s # /tmp/tmp4bhvp1rc/tmptrs4n9qp.template: 1030s # Response file contains: --template /tmp/tmp4bhvp1rc/tmptrs4n9qp.template 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4bhvp1rc/tmp96zkasgl'] 1030s # Return code: 0 1030s # Output: 1030s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1030s # 1030s # 1030s # /* Generated data ends here */ 1030s # Error: 1030s ok 25 __main__.TestRspMkenums.test_enum_name 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmpx6t2c6xj 1030s # rspfile: True 1030s # /tmp/tmpx6t2c6xj/tmp7n1qha83.h: 1030s # typedef enum _SomeEnumIdentifier { 1030s # ENUM_VALUE 1030s # } SomeEnumIdentifier; 1030s # 1030s # /tmp/tmpx6t2c6xj/tmp67q5yuyk.template: 1030s # /*** BEGIN file-header ***/ 1030s # file-header 1030s # /*** END file-header ***/ 1030s # 1030s # /*** BEGIN file-production ***/ 1030s # file-production 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-production ***/ 1030s # 1030s # /*** BEGIN enumeration-production ***/ 1030s # enumeration-production 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END enumeration-production ***/ 1030s # 1030s # /*** BEGIN value-header ***/ 1030s # value-header 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-header ***/ 1030s # 1030s # /*** BEGIN value-production ***/ 1030s # value-production 1030s # VALUENAME: @VALUENAME@ 1030s # valuenick: @valuenick@ 1030s # valuenum: @valuenum@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-production ***/ 1030s # 1030s # /*** BEGIN value-tail ***/ 1030s # value-tail 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-tail ***/ 1030s # 1030s # /*** BEGIN comment ***/ 1030s # comment 1030s # comment: @comment@ 1030s # /*** END comment ***/ 1030s # 1030s # /*** BEGIN file-tail ***/ 1030s # file-tail 1030s # /*** END file-tail ***/ 1030s # 1030s # Response file contains: --template /tmp/tmpx6t2c6xj/tmp67q5yuyk.template /tmp/tmpx6t2c6xj/tmp7n1qha83.h 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpx6t2c6xj/tmps6w2tzp9'] 1030s # Return code: 0 1030s # Output: 1030s # comment 1030s # 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. 1030s # 1030s # 1030s # file-header 1030s # file-production 1030s # filename: /tmp/tmpx6t2c6xj/tmp7n1qha83.h 1030s # basename: tmp7n1qha83.h 1030s # enumeration-production 1030s # EnumName: SomeEnumIdentifier 1030s # enum_name: some_enum_identifier 1030s # ENUMNAME: SOME_ENUM_IDENTIFIER 1030s # ENUMSHORT: ENUM_IDENTIFIER 1030s # ENUMPREFIX: SOME 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-header 1030s # EnumName: SomeEnumIdentifier 1030s # enum_name: some_enum_identifier 1030s # ENUMNAME: SOME_ENUM_IDENTIFIER 1030s # ENUMSHORT: ENUM_IDENTIFIER 1030s # ENUMPREFIX: SOME 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-production 1030s # VALUENAME: ENUM_VALUE 1030s # valuenick: value 1030s # valuenum: 0 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-tail 1030s # EnumName: SomeEnumIdentifier 1030s # enum_name: some_enum_identifier 1030s # ENUMNAME: SOME_ENUM_IDENTIFIER 1030s # ENUMSHORT: ENUM_IDENTIFIER 1030s # ENUMPREFIX: SOME 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # file-tail 1030s # 1030s # comment 1030s # comment: Generated data ends here 1030s # Error: 1030s ok 26 __main__.TestRspMkenums.test_enum_private_public 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmpzbl0fp5b 1030s # rspfile: True 1030s # /tmp/tmpzbl0fp5b/tmplk3pjuwg.h: 1030s # typedef enum { 1030s # ENUM_VALUE_PUBLIC1, 1030s # /*< private >*/ 1030s # ENUM_VALUE_PRIVATE, 1030s # } SomeEnumA 1030s # 1030s # /tmp/tmpzbl0fp5b/tmp2mjglb0m.template: 1030s # /*** BEGIN file-header ***/ 1030s # file-header 1030s # /*** END file-header ***/ 1030s # 1030s # /*** BEGIN file-production ***/ 1030s # file-production 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-production ***/ 1030s # 1030s # /*** BEGIN enumeration-production ***/ 1030s # enumeration-production 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END enumeration-production ***/ 1030s # 1030s # /*** BEGIN value-header ***/ 1030s # value-header 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-header ***/ 1030s # 1030s # /*** BEGIN value-production ***/ 1030s # value-production 1030s # VALUENAME: @VALUENAME@ 1030s # valuenick: @valuenick@ 1030s # valuenum: @valuenum@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-production ***/ 1030s # 1030s # /*** BEGIN value-tail ***/ 1030s # value-tail 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-tail ***/ 1030s # 1030s # /*** BEGIN comment ***/ 1030s # comment 1030s # comment: @comment@ 1030s # /*** END comment ***/ 1030s # 1030s # /*** BEGIN file-tail ***/ 1030s # file-tail 1030s # /*** END file-tail ***/ 1030s # 1030s # Response file contains: --template /tmp/tmpzbl0fp5b/tmp2mjglb0m.template /tmp/tmpzbl0fp5b/tmplk3pjuwg.h 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzbl0fp5b/tmpg2j917if'] 1030s # Return code: 0 1030s # Output: 1030s # comment 1030s # 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. 1030s # 1030s # 1030s # file-header 1030s # file-production 1030s # filename: /tmp/tmpzbl0fp5b/tmplk3pjuwg.h 1030s # basename: tmplk3pjuwg.h 1030s # enumeration-production 1030s # EnumName: SomeEnumA 1030s # enum_name: some_enum_a 1030s # ENUMNAME: SOME_ENUM_A 1030s # ENUMSHORT: ENUM_A 1030s # ENUMPREFIX: SOME 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-header 1030s # EnumName: SomeEnumA 1030s # enum_name: some_enum_a 1030s # ENUMNAME: SOME_ENUM_A 1030s # ENUMSHORT: ENUM_A 1030s # ENUMPREFIX: SOME 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-production 1030s # VALUENAME: ENUM_VALUE_PUBLIC1 1030s # valuenick: public1 1030s # valuenum: 0 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-tail 1030s # EnumName: SomeEnumA 1030s # enum_name: some_enum_a 1030s # ENUMNAME: SOME_ENUM_A 1030s # ENUMSHORT: ENUM_A 1030s # ENUMPREFIX: SOME 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # file-tail 1030s # 1030s # comment 1030s # comment: Generated data ends here 1030s # Error: 1030s # 1030s # /tmp/tmpzbl0fp5b/tmpl8gwfzdc.h: 1030s # typedef enum { 1030s # /*< private >*/ 1030s # ENUM_VALUE_PRIVATE, 1030s # /*< public >*/ 1030s # ENUM_VALUE_PUBLIC2, 1030s # } SomeEnumB; 1030s # 1030s # /tmp/tmpzbl0fp5b/tmpj8yyisua.template: 1030s # /*** BEGIN file-header ***/ 1030s # file-header 1030s # /*** END file-header ***/ 1030s # 1030s # /*** BEGIN file-production ***/ 1030s # file-production 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-production ***/ 1030s # 1030s # /*** BEGIN enumeration-production ***/ 1030s # enumeration-production 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END enumeration-production ***/ 1030s # 1030s # /*** BEGIN value-header ***/ 1030s # value-header 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-header ***/ 1030s # 1030s # /*** BEGIN value-production ***/ 1030s # value-production 1030s # VALUENAME: @VALUENAME@ 1030s # valuenick: @valuenick@ 1030s # valuenum: @valuenum@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-production ***/ 1030s # 1030s # /*** BEGIN value-tail ***/ 1030s # value-tail 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-tail ***/ 1030s # 1030s # /*** BEGIN comment ***/ 1030s # comment 1030s # comment: @comment@ 1030s # /*** END comment ***/ 1030s # 1030s # /*** BEGIN file-tail ***/ 1030s # file-tail 1030s # /*** END file-tail ***/ 1030s # 1030s # Response file contains: --template /tmp/tmpzbl0fp5b/tmpj8yyisua.template /tmp/tmpzbl0fp5b/tmpl8gwfzdc.h 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzbl0fp5b/tmp7jqp9j2q'] 1030s # Return code: 0 1030s # Output: 1030s # comment 1030s # 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. 1030s # 1030s # 1030s # file-header 1030s # file-production 1030s # filename: /tmp/tmpzbl0fp5b/tmpl8gwfzdc.h 1030s # basename: tmpl8gwfzdc.h 1030s # enumeration-production 1030s # EnumName: SomeEnumB 1030s # enum_name: some_enum_b 1030s # ENUMNAME: SOME_ENUM_B 1030s # ENUMSHORT: ENUM_B 1030s # ENUMPREFIX: SOME 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-header 1030s # EnumName: SomeEnumB 1030s # enum_name: some_enum_b 1030s # ENUMNAME: SOME_ENUM_B 1030s # ENUMSHORT: ENUM_B 1030s # ENUMPREFIX: SOME 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-production 1030s # VALUENAME: ENUM_VALUE_PUBLIC2 1030s # valuenick: public2 1030s # valuenum: 1 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-tail 1030s # EnumName: SomeEnumB 1030s # enum_name: some_enum_b 1030s # ENUMNAME: SOME_ENUM_B 1030s # ENUMSHORT: ENUM_B 1030s # ENUMPREFIX: SOME 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # file-tail 1030s # 1030s # comment 1030s # comment: Generated data ends here 1030s # Error: 1030s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmpoz5jj626 1030s # rspfile: True 1030s # /tmp/tmpoz5jj626/tmpaffhi3mf.h: 1030s # typedef enum { 1030s # /*< private >*/ 1030s # ENUM_VALUE_PRIVATE = 5, 1030s # /*< public >*/ 1030s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1030s # } TestSymbolicEnum; 1030s # 1030s # /tmp/tmpoz5jj626/tmpcjkhg2q4.template: 1030s # /*** BEGIN file-header ***/ 1030s # file-header 1030s # /*** END file-header ***/ 1030s # 1030s # /*** BEGIN file-production ***/ 1030s # file-production 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-production ***/ 1030s # 1030s # /*** BEGIN enumeration-production ***/ 1030s # enumeration-production 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END enumeration-production ***/ 1030s # 1030s # /*** BEGIN value-header ***/ 1030s # value-header 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-header ***/ 1030s # 1030s # /*** BEGIN value-production ***/ 1030s # value-production 1030s # VALUENAME: @VALUENAME@ 1030s # valuenick: @valuenick@ 1030s # valuenum: @valuenum@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-production ***/ 1030s # 1030s # /*** BEGIN value-tail ***/ 1030s # value-tail 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-tail ***/ 1030s # 1030s # /*** BEGIN comment ***/ 1030s # comment 1030s # comment: @comment@ 1030s # /*** END comment ***/ 1030s # 1030s # /*** BEGIN file-tail ***/ 1030s # file-tail 1030s # /*** END file-tail ***/ 1030s # 1030s # Response file contains: --template /tmp/tmpoz5jj626/tmpcjkhg2q4.template /tmp/tmpoz5jj626/tmpaffhi3mf.h 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpoz5jj626/tmpnevapefc'] 1030s # Return code: 0 1030s # Output: 1030s # comment 1030s # 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. 1030s # 1030s # 1030s # file-header 1030s # file-production 1030s # filename: /tmp/tmpoz5jj626/tmpaffhi3mf.h 1030s # basename: tmpaffhi3mf.h 1030s # enumeration-production 1030s # EnumName: TestSymbolicEnum 1030s # enum_name: test_symbolic_enum 1030s # ENUMNAME: TEST_SYMBOLIC_ENUM 1030s # ENUMSHORT: SYMBOLIC_ENUM 1030s # ENUMPREFIX: TEST 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-header 1030s # EnumName: TestSymbolicEnum 1030s # enum_name: test_symbolic_enum 1030s # ENUMNAME: TEST_SYMBOLIC_ENUM 1030s # ENUMSHORT: SYMBOLIC_ENUM 1030s # ENUMPREFIX: TEST 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-production 1030s # VALUENAME: ENUM_VALUE_PUBLIC 1030s # valuenick: public 1030s # valuenum: 7 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-tail 1030s # EnumName: TestSymbolicEnum 1030s # enum_name: test_symbolic_enum 1030s # ENUMNAME: TEST_SYMBOLIC_ENUM 1030s # ENUMSHORT: SYMBOLIC_ENUM 1030s # ENUMPREFIX: TEST 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # file-tail 1030s # 1030s # comment 1030s # comment: Generated data ends here 1030s # Error: 1030s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmpzddqp3n6 1030s # rspfile: True 1030s # /tmp/tmpzddqp3n6/tmplqafsuxq.template: 1030s # /*** BEGIN file-header ***/ 1030s # file-header 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-header ***/ 1030s # 1030s # /*** BEGIN comment ***/ 1030s # comment 1030s # comment: @comment@ 1030s # /*** END comment ***/ 1030s # 1030s # /*** BEGIN file-tail ***/ 1030s # file-tail 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-tail ***/ 1030s # Response file contains: --template /tmp/tmpzddqp3n6/tmplqafsuxq.template 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzddqp3n6/tmpieo486az'] 1030s # Return code: 0 1030s # Output: 1030s # comment 1030s # 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. 1030s # 1030s # 1030s # file-header 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # file-tail 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # 1030s # comment 1030s # comment: Generated data ends here 1030s # Error: 1030s # WARNING: @filename@ used in file-header section. 1030s # WARNING: @basename@ used in file-header section. 1030s # WARNING: @filename@ used in file-tail section. 1030s # WARNING: @basename@ used in file-tail section. 1030s ok 29 __main__.TestRspMkenums.test_help 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmp_och1bvt 1030s # rspfile: True 1030s # Response file contains: --help 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_och1bvt/tmp8dze4lt7'] 1030s # Return code: 0 1030s # Output: 1030s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1030s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1030s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1030s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1030s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1030s # [--output OUTPUT] [--version] 1030s # [args ...] 1030s # 1030s # positional arguments: 1030s # args One or more input files, or a single argument 1030s # @rspfile_path pointing to a file that contains the 1030s # actual arguments 1030s # 1030s # options: 1030s # -h, --help show this help message and exit 1030s # --identifier-prefix IDPREFIX 1030s # Identifier prefix 1030s # --symbol-prefix SYMPREFIX 1030s # Symbol prefix 1030s # --fhead FHEAD Output file header 1030s # --ftail FTAIL Output file footer 1030s # --fprod FPROD Put out TEXT every time a new input file is being 1030s # processed. 1030s # --eprod EPROD Per enum text, produced prior to value iterations 1030s # --vhead VHEAD Value header, produced before iterating over enum 1030s # values 1030s # --vprod VPROD Value text, produced for each enum value. 1030s # --vtail VTAIL Value tail, produced after iterating over enum values 1030s # --comments COMMENT_TMPL 1030s # Comment structure 1030s # --template TEMPLATE Template file 1030s # --output OUTPUT 1030s # --version, -v Print version information 1030s # 1030s # Production text substitutions: 1030s # @EnumName@ PrefixTheXEnum 1030s # @enum_name@ prefix_the_xenum 1030s # @ENUMNAME@ PREFIX_THE_XENUM 1030s # @ENUMSHORT@ THE_XENUM 1030s # @ENUMPREFIX@ PREFIX 1030s # @enumsince@ the user-provided since value given 1030s # @VALUENAME@ PREFIX_THE_XVALUE 1030s # @valuenick@ the-xvalue 1030s # @valuenum@ the integer value (limited support, Since: 2.26) 1030s # @type@ either enum or flags 1030s # @Type@ either Enum or Flags 1030s # @TYPE@ either ENUM or FLAGS 1030s # @filename@ name of current input file 1030s # @basename@ base name of the current input file (Since: 2.22) 1030s # Error: 1030s ok 30 __main__.TestRspMkenums.test_no_args 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmpfpm9_7cu 1030s # rspfile: True 1030s # Response file contains: 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfpm9_7cu/tmp5egszz2l'] 1030s # Return code: 0 1030s # Output: 1030s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1030s # 1030s # 1030s # /* Generated data ends here */ 1030s # Error: 1030s ok 31 __main__.TestRspMkenums.test_no_headers 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmptqicibk8 1030s # rspfile: True 1030s # /tmp/tmptqicibk8/tmp3lugn8z9.template: 1030s # /*** BEGIN file-header ***/ 1030s # file-header 1030s # /*** END file-header ***/ 1030s # 1030s # /*** BEGIN file-production ***/ 1030s # file-production 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-production ***/ 1030s # 1030s # /*** BEGIN enumeration-production ***/ 1030s # enumeration-production 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END enumeration-production ***/ 1030s # 1030s # /*** BEGIN value-header ***/ 1030s # value-header 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-header ***/ 1030s # 1030s # /*** BEGIN value-production ***/ 1030s # value-production 1030s # VALUENAME: @VALUENAME@ 1030s # valuenick: @valuenick@ 1030s # valuenum: @valuenum@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-production ***/ 1030s # 1030s # /*** BEGIN value-tail ***/ 1030s # value-tail 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-tail ***/ 1030s # 1030s # /*** BEGIN comment ***/ 1030s # comment 1030s # comment: @comment@ 1030s # /*** END comment ***/ 1030s # 1030s # /*** BEGIN file-tail ***/ 1030s # file-tail 1030s # /*** END file-tail ***/ 1030s # 1030s # Response file contains: --template /tmp/tmptqicibk8/tmp3lugn8z9.template 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptqicibk8/tmpkv0eyc8p'] 1030s # Return code: 0 1030s # Output: 1030s # comment 1030s # 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. 1030s # 1030s # 1030s # file-header 1030s # file-tail 1030s # 1030s # comment 1030s # comment: Generated data ends here 1030s # Error: 1030s ok 32 __main__.TestRspMkenums.test_no_nick 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmp_aikdawe 1030s # rspfile: True 1030s # /tmp/tmp_aikdawe/tmpznusi6lf.h: 1030s # typedef enum { 1030s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1030s # } GeglSamplerType; 1030s # 1030s # /tmp/tmp_aikdawe/tmp_0wqdtge.template: 1030s # /*** BEGIN file-header ***/ 1030s # file-header 1030s # /*** END file-header ***/ 1030s # 1030s # /*** BEGIN file-production ***/ 1030s # file-production 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-production ***/ 1030s # 1030s # /*** BEGIN enumeration-production ***/ 1030s # enumeration-production 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END enumeration-production ***/ 1030s # 1030s # /*** BEGIN value-header ***/ 1030s # value-header 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-header ***/ 1030s # 1030s # /*** BEGIN value-production ***/ 1030s # value-production 1030s # VALUENAME: @VALUENAME@ 1030s # valuenick: @valuenick@ 1030s # valuenum: @valuenum@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-production ***/ 1030s # 1030s # /*** BEGIN value-tail ***/ 1030s # value-tail 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-tail ***/ 1030s # 1030s # /*** BEGIN comment ***/ 1030s # comment 1030s # comment: @comment@ 1030s # /*** END comment ***/ 1030s # 1030s # /*** BEGIN file-tail ***/ 1030s # file-tail 1030s # /*** END file-tail ***/ 1030s # 1030s # Response file contains: --template /tmp/tmp_aikdawe/tmp_0wqdtge.template /tmp/tmp_aikdawe/tmpznusi6lf.h 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_aikdawe/tmpbzlcvd3c'] 1030s # Return code: 0 1030s # Output: 1030s # comment 1030s # 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. 1030s # 1030s # 1030s # file-header 1030s # file-production 1030s # filename: /tmp/tmp_aikdawe/tmpznusi6lf.h 1030s # basename: tmpznusi6lf.h 1030s # enumeration-production 1030s # EnumName: GeglSamplerType 1030s # enum_name: gegl_sampler_type 1030s # ENUMNAME: GEGL_SAMPLER_TYPE 1030s # ENUMSHORT: SAMPLER_TYPE 1030s # ENUMPREFIX: GEGL 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-header 1030s # EnumName: GeglSamplerType 1030s # enum_name: gegl_sampler_type 1030s # ENUMNAME: GEGL_SAMPLER_TYPE 1030s # ENUMSHORT: SAMPLER_TYPE 1030s # ENUMPREFIX: GEGL 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-production 1030s # VALUENAME: GEGL_SAMPLER_NEAREST 1030s # valuenick: nearest 1030s # valuenum: 0 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-tail 1030s # EnumName: GeglSamplerType 1030s # enum_name: gegl_sampler_type 1030s # ENUMNAME: GEGL_SAMPLER_TYPE 1030s # ENUMSHORT: SAMPLER_TYPE 1030s # ENUMPREFIX: GEGL 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # file-tail 1030s # 1030s # comment 1030s # comment: Generated data ends here 1030s # Error: 1030s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmp2ag2dy57 1030s # rspfile: True 1030s # /tmp/tmp2ag2dy57/tmp0ei6yuin.h: 1030s # /* Copyright © La Peña */ 1030s # typedef enum { 1030s # ENUM_VALUE 1030s # } SomeEnumIdentifier; 1030s # 1030s # /tmp/tmp2ag2dy57/tmpkobhlslh.template: 1030s # /*** BEGIN file-header ***/ 1030s # file-header 1030s # /*** END file-header ***/ 1030s # 1030s # /*** BEGIN file-production ***/ 1030s # file-production 1030s # filename: @filename@ 1030s # basename: @basename@ 1030s # /*** END file-production ***/ 1030s # 1030s # /*** BEGIN enumeration-production ***/ 1030s # enumeration-production 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END enumeration-production ***/ 1030s # 1030s # /*** BEGIN value-header ***/ 1030s # value-header 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-header ***/ 1030s # 1030s # /*** BEGIN value-production ***/ 1030s # value-production 1030s # VALUENAME: @VALUENAME@ 1030s # valuenick: @valuenick@ 1030s # valuenum: @valuenum@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-production ***/ 1030s # 1030s # /*** BEGIN value-tail ***/ 1030s # value-tail 1030s # EnumName: @EnumName@ 1030s # enum_name: @enum_name@ 1030s # ENUMNAME: @ENUMNAME@ 1030s # ENUMSHORT: @ENUMSHORT@ 1030s # ENUMPREFIX: @ENUMPREFIX@ 1030s # enumsince: @enumsince@ 1030s # type: @type@ 1030s # Type: @Type@ 1030s # TYPE: @TYPE@ 1030s # /*** END value-tail ***/ 1030s # 1030s # /*** BEGIN comment ***/ 1030s # comment 1030s # comment: @comment@ 1030s # /*** END comment ***/ 1030s # 1030s # /*** BEGIN file-tail ***/ 1030s # file-tail 1030s # /*** END file-tail ***/ 1030s # 1030s # Response file contains: --template /tmp/tmp2ag2dy57/tmpkobhlslh.template /tmp/tmp2ag2dy57/tmp0ei6yuin.h 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2ag2dy57/tmpbn8t40fn'] 1030s # Return code: 0 1030s # Output: 1030s # comment 1030s # 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. 1030s # 1030s # 1030s # file-header 1030s # file-production 1030s # filename: /tmp/tmp2ag2dy57/tmp0ei6yuin.h 1030s # basename: tmp0ei6yuin.h 1030s # enumeration-production 1030s # EnumName: SomeEnumIdentifier 1030s # enum_name: some_enum_identifier 1030s # ENUMNAME: SOME_ENUM_IDENTIFIER 1030s # ENUMSHORT: ENUM_IDENTIFIER 1030s # ENUMPREFIX: SOME 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-header 1030s # EnumName: SomeEnumIdentifier 1030s # enum_name: some_enum_identifier 1030s # ENUMNAME: SOME_ENUM_IDENTIFIER 1030s # ENUMSHORT: ENUM_IDENTIFIER 1030s # ENUMPREFIX: SOME 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-production 1030s # VALUENAME: ENUM_VALUE 1030s # valuenick: value 1030s # valuenum: 0 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # value-tail 1030s # EnumName: SomeEnumIdentifier 1030s # enum_name: some_enum_identifier 1030s # ENUMNAME: SOME_ENUM_IDENTIFIER 1030s # ENUMSHORT: ENUM_IDENTIFIER 1030s # ENUMPREFIX: SOME 1030s # enumsince: 1030s # type: enum 1030s # Type: Enum 1030s # TYPE: ENUM 1030s # file-tail 1030s # 1030s # comment 1030s # comment: Generated data ends here 1030s # Error: 1030s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1030s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1030s ok 34 __main__.TestRspMkenums.test_reproducible 1030s # glib-mkenums: /usr/bin/glib-mkenums 1030s # tmpdir: /tmp/tmpb8ml4ct9 1030s # rspfile: True 1030s # /tmp/tmpb8ml4ct9/tmp6eh3kfwb.template: template 1030s # Response file contains: --template /tmp/tmpb8ml4ct9/tmp6eh3kfwb.template /tmp/tmpb8ml4ct9/tmpm24eid3h1.h /tmp/tmpb8ml4ct9/tmp9_msqkfl2.h 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpb8ml4ct9/tmp0ias7b3s'] 1030s # Return code: 0 1030s # Output: 1030s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1030s # 1030s # 1030s # /* Generated data ends here */ 1030s # Error: 1030s # 1030s # /tmp/tmpb8ml4ct9/tmp8nu__2g3.template: template 1030s # Response file contains: --template /tmp/tmpb8ml4ct9/tmp8nu__2g3.template /tmp/tmpb8ml4ct9/tmp9_msqkfl2.h /tmp/tmpb8ml4ct9/tmpm24eid3h1.h 1030s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpb8ml4ct9/tmpgutafwc5'] 1030s # Return code: 0 1030s # Output: 1030s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1030s # 1030s # 1030s # /* Generated data ends here */ 1030s # Error: 1031s ok 35 __main__.TestRspMkenums.test_since 1031s # glib-mkenums: /usr/bin/glib-mkenums 1031s # tmpdir: /tmp/tmpxob40e6o 1031s # rspfile: True 1031s # /tmp/tmpxob40e6o/tmpj2ers4vd.h: 1031s # typedef enum { /*< since=1.0 >*/ 1031s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1031s # } QmiWmsMessageProtocol; 1031s # 1031s # /tmp/tmpxob40e6o/tmp8a834d76.template: 1031s # /*** BEGIN file-header ***/ 1031s # file-header 1031s # /*** END file-header ***/ 1031s # 1031s # /*** BEGIN file-production ***/ 1031s # file-production 1031s # filename: @filename@ 1031s # basename: @basename@ 1031s # /*** END file-production ***/ 1031s # 1031s # /*** BEGIN enumeration-production ***/ 1031s # enumeration-production 1031s # EnumName: @EnumName@ 1031s # enum_name: @enum_name@ 1031s # ENUMNAME: @ENUMNAME@ 1031s # ENUMSHORT: @ENUMSHORT@ 1031s # ENUMPREFIX: @ENUMPREFIX@ 1031s # enumsince: @enumsince@ 1031s # type: @type@ 1031s # Type: @Type@ 1031s # TYPE: @TYPE@ 1031s # /*** END enumeration-production ***/ 1031s # 1031s # /*** BEGIN value-header ***/ 1031s # value-header 1031s # EnumName: @EnumName@ 1031s # enum_name: @enum_name@ 1031s # ENUMNAME: @ENUMNAME@ 1031s # ENUMSHORT: @ENUMSHORT@ 1031s # ENUMPREFIX: @ENUMPREFIX@ 1031s # enumsince: @enumsince@ 1031s # type: @type@ 1031s # Type: @Type@ 1031s # TYPE: @TYPE@ 1031s # /*** END value-header ***/ 1031s # 1031s # /*** BEGIN value-production ***/ 1031s # value-production 1031s # VALUENAME: @VALUENAME@ 1031s # valuenick: @valuenick@ 1031s # valuenum: @valuenum@ 1031s # type: @type@ 1031s # Type: @Type@ 1031s # TYPE: @TYPE@ 1031s # /*** END value-production ***/ 1031s # 1031s # /*** BEGIN value-tail ***/ 1031s # value-tail 1031s # EnumName: @EnumName@ 1031s # enum_name: @enum_name@ 1031s # ENUMNAME: @ENUMNAME@ 1031s # ENUMSHORT: @ENUMSHORT@ 1031s # ENUMPREFIX: @ENUMPREFIX@ 1031s # enumsince: @enumsince@ 1031s # type: @type@ 1031s # Type: @Type@ 1031s # TYPE: @TYPE@ 1031s # /*** END value-tail ***/ 1031s # 1031s # /*** BEGIN comment ***/ 1031s # comment 1031s # comment: @comment@ 1031s # /*** END comment ***/ 1031s # 1031s # /*** BEGIN file-tail ***/ 1031s # file-tail 1031s # /*** END file-tail ***/ 1031s # 1031s # Response file contains: --template /tmp/tmpxob40e6o/tmp8a834d76.template /tmp/tmpxob40e6o/tmpj2ers4vd.h 1031s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxob40e6o/tmplxa0f_ip'] 1031s # Return code: 0 1031s # Output: 1031s # comment 1031s # 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. 1031s # 1031s # 1031s # file-header 1031s # file-production 1031s # filename: /tmp/tmpxob40e6o/tmpj2ers4vd.h 1031s # basename: tmpj2ers4vd.h 1031s # enumeration-production 1031s # EnumName: QmiWmsMessageProtocol 1031s # enum_name: qmi_wms_message_protocol 1031s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1031s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1031s # ENUMPREFIX: QMI 1031s # enumsince: 1.0 1031s # type: enum 1031s # Type: Enum 1031s # TYPE: ENUM 1031s # value-header 1031s # EnumName: QmiWmsMessageProtocol 1031s # enum_name: qmi_wms_message_protocol 1031s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1031s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1031s # ENUMPREFIX: QMI 1031s # enumsince: 1.0 1031s # type: enum 1031s # Type: Enum 1031s # TYPE: ENUM 1031s # value-production 1031s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1031s # valuenick: cdma 1031s # valuenum: 0 1031s # type: enum 1031s # Type: Enum 1031s # TYPE: ENUM 1031s # value-tail 1031s # EnumName: QmiWmsMessageProtocol 1031s # enum_name: qmi_wms_message_protocol 1031s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1031s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1031s # ENUMPREFIX: QMI 1031s # enumsince: 1.0 1031s # type: enum 1031s # Type: Enum 1031s # TYPE: ENUM 1031s # file-tail 1031s # 1031s # comment 1031s # comment: Generated data ends here 1031s # Error: 1031s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1031s # glib-mkenums: /usr/bin/glib-mkenums 1031s # tmpdir: /tmp/tmprby6wl05 1031s # rspfile: True 1031s # /tmp/tmprby6wl05/tmprolpm27v.h: 1031s # typedef enum { 1031s # FOO_VALUE /*< nick="eek, a comma" >*/ 1031s # } Foo; 1031s # 1031s # /tmp/tmprby6wl05/tmpuz3wg4p0.template: 1031s # /*** BEGIN file-header ***/ 1031s # file-header 1031s # /*** END file-header ***/ 1031s # 1031s # /*** BEGIN file-production ***/ 1031s # file-production 1031s # filename: @filename@ 1031s # basename: @basename@ 1031s # /*** END file-production ***/ 1031s # 1031s # /*** BEGIN enumeration-production ***/ 1031s # enumeration-production 1031s # EnumName: @EnumName@ 1031s # enum_name: @enum_name@ 1031s # ENUMNAME: @ENUMNAME@ 1031s # ENUMSHORT: @ENUMSHORT@ 1031s # ENUMPREFIX: @ENUMPREFIX@ 1031s # enumsince: @enumsince@ 1031s # type: @type@ 1031s # Type: @Type@ 1031s # TYPE: @TYPE@ 1031s # /*** END enumeration-production ***/ 1031s # 1031s # /*** BEGIN value-header ***/ 1031s # value-header 1031s # EnumName: @EnumName@ 1031s # enum_name: @enum_name@ 1031s # ENUMNAME: @ENUMNAME@ 1031s # ENUMSHORT: @ENUMSHORT@ 1031s # ENUMPREFIX: @ENUMPREFIX@ 1031s # enumsince: @enumsince@ 1031s # type: @type@ 1031s # Type: @Type@ 1031s # TYPE: @TYPE@ 1031s # /*** END value-header ***/ 1031s # 1031s # /*** BEGIN value-production ***/ 1031s # value-production 1031s # VALUENAME: @VALUENAME@ 1031s # valuenick: @valuenick@ 1031s # valuenum: @valuenum@ 1031s # type: @type@ 1031s # Type: @Type@ 1031s # TYPE: @TYPE@ 1031s # /*** END value-production ***/ 1031s # 1031s # /*** BEGIN value-tail ***/ 1031s # value-tail 1031s # EnumName: @EnumName@ 1031s # enum_name: @enum_name@ 1031s # ENUMNAME: @ENUMNAME@ 1031s # ENUMSHORT: @ENUMSHORT@ 1031s # ENUMPREFIX: @ENUMPREFIX@ 1031s # enumsince: @enumsince@ 1031s # type: @type@ 1031s # Type: @Type@ 1031s # TYPE: @TYPE@ 1031s # /*** END value-tail ***/ 1031s # 1031s # /*** BEGIN comment ***/ 1031s # comment 1031s # comment: @comment@ 1031s # /*** END comment ***/ 1031s # 1031s # /*** BEGIN file-tail ***/ 1031s # file-tail 1031s # /*** END file-tail ***/ 1031s # 1031s # Response file contains: --template /tmp/tmprby6wl05/tmpuz3wg4p0.template /tmp/tmprby6wl05/tmprolpm27v.h 1031s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprby6wl05/tmph81xv8ab'] 1031s # Return code: 0 1031s # Output: 1031s # comment 1031s # 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. 1031s # 1031s # 1031s # file-header 1031s # file-production 1031s # filename: /tmp/tmprby6wl05/tmprolpm27v.h 1031s # basename: tmprolpm27v.h 1031s # enumeration-production 1031s # EnumName: Foo 1031s # enum_name: foo_ 1031s # ENUMNAME: FOO_ 1031s # ENUMSHORT: 1031s # ENUMPREFIX: FOO 1031s # enumsince: 1031s # type: enum 1031s # Type: Enum 1031s # TYPE: ENUM 1031s # value-header 1031s # EnumName: Foo 1031s # enum_name: foo_ 1031s # ENUMNAME: FOO_ 1031s # ENUMSHORT: 1031s # ENUMPREFIX: FOO 1031s # enumsince: 1031s # type: enum 1031s # Type: Enum 1031s # TYPE: ENUM 1031s # value-production 1031s # VALUENAME: FOO_VALUE 1031s # valuenick: eek, a comma 1031s # valuenum: 0 1031s # type: enum 1031s # Type: Enum 1031s # TYPE: ENUM 1031s # value-tail 1031s # EnumName: Foo 1031s # enum_name: foo_ 1031s # ENUMNAME: FOO_ 1031s # ENUMSHORT: 1031s # ENUMPREFIX: FOO 1031s # enumsince: 1031s # type: enum 1031s # Type: Enum 1031s # TYPE: ENUM 1031s # file-tail 1031s # 1031s # comment 1031s # comment: Generated data ends here 1031s # Error: 1031s 1..36 1031s ok - glib/mkenums.py.test 1031s # Running test: glib/fileutils.test 1031s TAP version 14 1031s # random seed: R02S2caf156b6da41b46248b211086cc264a 1031s 1..27 1031s # Start of fileutils tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/paths/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/paths/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/paths/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/paths/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/paths/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/paths/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/paths/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/paths/.dirs/runtime 1031s ok 1 /fileutils/paths 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-path/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-path/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/build-path/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-path/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/build-path/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-path/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-path/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/build-path/.dirs/runtime 1031s ok 2 /fileutils/build-path 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-pathv/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-pathv/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/build-pathv/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-pathv/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/build-pathv/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-pathv/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-pathv/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/build-pathv/.dirs/runtime 1031s ok 3 /fileutils/build-pathv 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-filename/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-filename/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/build-filename/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-filename/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/build-filename/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-filename/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-filename/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/build-filename/.dirs/runtime 1031s ok 4 /fileutils/build-filename 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-filenamev/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-filenamev/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/build-filenamev/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-filenamev/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/build-filenamev/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-filenamev/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/build-filenamev/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/build-filenamev/.dirs/runtime 1031s ok 5 /fileutils/build-filenamev 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents/.dirs/runtime 1031s # We do not have CAP_DAC_OVERRIDE or equivalent 1031s # Checking g_mkdir_with_parents() in subdir ./hum/ 1031s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 1031s ok 6 /fileutils/mkdir-with-parents 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents-permission/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents-permission/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents-permission/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents-permission/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents-permission/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/mkdir-with-parents-permission/.dirs/runtime 1031s # We do not have CAP_DAC_OVERRIDE or equivalent 1031s ok 7 /fileutils/mkdir-with-parents-permission 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/format-size-for-display/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/format-size-for-display/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/format-size-for-display/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/format-size-for-display/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/format-size-for-display/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/format-size-for-display/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/format-size-for-display/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/format-size-for-display/.dirs/runtime 1031s ok 8 /fileutils/format-size-for-display 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/errors/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/errors/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/errors/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/errors/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/errors/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/errors/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/errors/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/errors/.dirs/runtime 1031s ok 9 /fileutils/errors 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/basename/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/basename/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/basename/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/basename/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/basename/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/basename/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/basename/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/basename/.dirs/runtime 1031s ok 10 /fileutils/basename 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-basename/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-basename/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/get-basename/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-basename/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/get-basename/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-basename/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-basename/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/get-basename/.dirs/runtime 1031s ok 11 /fileutils/get-basename 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/dirname/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/dirname/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/dirname/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/dirname/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/dirname/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/dirname/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/dirname/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/dirname/.dirs/runtime 1031s ok 12 /fileutils/dirname 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/dir-make-tmp/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/dir-make-tmp/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/dir-make-tmp/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/dir-make-tmp/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/dir-make-tmp/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/dir-make-tmp/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/dir-make-tmp/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/dir-make-tmp/.dirs/runtime 1031s ok 13 /fileutils/dir-make-tmp 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/file-open-tmp/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/file-open-tmp/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/file-open-tmp/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/file-open-tmp/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/file-open-tmp/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/file-open-tmp/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/file-open-tmp/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/file-open-tmp/.dirs/runtime 1031s ok 14 /fileutils/file-open-tmp 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/file-test/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/file-test/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/file-test/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/file-test/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/file-test/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/file-test/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/file-test/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/file-test/.dirs/runtime 1031s ok 15 /fileutils/file-test 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkstemp/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkstemp/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/mkstemp/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkstemp/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/mkstemp/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkstemp/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkstemp/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/mkstemp/.dirs/runtime 1031s ok 16 /fileutils/mkstemp 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdtemp/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdtemp/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/mkdtemp/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdtemp/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/mkdtemp/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdtemp/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/mkdtemp/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/mkdtemp/.dirs/runtime 1031s ok 17 /fileutils/mkdtemp 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/get-contents/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/get-contents/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents/.dirs/runtime 1031s ok 18 /fileutils/get-contents 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents-large-file/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents-large-file/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/get-contents-large-file/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents-large-file/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/get-contents-large-file/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents-large-file/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents-large-file/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/get-contents-large-file/.dirs/runtime 1031s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/set-contents/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/set-contents/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents/.dirs/runtime 1031s ok 20 /fileutils/set-contents 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/.dirs/runtime 1031s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1031s # Flags 0 and test 0 1031s # Flags 0 and test 1 1031s # Flags 0 and test 2 1031s # Flags 0 and test 3 1031s # Flags 0 and test 4 1031s # Flags 0 and test 5 1031s # Flags 0 and test 6 1031s # Flags 1 and test 0 1031s # Flags 1 and test 1 1031s # Flags 1 and test 2 1031s # Flags 1 and test 3 1031s # Flags 1 and test 4 1031s # Flags 1 and test 5 1031s # Flags 1 and test 6 1031s # Flags 2 and test 0 1031s # Flags 2 and test 1 1031s # Flags 2 and test 2 1031s # Flags 2 and test 3 1031s # Flags 2 and test 4 1031s # Flags 2 and test 5 1031s # Flags 2 and test 6 1031s # Flags 3 and test 0 1031s # Flags 3 and test 1 1031s # Flags 3 and test 2 1031s # Flags 3 and test 3 1031s # Flags 3 and test 4 1031s # Flags 3 and test 5 1031s # Flags 3 and test 6 1031s # Flags 4 and test 0 1031s # Flags 4 and test 1 1031s # Flags 4 and test 2 1031s # Flags 4 and test 3 1031s # Flags 4 and test 4 1031s # Flags 4 and test 5 1031s # Flags 4 and test 6 1031s # Flags 5 and test 0 1031s # Flags 5 and test 1 1031s # Flags 5 and test 2 1031s # Flags 5 and test 3 1031s # Flags 5 and test 4 1031s # Flags 5 and test 5 1031s # Flags 5 and test 6 1031s # Flags 6 and test 0 1031s # Flags 6 and test 1 1031s # Flags 6 and test 2 1031s # Flags 6 and test 3 1031s # Flags 6 and test 4 1031s # Flags 6 and test 5 1031s # Flags 6 and test 6 1031s ok 21 /fileutils/set-contents-full 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/read-link/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/read-link/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/read-link/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/read-link/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/read-link/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/read-link/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/read-link/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/read-link/.dirs/runtime 1031s ok 22 /fileutils/read-link 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/stdio-wrappers/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/stdio-wrappers/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/stdio-wrappers/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/stdio-wrappers/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/stdio-wrappers/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/stdio-wrappers/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/stdio-wrappers/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/stdio-wrappers/.dirs/runtime 1031s # We do not have CAP_DAC_OVERRIDE or equivalent 1031s ok 23 /fileutils/stdio-wrappers 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/fopen-modes/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/fopen-modes/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/fopen-modes/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/fopen-modes/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/fopen-modes/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/fopen-modes/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/fopen-modes/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/fopen-modes/.dirs/runtime 1031s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1031s # Testing fopen() mode 'w' 1031s # Testing fopen() mode 'r' 1031s # Testing fopen() mode 'a' 1031s # Testing fopen() mode 'w+' 1031s # Testing fopen() mode 'r+' 1031s # Testing fopen() mode 'a+' 1031s # Testing fopen() mode 'wb' 1031s # Testing fopen() mode 'rb' 1031s # Testing fopen() mode 'ab' 1031s # Testing fopen() mode 'w+b' 1031s # Testing fopen() mode 'r+b' 1031s # Testing fopen() mode 'a+b' 1031s # Testing fopen() mode 'wb+' 1031s # Testing fopen() mode 'rb+' 1031s # Testing fopen() mode 'ab+' 1031s # Testing fopen() mode 'we' 1031s # Testing fopen() mode 're' 1031s # Testing fopen() mode 'ae' 1031s # Testing fopen() mode 'w+e' 1031s # Testing fopen() mode 'r+e' 1031s # Testing fopen() mode 'a+e' 1031s # Testing fopen() mode 'wbe' 1031s # Testing fopen() mode 'rbe' 1031s # Testing fopen() mode 'abe' 1031s # Testing fopen() mode 'w+be' 1031s # Testing fopen() mode 'r+be' 1031s # Testing fopen() mode 'a+be' 1031s # Testing fopen() mode 'wb+e' 1031s # Testing fopen() mode 'rb+e' 1031s # Testing fopen() mode 'ab+e' 1031s # Testing fopen() mode 'web' 1031s # Testing fopen() mode 'reb' 1031s # Testing fopen() mode 'aeb' 1031s # Testing fopen() mode 'w+eb' 1031s # Testing fopen() mode 'r+eb' 1031s # Testing fopen() mode 'a+eb' 1031s # Testing fopen() mode 'web+' 1031s # Testing fopen() mode 'reb+' 1031s # Testing fopen() mode 'aeb+' 1031s ok 24 /fileutils/fopen-modes 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/clear-fd/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/clear-fd/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/clear-fd/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/clear-fd/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/clear-fd/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/clear-fd/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/clear-fd/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/clear-fd/.dirs/runtime 1031s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1031s # Will be closed by autocleanup: 3, -42 1031s # Testing error handling 1031s ok 25 /fileutils/clear-fd 1031s # Start of set-contents-full tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-file/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-file/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-file/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-file/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-file/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-file/.dirs/runtime 1031s # We do not have CAP_DAC_OVERRIDE or equivalent 1031s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1031s ok 26 /fileutils/set-contents-full/read-only-file 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-directory/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-directory/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-directory/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-directory/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-directory/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_6Z4KE3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1031s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1031s # Flags 0 1031s # We do not have CAP_DAC_OVERRIDE or equivalent 1031s # Flags 1 1031s # We do not have CAP_DAC_OVERRIDE or equivalent 1031s # Flags 2 1031s # We do not have CAP_DAC_OVERRIDE or equivalent 1031s # Flags 3 1031s # We do not have CAP_DAC_OVERRIDE or equivalent 1031s # Flags 4 1031s # We do not have CAP_DAC_OVERRIDE or equivalent 1031s # Flags 5 1031s # We do not have CAP_DAC_OVERRIDE or equivalent 1031s # Flags 6 1031s # We do not have CAP_DAC_OVERRIDE or equivalent 1031s ok 27 /fileutils/set-contents-full/read-only-directory 1031s # End of set-contents-full tests 1031s # Start of clear-fd tests 1031s # Start of subprocess tests 1031s # End of subprocess tests 1031s # End of clear-fd tests 1031s # End of fileutils tests 1031s Unable to clean up temporary directory /tmp/test_fileutils_6Z4KE3/glib-file-set-contents-full-rodir-AGFIE3: Directory not empty 1031s Unable to clean up temporary directory /tmp/test_fileutils_6Z4KE3/glib-file-set-contents-full-rodir-PNKIE3: Directory not empty 1031s Unable to clean up temporary directory /tmp/test_fileutils_6Z4KE3/glib-file-set-contents-full-rodir-EADIE3: Directory not empty 1031s Unable to clean up temporary directory /tmp/test_fileutils_6Z4KE3/glib-file-set-contents-full-rodir-ZQCIE3: Directory not empty 1031s Unable to clean up temporary directory /tmp/test_fileutils_6Z4KE3/glib-file-set-contents-full-rodir-MP4HE3: Directory not empty 1031s Unable to clean up temporary directory /tmp/test_fileutils_6Z4KE3/glib-file-set-contents-full-rodir-PO3HE3: Directory not empty 1031s Unable to clean up temporary directory /tmp/test_fileutils_6Z4KE3/glib-file-set-contents-full-rodir-182HE3: Directory not empty 1031s Unable to clean up temporary directory /tmp/test_fileutils_6Z4KE3: Directory not empty 1031s ok - glib/fileutils.test 1031s # Running test: glib/utils.test 1031s TAP version 14 1031s # random seed: R02Sd274a925b290c7d573c6eba4df2cbc2b 1031s 1..41 1031s # Start of utils tests 1031s ok 1 /utils/language-names 1031s # Testing locale ‘en’ 1031s # Testing locale ‘sr@latin’ 1031s # Testing locale ‘fr_BE’ 1031s # Testing locale ‘sr_SR@latin’ 1031s # Testing locale ‘sr_SR@latin.UTF-8’ 1031s # Testing locale ‘sr@latin_invalid’ 1031s # Testing locale ‘sr.UTF-8@latin’ 1031s # Testing locale ‘sr.UTF-8_latin’ 1031s # Testing locale ‘sr.UTF-8@latin_invalid’ 1031s ok 2 /utils/locale-variants 1031s ok 3 /utils/version 1031s ok 4 /utils/appname 1031s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1031s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1031s ok 5 /utils/prgname-thread-safety 1031s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1031s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1031s ok 6 /utils/tmpdir 1031s ok 7 /utils/basic_bits 1031s ok 8 /utils/bits 1031s ok 9 /utils/swap 1031s ok 10 /utils/find-program 1031s ok 11 /utils/find-program-for-path 1031s ok 12 /utils/debug 1031s ok 13 /utils/codeset 1031s ok 14 /utils/codeset2 1031s ok 15 /utils/console-charset 1031s ok 16 /utils/gettext 1031s ok 17 /utils/username 1031s ok 18 /utils/realname 1031s ok 19 /utils/hostname 1031s ok 20 /utils/xdgdirs 1031s ok 21 /utils/specialdir 1031s # NAME: Ubuntu 1031s ok 22 /utils/os-info 1031s ok 23 /utils/clear-pointer 1031s ok 24 /utils/clear-pointer-cast 1031s ok 25 /utils/take-pointer 1031s ok 26 /utils/clear-source 1031s ok 27 /utils/misc-mem 1031s # /utils/aligned-mem summary: Aligned memory allocator 1031s # Alignment must not be zero 1031s # Alignment must be a power of two 1031s # Alignment must be a multiple of sizeof(void*) 1031s ok 28 /utils/aligned-mem 1031s # /utils/free-sized summary: Check that g_free_sized() works 1031s ok 29 /utils/free-sized 1031s ok 30 /utils/nullify 1031s ok 31 /utils/atexit 1031s ok 32 /utils/check-setuid 1031s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1031s ok 33 /utils/int-limits 1031s ok 34 /utils/clear-list 1031s ok 35 /utils/clear-slist 1031s ok 36 /utils/steal-handle-id 1031s # Start of specialdir tests 1031s ok 37 /utils/specialdir/desktop 1031s # End of specialdir tests 1031s # Start of clear-pointer tests 1031s ok 38 /utils/clear-pointer/side-effects 1031s # End of clear-pointer tests 1031s # Start of aligned-mem tests 1031s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1031s ok 39 /utils/aligned-mem/alignment 1031s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1031s ok 40 /utils/aligned-mem/zeroed 1031s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1031s ok 41 /utils/aligned-mem/free-sized 1031s # Start of subprocess tests 1031s # End of subprocess tests 1031s # End of aligned-mem tests 1031s # End of utils tests 1031s ok - glib/utils.test 1031s # Running test: glib/rwlock.test 1031s TAP version 14 1031s # random seed: R02Se5256a9c78f4e30faa72c35cf2f1f780 1031s 1..8 1031s # Start of thread tests 1031s ok 1 /thread/rwlock1 1031s ok 2 /thread/rwlock2 1031s ok 3 /thread/rwlock3 1031s ok 4 /thread/rwlock4 1031s ok 5 /thread/rwlock5 1031s ok 6 /thread/rwlock6 1033s # Executing: glib/rwlock.test 1036s ok 7 /thread/rwlock7 1036s # slow test /thread/rwlock7 executed in 5.48 secs 1037s ok - glib/rwlock.test 1037s ok 8 /thread/rwlock8 1037s # End of thread tests 1037s # Running test: glib/autoptr.test 1037s TAP version 14 1037s # random seed: R02S9e7dde725da30711ed0228c01d400635 1037s 1..6 1037s # Start of autoptr tests 1037s ok 1 /autoptr/autoptr 1037s ok 2 /autoptr/autoptr_steal 1037s ok 3 /autoptr/autolist 1037s ok 4 /autoptr/autoslist 1037s ok 5 /autoptr/autoqueue 1037s ok 6 /autoptr/autoclass 1037s # End of autoptr tests 1037s ok - glib/autoptr.test 1037s # Running test: glib/actions.test 1037s TAP version 14 1037s # random seed: R02S5d237f9db74d01ec87f99c05668b6849 1037s 1..13 1037s # Start of actions tests 1037s ok 1 /actions/basic 1037s ok 2 /actions/name 1037s ok 3 /actions/simplegroup 1037s ok 4 /actions/stateful 1037s ok 5 /actions/default-activate 1037s ok 6 /actions/entries 1037s ok 7 /actions/parse-detailed 1037s ok 8 /actions/property 1037s ok 9 /actions/no-properties 1037s # Start of dbus tests 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s ok 10 /actions/dbus/export 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1038s # Executing: glib/actions.test 1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1040s ok 11 /actions/dbus/threaded 1040s # slow test /actions/dbus/threaded executed in 3.85 secs 1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1040s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s ok 12 /actions/dbus/bug679509 1041s # Start of export tests 1041s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1041s ok - glib/actions.test 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1041s ok 13 /actions/dbus/export/error-handling 1041s # End of export tests 1041s # End of dbus tests 1041s # End of actions tests 1041s # Running test: glib/refstring.test 1041s TAP version 14 1041s # random seed: R02Sa8c08262a46f02bb073cabb5d04f989b 1041s 1..8 1041s # Start of refstring tests 1041s # s = 'hello, world' (0x4376f48) 1041s ok 1 /refstring/base 1041s ok 2 /refstring/length 1041s ok 3 /refstring/length-auto 1041s ok 4 /refstring/length-nuls 1041s # s = 'hello, world' (0x4376f98) 1041s # p = s = 'hello, world' (0x4376f98) 1041s # releasing p[0x4376f98] ('hello, world') 1041s # p = 'goodbye, world' (0x43770a8) 1041s # releasing p[0x43770a8] ('goodbye, world') 1041s # releasing s[0x4376f98] ('hello, world') 1041s ok 5 /refstring/intern 1041s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 1041s ok 6 /refstring/hash_equal 1041s # /refstring/equal summary: Test g_ref_string_equal() standalone 1041s ok 7 /refstring/equal 1041s ok - glib/refstring.test 1041s ok 8 /refstring/intern-thread-safety 1041s # slow test /refstring/intern-thread-safety executed in 0.76 secs 1041s # End of refstring tests 1041s # Running test: glib/utf8-private.test 1041s ok - glib/utf8-private.test 1041s TAP version 14 1041s # random seed: R02Se26b2bd61ddb9fc1ee45ad3ac19535d0 1041s 1..2 1041s # Start of utf8 tests 1041s ok 1 /utf8/utf8-to-utf16-make-valid 1041s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 1041s # End of utf8 tests 1041s # Running test: glib/credentials.test 1041s ok - glib/credentials.test 1041s TAP version 14 1041s # random seed: R02S0d02bc8c6d801d54a4f85ac7f621ae9c 1041s 1..1 1041s # Start of credentials tests 1041s # GCredentials:linux-ucred:pid=2362,uid=1000,gid=1000 1041s # GCredentials:linux-ucred:pid=2362,uid=0,gid=1000 1041s ok 1 /credentials/basic 1041s # End of credentials tests 1041s # Running test: glib/hash.test 1041s TAP version 14 1041s # random seed: R02S886570e20af051bc5bd89c5de7384e19 1041s 1..34 1041s # Start of hash tests 1041s ok 1 /hash/misc 1041s ok 2 /hash/one 1041s ok 3 /hash/honeyman 1041s ok 4 /hash/direct 1041s ok 5 /hash/direct2 1041s ok 6 /hash/int 1041s ok 7 /hash/int64 1041s ok 8 /hash/double 1041s ok 9 /hash/string 1041s ok - glib/hash.test 1041s # Running test: glib/sequence.test 1041s ok 10 /hash/set 1041s ok 11 /hash/set-ref 1041s ok 12 /hash/ref 1041s ok 13 /hash/remove-all 1041s ok 14 /hash/recursive-remove-all 1041s ok 15 /hash/find 1041s ok 16 /hash/foreach 1041s ok 17 /hash/foreach-steal 1041s ok 18 /hash/steal-extended 1041s ok 19 /hash/steal-all-keys 1041s ok 20 /hash/steal-all-values 1041s ok 21 /hash/lookup-extended 1041s ok 22 /hash/new-similar 1041s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1041s ok 23 /hash/lookup-null-key 1041s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1041s ok 24 /hash/destroy-modify 1041s ok 25 /hash/consistency 1041s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1041s ok 26 /hash/iter-replace 1041s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1041s ok 27 /hash/set-insert-corruption 1041s ok 28 /hash/set-to-strv 1041s ok 29 /hash/get-keys-as-ptr-array 1041s ok 30 /hash/get-values-as-ptr-array 1041s ok 31 /hash/primes 1041s # Start of int64 tests 1041s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1041s ok 32 /hash/int64/collisions 1041s # End of int64 tests 1041s # Start of double tests 1041s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1041s ok 33 /hash/double/collisions 1041s # End of double tests 1041s # Start of recursive-remove-all tests 1041s # End of recursive-remove-all tests 1041s # Start of steal-extended tests 1041s ok 34 /hash/steal-extended/optional 1041s # End of steal-extended tests 1041s # End of hash tests 1041s TAP version 14 1041s # random seed: R02S0718e1d2c13eed3614509312a65b3968 1041s 1..16 1041s # Start of sequence tests 1041s ok 1 /sequence/out-of-range-jump 1041s ok 2 /sequence/iter-move 1041s ok 3 /sequence/insert-sorted-non-pointer 1041s ok 4 /sequence/stable-sort 1041s ok 5 /sequence/is_empty 1041s # Start of random tests 1042s ok 6 /sequence/random/seed:825541564 1042s # slow test /sequence/random/seed:825541564 executed in 0.62 secs 1043s ok 7 /sequence/random/seed:801678400 1043s # slow test /sequence/random/seed:801678400 executed in 0.59 secs 1043s # Executing: glib/sequence.test 1043s ok 8 /sequence/random/seed:1477639090 1043s # slow test /sequence/random/seed:1477639090 executed in 0.61 secs 1044s ok 9 /sequence/random/seed:3369132895 1044s # slow test /sequence/random/seed:3369132895 executed in 0.57 secs 1044s ok 10 /sequence/random/seed:1192944867 1044s # slow test /sequence/random/seed:1192944867 executed in 0.59 secs 1045s ok 11 /sequence/random/seed:770458294 1045s # slow test /sequence/random/seed:770458294 executed in 0.62 secs 1046s ok 12 /sequence/random/seed:1099575817 1046s # slow test /sequence/random/seed:1099575817 executed in 0.59 secs 1046s ok 13 /sequence/random/seed:590523467 1046s # slow test /sequence/random/seed:590523467 executed in 0.61 secs 1047s ok 14 /sequence/random/seed:3583571454 1047s # slow test /sequence/random/seed:3583571454 executed in 0.62 secs 1048s ok 15 /sequence/random/seed:579241222 1048s # slow test /sequence/random/seed:579241222 executed in 0.62 secs 1048s # Executing: glib/sequence.test 1048s ok 16 /sequence/random/seed:226501752 1048s # slow test /sequence/random/seed:226501752 executed in 0.59 secs 1048s # End of random tests 1048s # End of sequence tests 1048s ok - glib/sequence.test 1048s # Running test: glib/portal-support-none.test 1048s TAP version 14 1048s # random seed: R02S7ce67a7afd861d3a52deed9f61c54a8d 1048s 1..1 1048s # Start of portal-support tests 1048s ok 1 /portal-support/none 1048s # End of portal-support tests 1048s ok - glib/portal-support-none.test 1048s # Running test: glib/sleepy-stream.test 1048s TAP version 14 1048s # random seed: R02S9871627cd15e5bddfee1a40f28ddbaf9 1048s 1..2 1048s # Start of filter-stream tests 1048s ok 1 /filter-stream/input 1048s ok 2 /filter-stream/async 1048s # End of filter-stream tests 1048s ok - glib/sleepy-stream.test 1048s # Running test: glib/gdbus-test-codegen.test 1048s TAP version 14 1048s # random seed: R02S0448ea5fb21d8420c6db67a96788b834 1048s 1..8 1048s # Start of gdbus tests 1048s # Start of codegen tests 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/annotations/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/annotations/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/annotations/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/annotations/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/annotations/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/annotations/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/annotations/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/annotations/.dirs/runtime 1048s ok 1 /gdbus/codegen/annotations 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/interface_stability/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/interface_stability/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/interface_stability/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/interface_stability/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/interface_stability/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/interface_stability/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/interface_stability/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/interface_stability/.dirs/runtime 1048s ok 2 /gdbus/codegen/interface_stability 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/object-manager/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/object-manager/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/object-manager/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/object-manager/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/object-manager/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/object-manager/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/object-manager/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/object-manager/.dirs/runtime 1048s ok 3 /gdbus/codegen/object-manager 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/property-naming/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/property-naming/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/property-naming/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/property-naming/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/property-naming/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/property-naming/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/property-naming/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/property-naming/.dirs/runtime 1048s ok 4 /gdbus/codegen/property-naming 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/autocleanups/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/autocleanups/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/autocleanups/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/autocleanups/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/autocleanups/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/autocleanups/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/autocleanups/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/autocleanups/.dirs/runtime 1048s ok 5 /gdbus/codegen/autocleanups 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/deprecations/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/deprecations/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/deprecations/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/deprecations/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/deprecations/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/deprecations/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/deprecations/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/deprecations/.dirs/runtime 1048s ok 6 /gdbus/codegen/deprecations 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/standalone-interface-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/standalone-interface-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/standalone-interface-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1048s ok - glib/gdbus-test-codegen.test 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/standalone-interface-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/standalone-interface-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1048s ok 7 /gdbus/codegen/standalone-interface-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/unix-fd-list/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/unix-fd-list/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/unix-fd-list/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/unix-fd-list/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/unix-fd-list/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T4WVE3/gdbus/codegen/unix-fd-list/.dirs/runtime 1048s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1048s ok 8 /gdbus/codegen/unix-fd-list 1048s # End of codegen tests 1048s # End of gdbus tests 1048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1048s # Running test: glib/tls-certificate.test 1048s TAP version 14 1048s # random seed: R02S534ac6465e82f8b9c5f22523732c31fe 1048s 1..19 1048s # Start of tls-certificate tests 1048s ok - glib/tls-certificate.test 1048s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1048s ok 1 /tls-certificate/pem-parser 1048s ok 2 /tls-certificate/pem-parser-handles-chain 1048s ok 3 /tls-certificate/from_file 1048s ok 4 /tls-certificate/from_files 1048s ok 5 /tls-certificate/from_files_crlf 1048s ok 6 /tls-certificate/from_files_pkcs8 1048s ok 7 /tls-certificate/from_files_pkcs8enc 1048s ok 8 /tls-certificate/list_from_file 1048s ok 9 /tls-certificate/pkcs11-uri 1048s ok 10 /tls-certificate/pkcs11-uri-unsupported 1048s ok 11 /tls-certificate/from_pkcs12 1048s ok 12 /tls-certificate/from_pkcs12_file 1048s ok 13 /tls-certificate/not-valid-before 1048s ok 14 /tls-certificate/not-valid-after 1048s ok 15 /tls-certificate/subject-name 1048s ok 16 /tls-certificate/issuer-name 1048s ok 17 /tls-certificate/dns-names 1048s ok 18 /tls-certificate/ip-addresses 1048s ok 19 /tls-certificate/pem-parser-no-sentinel 1048s # End of tls-certificate tests 1048s # Running test: glib/ir-parser.test 1048s TAP version 14 1048s # random seed: R02S26f888dcb2290697a816920fe523f151 1048s 1..1 1048s # Start of ir-parser tests 1048s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1048s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: popping node 1 dummy 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1048s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: popping node 1 dummy 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: 1048s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1048s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error 1063s # 1063s # 1063s # 1063s # 1063s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqm0qqaq_/tmpays7a0sl.xml', '--output', '-', '--header'] 1063s # Return code: 0 1063s # Output: 1063s # /* 1063s # * This file is generated by gdbus-codegen, do not modify it. 1063s # * 1063s # * The license of this code is the same as for the D-Bus interface description 1063s # * it was derived from. Note that it links to GLib, so must comply with the 1063s # * LGPL linking clauses. 1063s # */ 1063s # 1063s # #ifndef __STDOUT__ 1063s # #define __STDOUT__ 1063s # 1063s # #include 1063s # 1063s # G_BEGIN_DECLS 1063s # 1063s # 1063s # /* ------------------------------------------------------------------------ */ 1063s # /* Declarations for org.project.UsefulInterface */ 1063s # 1063s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1063s # 1063s # struct _OrgProjectUsefulInterface; 1063s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1063s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1063s # 1063s # struct _OrgProjectUsefulInterfaceIface 1063s # { 1063s # GTypeInterface parent_iface; 1063s # 1063s # gboolean (*handle_useful_method) ( 1063s # OrgProjectUsefulInterface *object, 1063s # GDBusMethodInvocation *invocation); 1063s # 1063s # }; 1063s # 1063s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1063s # 1063s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1063s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1063s # 1063s # 1063s # /* D-Bus method call completion functions: */ 1063s # void org_project_useful_interface_complete_useful_method ( 1063s # OrgProjectUsefulInterface *object, 1063s # GDBusMethodInvocation *invocation); 1063s # 1063s # 1063s # 1063s # /* D-Bus method calls: */ 1063s # void org_project_useful_interface_call_useful_method ( 1063s # OrgProjectUsefulInterface *proxy, 1063s # GCancellable *cancellable, 1063s # GAsyncReadyCallback callback, 1063s # gpointer user_data); 1063s # 1063s # gboolean org_project_useful_interface_call_useful_method_finish ( 1063s # OrgProjectUsefulInterface *proxy, 1063s # GAsyncResult *res, 1063s # GError **error); 1063s # 1063s # gboolean org_project_useful_interface_call_useful_method_sync ( 1063s # OrgProjectUsefulInterface *proxy, 1063s # GCancellable *cancellable, 1063s # GError **error); 1063s # 1063s # 1063s # 1063s # /* ---- */ 1063s # 1063s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1063s # 1063s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1063s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1063s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1063s # 1063s # struct _OrgProjectUsefulInterfaceProxy 1063s # { 1063s # /*< private >*/ 1063s # GDBusProxy parent_instance; 1063s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1063s # }; 1063s # 1063s # struct _OrgProjectUsefulInterfaceProxyClass 1063s # { 1063s # GDBusProxyClass parent_class; 1063s # }; 1063s # 1063s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1063s # 1063s # #if GLIB_CHECK_VERSION(2, 44, 0) 1063s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1063s # #endif 1063s # 1063s # void org_project_useful_interface_proxy_new ( 1063s # GDBusConnection *connection, 1063s # GDBusProxyFlags flags, 1063s # const gchar *name, 1063s # const gchar *object_path, 1063s # GCancellable *cancellable, 1063s # GAsyncReadyCallback callback, 1063s # gpointer user_data); 1063s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1063s # GAsyncResult *res, 1063s # GError **error); 1063s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1063s # GDBusConnection *connection, 1063s # GDBusProxyFlags flags, 1063s # const gchar *name, 1063s # const gchar *object_path, 1063s # GCancellable *cancellable, 1063s # GError **error); 1063s # 1063s # void org_project_useful_interface_proxy_new_for_bus ( 1063s # GBusType bus_type, 1063s # GDBusProxyFlags flags, 1063s # const gchar *name, 1063s # const gchar *object_path, 1063s # GCancellable *cancellable, 1063s # GAsyncReadyCallback callback, 1063s # gpointer user_data); 1063s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1063s # GAsyncResult *res, 1063s # GError **error); 1063s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1063s # GBusType bus_type, 1063s # GDBusProxyFlags flags, 1063s # const gchar *name, 1063s # const gchar *object_path, 1063s # GCancellable *cancellable, 1063s # GError **error); 1063s # 1063s # 1063s # /* ---- */ 1063s # 1063s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1063s # 1063s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1063s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1063s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1063s # 1063s # struct _OrgProjectUsefulInterfaceSkeleton 1063s # { 1063s # /*< private >*/ 1063s # GDBusInterfaceSkeleton parent_instance; 1063s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1063s # }; 1063s # 1063s # struct _OrgProjectUsefulInterfaceSkeletonClass 1063s # { 1063s # GDBusInterfaceSkeletonClass parent_class; 1063s # }; 1063s # 1063s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1063s # 1063s # #if GLIB_CHECK_VERSION(2, 44, 0) 1063s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1063s # #endif 1063s # 1063s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1063s # 1063s # 1063s # G_END_DECLS 1063s # 1063s # #endif /* __STDOUT__ */ 1063s # Error: 1063s # 1063s # /tmp/tmpqm0qqaq_/tmpmbetwcds.xml: 1063s # 1063s # 1063s # 1063s # 1063s # 1063s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqm0qqaq_/tmpmbetwcds.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1063s # Return code: 0 1063s # Output: 1063s # /* 1063s # * This file is generated by gdbus-codegen, do not modify it. 1063s # * 1063s # * The license of this code is the same as for the D-Bus interface description 1063s # * it was derived from. Note that it links to GLib, so must comply with the 1063s # * LGPL linking clauses. 1063s # */ 1063s # 1063s # #ifndef __STDOUT__ 1063s # #define __STDOUT__ 1063s # 1063s # #include 1063s # 1063s # G_BEGIN_DECLS 1063s # 1063s # 1063s # /* ------------------------------------------------------------------------ */ 1063s # /* Declarations for org.project.UsefulInterface */ 1063s # 1063s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1063s # 1063s # struct _OrgProjectUsefulInterface; 1063s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1063s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1063s # 1063s # struct _OrgProjectUsefulInterfaceIface 1063s # { 1063s # GTypeInterface parent_iface; 1063s # 1063s # gboolean (*handle_useful_method) ( 1063s # OrgProjectUsefulInterface *object, 1063s # GDBusMethodInvocation *invocation); 1063s # 1063s # }; 1063s # 1063s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1063s # 1063s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1063s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1063s # 1063s # 1063s # /* D-Bus method call completion functions: */ 1063s # void org_project_useful_interface_complete_useful_method ( 1063s # OrgProjectUsefulInterface *object, 1063s # GDBusMethodInvocation *invocation); 1063s # 1063s # 1063s # 1063s # /* D-Bus method calls: */ 1063s # void org_project_useful_interface_call_useful_method ( 1063s # OrgProjectUsefulInterface *proxy, 1063s # GCancellable *cancellable, 1063s # GAsyncReadyCallback callback, 1063s # gpointer user_data); 1063s # 1063s # gboolean org_project_useful_interface_call_useful_method_finish ( 1063s # OrgProjectUsefulInterface *proxy, 1063s # GAsyncResult *res, 1063s # GError **error); 1063s # 1063s # gboolean org_project_useful_interface_call_useful_method_sync ( 1063s # OrgProjectUsefulInterface *proxy, 1063s # GCancellable *cancellable, 1063s # GError **error); 1063s # 1063s # 1063s # 1063s # /* ---- */ 1063s # 1063s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1063s # 1063s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1063s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1063s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1063s # 1063s # struct _OrgProjectUsefulInterfaceProxy 1063s # { 1063s # /*< private >*/ 1063s # GDBusProxy parent_instance; 1063s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1063s # }; 1063s # 1063s # struct _OrgProjectUsefulInterfaceProxyClass 1063s # { 1063s # GDBusProxyClass parent_class; 1063s # }; 1063s # 1063s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1063s # 1063s # #if GLIB_CHECK_VERSION(2, 44, 0) 1063s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1063s # #endif 1063s # 1063s # void org_project_useful_interface_proxy_new ( 1063s # GDBusConnection *connection, 1063s # GDBusProxyFlags flags, 1063s # const gchar *name, 1063s # const gchar *object_path, 1063s # GCancellable *cancellable, 1063s # GAsyncReadyCallback callback, 1063s # gpointer user_data); 1063s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1063s # GAsyncResult *res, 1063s # GError **error); 1063s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1063s # GDBusConnection *connection, 1063s # GDBusProxyFlags flags, 1063s # const gchar *name, 1063s # const gchar *object_path, 1063s # GCancellable *cancellable, 1063s # GError **error); 1063s # 1063s # void org_project_useful_interface_proxy_new_for_bus ( 1063s # GBusType bus_type, 1063s # GDBusProxyFlags flags, 1063s # const gchar *name, 1063s # const gchar *object_path, 1063s # GCancellable *cancellable, 1063s # GAsyncReadyCallback callback, 1063s # gpointer user_data); 1063s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1063s # GAsyncResult *res, 1063s # GError **error); 1063s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1063s # GBusType bus_type, 1063s # GDBusProxyFlags flags, 1063s # const gchar *name, 1063s # const gchar *object_path, 1063s # GCancellable *cancellable, 1063s # GError **error); 1063s # 1063s # 1063s # /* ---- */ 1063s # 1063s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1063s # 1063s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1063s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1063s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1063s # 1063s # struct _OrgProjectUsefulInterfaceSkeleton 1063s # { 1063s # /*< private >*/ 1063s # GDBusInterfaceSkeleton parent_instance; 1063s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1063s # }; 1063s # 1063s # struct _OrgProjectUsefulInterfaceSkeletonClass 1063s # { 1063s # GDBusInterfaceSkeletonClass parent_class; 1063s # }; 1063s # 1063s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1063s # 1063s # #if GLIB_CHECK_VERSION(2, 44, 0) 1063s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1063s # #endif 1063s # 1063s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1063s # 1063s # 1063s # G_END_DECLS 1063s # 1063s # #endif /* __STDOUT__ */ 1063s # Error: 1063s # 1063s # /tmp/tmpqm0qqaq_/tmpxlb0k938.xml: 1063s # 1063s # 1063s # 1063s # 1063s # 1063s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqm0qqaq_/tmpxlb0k938.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1063s # Return code: 0 1063s # Output: 1063s # /* 1063s # * This file is generated by gdbus-codegen, do not modify it. 1063s # * 1063s # * The license of this code is the same as for the D-Bus interface description 1063s # * it was derived from. Note that it links to GLib, so must comply with the 1063s # * LGPL linking clauses. 1063s # */ 1063s # 1063s # #ifndef __STDOUT__ 1063s # #define __STDOUT__ 1063s # 1063s # #include 1063s # 1063s # G_BEGIN_DECLS 1063s # 1063s # 1063s # /* ------------------------------------------------------------------------ */ 1063s # /* Declarations for org.project.UsefulInterface */ 1063s # 1063s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1063s # 1063s # struct _OrgProjectUsefulInterface; 1063s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1063s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1063s # 1063s # struct _OrgProjectUsefulInterfaceIface 1063s # { 1063s # GTypeInterface parent_iface; 1063s # 1063s # gboolean (*handle_useful_method) ( 1063s # OrgProjectUsefulInterface *object, 1063s # GDBusMethodInvocation *invocation); 1063s # 1063s # }; 1063s # 1063s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1063s # 1063s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1063s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1063s # 1063s # 1063s # /* D-Bus method call completion functions: */ 1063s # void org_project_useful_interface_complete_useful_method ( 1063s # OrgProjectUsefulInterface *object, 1063s # GDBusMethodInvocation *invocation); 1063s # 1063s # 1063s # 1063s # /* D-Bus method calls: */ 1063s # void org_project_useful_interface_call_useful_method ( 1063s # OrgProjectUsefulInterface *proxy, 1063s # GDBusCallFlags call_flags, 1063s # gint timeout_msec, 1063s # GCancellable *cancellable, 1063s # GAsyncReadyCallback callback, 1063s # gpointer user_data); 1063s # 1063s # gboolean org_project_useful_interface_call_useful_method_finish ( 1063s # OrgProjectUsefulInterface *proxy, 1063s # GAsyncResult *res, 1063s # GError **error); 1063s # 1063s # gboolean org_project_useful_interface_call_useful_method_sync ( 1063s # OrgProjectUsefulInterface *proxy, 1063s # GDBusCallFlags call_flags, 1063s # gint timeout_msec, 1063s # GCancellable *cancellable, 1063s # GError **error); 1063s # 1063s # 1063s # 1063s # /* ---- */ 1063s # 1063s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1063s # 1063s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1063s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1063s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1063s # 1063s # struct _OrgProjectUsefulInterfaceProxy 1063s # { 1063s # /*< private >*/ 1063s # GDBusProxy parent_instance; 1063s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1063s # }; 1063s # 1063s # struct _OrgProjectUsefulInterfaceProxyClass 1063s # { 1063s # GDBusProxyClass parent_class; 1063s # }; 1063s # 1063s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1063s # 1063s # #if GLIB_CHECK_VERSION(2, 44, 0) 1063s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1063s # #endif 1063s # 1063s # void org_project_useful_interface_proxy_new ( 1063s # GDBusConnection *connection, 1063s # GDBusProxyFlags flags, 1063s # const gchar *name, 1063s # const gchar *object_path, 1063s # GCancellable *cancellable, 1063s # GAsyncReadyCallback callback, 1063s # gpointer user_data); 1063s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1063s # GAsyncResult *res, 1063s # GError **error); 1063s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1063s # GDBusConnection *connection, 1063s # GDBusProxyFlags flags, 1063s # const gchar *name, 1063s # const gchar *object_path, 1063s # GCancellable *cancellable, 1063s # GError **error); 1063s # 1063s # void org_project_useful_interface_proxy_new_for_bus ( 1063s # GBusType bus_type, 1063s # GDBusProxyFlags flags, 1063s # const gchar *name, 1063s # const gchar *object_path, 1063s # GCancellable *cancellable, 1063s # GAsyncReadyCallback callback, 1063s # gpointer user_data); 1063s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1063s # GAsyncResult *res, 1063s # GError **error); 1063s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1063s # GBusType bus_type, 1063s # GDBusProxyFlags flags, 1063s # const gchar *name, 1063s # const gchar *object_path, 1063s # GCancellable *cancellable, 1063s # GError **error); 1063s # 1063s # 1063s # /* ---- */ 1063s # 1063s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1063s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1063s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1063s # 1063s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1063s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1063s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1063s # 1063s # struct _OrgProjectUsefulInterfaceSkeleton 1063s # { 1063s # /*< private >*/ 1063s # GDBusInterfaceSkeleton parent_instance; 1063s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1063s # }; 1063s # 1063s # struct _OrgProjectUsefulInterfaceSkeletonClass 1063s # { 1063s # GDBusInterfaceSkeletonClass parent_class; 1063s # }; 1063s # 1063s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1063s # 1063s # #if GLIB_CHECK_VERSION(2, 44, 0) 1063s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1063s # #endif 1063s # 1063s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1063s # 1063s # 1063s # G_END_DECLS 1063s # 1063s # #endif /* __STDOUT__ */ 1063s # Error: 1063s # Executing: glib/codegen.py.test 1064s ok 2 __main__.TestCodegen.test_dbus_types 1064s # gdbus-codegen: /usr/bin/gdbus-codegen 1064s # tmpdir: /tmp/tmpgj0oz8qq 1064s # /tmp/tmpgj0oz8qq/tmp0p8d_uny.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmp0p8d_uny.xml', '--output', '-', '--body'] 1064s # Return code: 1 1064s # Output: 1064s # 1064s # Error: 1064s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 1064s # /tmp/tmpgj0oz8qq/tmp3d7cl5de.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmp3d7cl5de.xml', '--output', '-', '--body'] 1064s # Return code: 1 1064s # Output: 1064s # 1064s # Error: 1064s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 1064s # /tmp/tmpgj0oz8qq/tmpz3lwrzsu.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmpz3lwrzsu.xml', '--output', '-', '--body'] 1064s # Return code: 1 1064s # Output: 1064s # 1064s # Error: 1064s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 1064s # /tmp/tmpgj0oz8qq/tmpiccyjmmk.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmpiccyjmmk.xml', '--output', '-', '--body'] 1064s # Return code: 1 1064s # Output: 1064s # 1064s # Error: 1064s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 1064s # /tmp/tmpgj0oz8qq/tmpds3pq_a7.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmpds3pq_a7.xml', '--output', '-', '--body'] 1064s # Return code: 1 1064s # Output: 1064s # 1064s # Error: 1064s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 1064s # /tmp/tmpgj0oz8qq/tmp7bivbqsu.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmp7bivbqsu.xml', '--output', '-', '--body'] 1064s # Return code: 1 1064s # Output: 1064s # 1064s # Error: 1064s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 1064s # /tmp/tmpgj0oz8qq/tmpy_nzih4n.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmpy_nzih4n.xml', '--output', '-', '--body'] 1064s # Return code: 1 1064s # Output: 1064s # 1064s # Error: 1064s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 1064s # /tmp/tmpgj0oz8qq/tmpebarfnfm.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmpebarfnfm.xml', '--output', '-', '--body'] 1064s # Return code: 1 1064s # Output: 1064s # 1064s # Error: 1064s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 1064s # /tmp/tmpgj0oz8qq/tmpo090514_.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmpo090514_.xml', '--output', '-', '--body'] 1064s # Return code: 1 1064s # Output: 1064s # 1064s # Error: 1064s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 1064s # /tmp/tmpgj0oz8qq/tmp7cok6xln.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmp7cok6xln.xml', '--output', '-', '--body'] 1064s # Return code: 1 1064s # Output: 1064s # 1064s # Error: 1064s # ERROR: D-Bus maximum signature length of 255 exceeded. 1064s # /tmp/tmpgj0oz8qq/tmp9mnjf0ii.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmp9mnjf0ii.xml', '--output', '-', '--body'] 1064s # Return code: 1 1064s # Output: 1064s # 1064s # Error: 1064s # ERROR: D-Bus maximum signature length of 255 exceeded. 1064s # /tmp/tmpgj0oz8qq/tmp1jebtdju.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmp1jebtdju.xml', '--output', '-', '--body'] 1064s # Return code: 1 1064s # Output: 1064s # 1064s # Error: 1064s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 1064s # /tmp/tmpgj0oz8qq/tmptwfqf_0s.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmptwfqf_0s.xml', '--output', '-', '--body'] 1064s # Return code: 1 1064s # Output: 1064s # 1064s # Error: 1064s # ERROR: D-Bus maximum signature length of 255 exceeded. 1064s # /tmp/tmpgj0oz8qq/tmpk6_l31n3.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmpk6_l31n3.xml', '--output', '-', '--body'] 1064s # Return code: 0 1064s # Output: 1064s # /* 1064s # * This file is generated by gdbus-codegen, do not modify it. 1064s # * 1064s # * The license of this code is the same as for the D-Bus interface description 1064s # * it was derived from. Note that it links to GLib, so must comply with the 1064s # * LGPL linking clauses. 1064s # */ 1064s # 1064s # #ifdef HAVE_CONFIG_H 1064s # # include "config.h" 1064s # #endif 1064s # 1064s # #include 1064s # #ifdef G_OS_UNIX 1064s # # include 1064s # #endif 1064s # 1064s # #ifdef G_ENABLE_DEBUG 1064s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1064s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1064s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1064s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1064s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1064s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1064s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1064s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1064s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1064s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1064s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1064s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1064s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1064s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1064s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1064s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1064s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1064s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1064s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1064s # #else /* !G_ENABLE_DEBUG */ 1064s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1064s # * Do not access GValues directly in your code. Instead, use the 1064s # * g_value_get_*() functions 1064s # */ 1064s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1064s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1064s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1064s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1064s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1064s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1064s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1064s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1064s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1064s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1064s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1064s # #endif /* !G_ENABLE_DEBUG */ 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusArgInfo parent_struct; 1064s # gboolean use_gvariant; 1064s # } _ExtendedGDBusArgInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusMethodInfo parent_struct; 1064s # const gchar *signal_name; 1064s # gboolean pass_fdlist; 1064s # } _ExtendedGDBusMethodInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusSignalInfo parent_struct; 1064s # const gchar *signal_name; 1064s # } _ExtendedGDBusSignalInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusPropertyInfo parent_struct; 1064s # const gchar *hyphen_name; 1064s # guint use_gvariant : 1; 1064s # guint emits_changed_signal : 1; 1064s # } _ExtendedGDBusPropertyInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusInterfaceInfo parent_struct; 1064s # const gchar *hyphen_name; 1064s # } _ExtendedGDBusInterfaceInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # guint prop_id; 1064s # GValue orig_value; /* the value before the change */ 1064s # } ChangedProperty; 1064s # 1064s # static void 1064s # _changed_property_free (ChangedProperty *data) 1064s # { 1064s # g_value_unset (&data->orig_value); 1064s # g_free (data); 1064s # } 1064s # 1064s # static gboolean 1064s # _g_strv_equal0 (gchar **a, gchar **b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # guint n; 1064s # if (a == NULL && b == NULL) 1064s # { 1064s # ret = TRUE; 1064s # goto out; 1064s # } 1064s # if (a == NULL || b == NULL) 1064s # goto out; 1064s # if (g_strv_length (a) != g_strv_length (b)) 1064s # goto out; 1064s # for (n = 0; a[n] != NULL; n++) 1064s # if (g_strcmp0 (a[n], b[n]) != 0) 1064s # goto out; 1064s # ret = TRUE; 1064s # out: 1064s # return ret; 1064s # } 1064s # 1064s # static gboolean 1064s # _g_variant_equal0 (GVariant *a, GVariant *b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # if (a == NULL && b == NULL) 1064s # { 1064s # ret = TRUE; 1064s # goto out; 1064s # } 1064s # if (a == NULL || b == NULL) 1064s # goto out; 1064s # ret = g_variant_equal (a, b); 1064s # out: 1064s # return ret; 1064s # } 1064s # 1064s # G_GNUC_UNUSED static gboolean 1064s # _g_value_equal (const GValue *a, const GValue *b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1064s # switch (G_VALUE_TYPE (a)) 1064s # { 1064s # case G_TYPE_BOOLEAN: 1064s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1064s # break; 1064s # case G_TYPE_UCHAR: 1064s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1064s # break; 1064s # case G_TYPE_INT: 1064s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1064s # break; 1064s # case G_TYPE_UINT: 1064s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1064s # break; 1064s # case G_TYPE_INT64: 1064s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1064s # break; 1064s # case G_TYPE_UINT64: 1064s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1064s # break; 1064s # case G_TYPE_DOUBLE: 1064s # { 1064s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1064s # gdouble da = g_value_get_double (a); 1064s # gdouble db = g_value_get_double (b); 1064s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1064s # } 1064s # break; 1064s # case G_TYPE_STRING: 1064s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1064s # break; 1064s # case G_TYPE_VARIANT: 1064s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1064s # break; 1064s # default: 1064s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1064s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1064s # else 1064s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1064s # break; 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # /* ------------------------------------------------------------------------ 1064s # * Code for interface GoodTypes 1064s # * ------------------------------------------------------------------------ 1064s # */ 1064s # 1064s # /** 1064s # * SECTION:GoodTypes 1064s # * @title: GoodTypes 1064s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1064s # * 1064s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1064s # */ 1064s # 1064s # /* ---- Introspection data for GoodTypes ---- */ 1064s # 1064s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1064s # { 1064s # { 1064s # -1, 1064s # (gchar *) "GoodPropertyType", 1064s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1064s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1064s # NULL 1064s # }, 1064s # "good-property-type", 1064s # FALSE, 1064s # TRUE 1064s # }; 1064s # 1064s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1064s # { 1064s # &_good_types_property_info_good_property_type.parent_struct, 1064s # NULL 1064s # }; 1064s # 1064s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1064s # { 1064s # { 1064s # -1, 1064s # (gchar *) "GoodTypes", 1064s # NULL, 1064s # NULL, 1064s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1064s # NULL 1064s # }, 1064s # "good-types", 1064s # }; 1064s # 1064s # 1064s # /** 1064s # * good_types_interface_info: 1064s # * 1064s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1064s # * 1064s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1064s # */ 1064s # GDBusInterfaceInfo * 1064s # good_types_interface_info (void) 1064s # { 1064s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1064s # } 1064s # 1064s # /** 1064s # * good_types_override_properties: 1064s # * @klass: The class structure for a #GObject derived class. 1064s # * @property_id_begin: The property id to assign to the first overridden property. 1064s # * 1064s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1064s # * The properties are overridden in the order they are defined. 1064s # * 1064s # * Returns: The last property id. 1064s # */ 1064s # guint 1064s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1064s # { 1064s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1064s # return property_id_begin - 1; 1064s # } 1064s # 1064s # 1064s # 1064s # /** 1064s # * GoodTypes: 1064s # * 1064s # * Abstract interface type for the D-Bus interface GoodTypes. 1064s # */ 1064s # 1064s # /** 1064s # * GoodTypesIface: 1064s # * @parent_iface: The parent interface. 1064s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1064s # * 1064s # * Virtual table for the D-Bus interface GoodTypes. 1064s # */ 1064s # 1064s # typedef GoodTypesIface GoodTypesInterface; 1064s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1064s # 1064s # static void 1064s # good_types_default_init (GoodTypesIface *iface) 1064s # { 1064s # /* GObject properties for D-Bus properties: */ 1064s # /** 1064s # * GoodTypes:good-property-type: 1064s # * 1064s # * Represents the D-Bus property "GoodPropertyType". 1064s # * 1064s # * 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. 1064s # */ 1064s # g_object_interface_install_property (iface, 1064s # 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)); 1064s # } 1064s # 1064s # /** 1064s # * good_types_get_good_property_type: (skip) 1064s # * @object: A GoodTypes. 1064s # * 1064s # * Gets the value of the "GoodPropertyType" D-Bus property. 1064s # * 1064s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1064s # * 1064s # * 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. 1064s # * 1064s # * 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. 1064s # */ 1064s # GVariant * 1064s # good_types_get_good_property_type (GoodTypes *object) 1064s # { 1064s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1064s # 1064s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1064s # } 1064s # 1064s # /** 1064s # * good_types_dup_good_property_type: (skip) 1064s # * @object: A GoodTypes. 1064s # * 1064s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1064s # * 1064s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1064s # * 1064s # * 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(). 1064s # */ 1064s # GVariant * 1064s # good_types_dup_good_property_type (GoodTypes *object) 1064s # { 1064s # GVariant *value; 1064s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1064s # return value; 1064s # } 1064s # 1064s # /** 1064s # * good_types_set_good_property_type: (skip) 1064s # * @object: A GoodTypes. 1064s # * @value: The value to set. 1064s # * 1064s # * Sets the "GoodPropertyType" D-Bus property to @value. 1064s # * 1064s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1064s # */ 1064s # void 1064s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1064s # { 1064s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1064s # } 1064s # 1064s # /* ------------------------------------------------------------------------ */ 1064s # 1064s # /** 1064s # * GoodTypesProxy: 1064s # * 1064s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1064s # */ 1064s # 1064s # /** 1064s # * GoodTypesProxyClass: 1064s # * @parent_class: The parent class. 1064s # * 1064s # * Class structure for GoodTypesProxy. 1064s # */ 1064s # 1064s # struct _GoodTypesProxyPrivate 1064s # { 1064s # GData *qdata; 1064s # }; 1064s # 1064s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1064s # G_ADD_PRIVATE (GoodTypesProxy) 1064s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1064s # 1064s # #else 1064s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1064s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1064s # 1064s # #endif 1064s # static void 1064s # good_types_proxy_finalize (GObject *object) 1064s # { 1064s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1064s # g_datalist_clear (&proxy->priv->qdata); 1064s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_get_property (GObject *object, 1064s # guint prop_id, 1064s # GValue *value, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # GVariant *variant; 1064s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1064s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1064s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1064s # if (info->use_gvariant) 1064s # { 1064s # g_value_set_variant (value, variant); 1064s # } 1064s # else 1064s # { 1064s # if (variant != NULL) 1064s # g_dbus_gvariant_to_gvalue (variant, value); 1064s # } 1064s # if (variant != NULL) 1064s # g_variant_unref (variant); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1064s # GAsyncResult *res, 1064s # gpointer user_data) 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info = user_data; 1064s # GError *error; 1064s # GVariant *_ret; 1064s # error = NULL; 1064s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1064s # if (!_ret) 1064s # { 1064s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1064s # info->parent_struct.name, 1064s # error->message, g_quark_to_string (error->domain), error->code); 1064s # g_error_free (error); 1064s # } 1064s # else 1064s # { 1064s # g_variant_unref (_ret); 1064s # } 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_set_property (GObject *object, 1064s # guint prop_id, 1064s # const GValue *value, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # GVariant *variant; 1064s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1064s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1064s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1064s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1064s # "org.freedesktop.DBus.Properties.Set", 1064s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1064s # G_DBUS_CALL_FLAGS_NONE, 1064s # -1, 1064s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1064s # g_variant_unref (variant); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_g_signal (GDBusProxy *proxy, 1064s # const gchar *sender_name G_GNUC_UNUSED, 1064s # const gchar *signal_name, 1064s # GVariant *parameters) 1064s # { 1064s # _ExtendedGDBusSignalInfo *info; 1064s # GVariantIter iter; 1064s # GVariant *child; 1064s # GValue *paramv; 1064s # gsize num_params; 1064s # gsize n; 1064s # guint signal_id; 1064s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1064s # if (info == NULL) 1064s # return; 1064s # num_params = g_variant_n_children (parameters); 1064s # paramv = g_new0 (GValue, num_params + 1); 1064s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1064s # g_value_set_object (¶mv[0], proxy); 1064s # g_variant_iter_init (&iter, parameters); 1064s # n = 1; 1064s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1064s # { 1064s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1064s # if (arg_info->use_gvariant) 1064s # { 1064s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1064s # g_value_set_variant (¶mv[n], child); 1064s # n++; 1064s # } 1064s # else 1064s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1064s # g_variant_unref (child); 1064s # } 1064s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1064s # g_signal_emitv (paramv, signal_id, 0, NULL); 1064s # for (n = 0; n < num_params + 1; n++) 1064s # g_value_unset (¶mv[n]); 1064s # g_free (paramv); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1064s # GVariant *changed_properties, 1064s # const gchar *const *invalidated_properties) 1064s # { 1064s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1064s # guint n; 1064s # const gchar *key; 1064s # GVariantIter *iter; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # g_variant_get (changed_properties, "a{sv}", &iter); 1064s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1064s # { 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1064s # g_datalist_remove_data (&proxy->priv->qdata, key); 1064s # if (info != NULL) 1064s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1064s # } 1064s # g_variant_iter_free (iter); 1064s # for (n = 0; invalidated_properties[n] != NULL; n++) 1064s # { 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1064s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1064s # if (info != NULL) 1064s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1064s # } 1064s # } 1064s # 1064s # static GVariant * 1064s # good_types_proxy_get_good_property_type (GoodTypes *object) 1064s # { 1064s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1064s # GVariant *variant; 1064s # GVariant *value = NULL; 1064s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1064s # value = variant; 1064s # if (variant != NULL) 1064s # g_variant_unref (variant); 1064s # return value; 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_init (GoodTypesProxy *proxy) 1064s # { 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1064s # #else 1064s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1064s # #endif 1064s # 1064s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1064s # { 1064s # GObjectClass *gobject_class; 1064s # GDBusProxyClass *proxy_class; 1064s # 1064s # gobject_class = G_OBJECT_CLASS (klass); 1064s # gobject_class->finalize = good_types_proxy_finalize; 1064s # gobject_class->get_property = good_types_proxy_get_property; 1064s # gobject_class->set_property = good_types_proxy_set_property; 1064s # 1064s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1064s # proxy_class->g_signal = good_types_proxy_g_signal; 1064s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1064s # 1064s # good_types_override_properties (gobject_class, 1); 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1064s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1064s # #endif 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_iface_init (GoodTypesIface *iface) 1064s # { 1064s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new: 1064s # * @connection: A #GDBusConnection. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1064s # * @user_data: User data to pass to @callback. 1064s # * 1064s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1064s # * 1064s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1064s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1064s # * 1064s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1064s # */ 1064s # void 1064s # good_types_proxy_new ( 1064s # GDBusConnection *connection, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GAsyncReadyCallback callback, 1064s # gpointer user_data) 1064s # { 1064s # 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); 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new_finish: 1064s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Finishes an operation started with good_types_proxy_new(). 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # GoodTypes * 1064s # good_types_proxy_new_finish ( 1064s # GAsyncResult *res, 1064s # GError **error) 1064s # { 1064s # GObject *ret; 1064s # GObject *source_object; 1064s # source_object = g_async_result_get_source_object (res); 1064s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1064s # g_object_unref (source_object); 1064s # if (ret != NULL) 1064s # return GOOD_TYPES (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new_sync: 1064s # * @connection: A #GDBusConnection. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1064s # * 1064s # * The calling thread is blocked until a reply is received. 1064s # * 1064s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # GoodTypes * 1064s # good_types_proxy_new_sync ( 1064s # GDBusConnection *connection, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GError **error) 1064s # { 1064s # GInitable *ret; 1064s # 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); 1064s # if (ret != NULL) 1064s # return GOOD_TYPES (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # 1064s # /** 1064s # * good_types_proxy_new_for_bus: 1064s # * @bus_type: A #GBusType. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: A bus name (well-known or unique). 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1064s # * @user_data: User data to pass to @callback. 1064s # * 1064s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1064s # * 1064s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1064s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1064s # * 1064s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1064s # */ 1064s # void 1064s # good_types_proxy_new_for_bus ( 1064s # GBusType bus_type, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GAsyncReadyCallback callback, 1064s # gpointer user_data) 1064s # { 1064s # 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); 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new_for_bus_finish: 1064s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # GoodTypes * 1064s # good_types_proxy_new_for_bus_finish ( 1064s # GAsyncResult *res, 1064s # GError **error) 1064s # { 1064s # GObject *ret; 1064s # GObject *source_object; 1064s # source_object = g_async_result_get_source_object (res); 1064s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1064s # g_object_unref (source_object); 1064s # if (ret != NULL) 1064s # return GOOD_TYPES (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new_for_bus_sync: 1064s # * @bus_type: A #GBusType. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: A bus name (well-known or unique). 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1064s # * 1064s # * The calling thread is blocked until a reply is received. 1064s # * 1064s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # GoodTypes * 1064s # good_types_proxy_new_for_bus_sync ( 1064s # GBusType bus_type, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GError **error) 1064s # { 1064s # GInitable *ret; 1064s # 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); 1064s # if (ret != NULL) 1064s # return GOOD_TYPES (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # 1064s # /* ------------------------------------------------------------------------ */ 1064s # 1064s # /** 1064s # * GoodTypesSkeleton: 1064s # * 1064s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1064s # */ 1064s # 1064s # /** 1064s # * GoodTypesSkeletonClass: 1064s # * @parent_class: The parent class. 1064s # * 1064s # * Class structure for GoodTypesSkeleton. 1064s # */ 1064s # 1064s # struct _GoodTypesSkeletonPrivate 1064s # { 1064s # GValue *properties; 1064s # GList *changed_properties; 1064s # GSource *changed_properties_idle_source; 1064s # GMainContext *context; 1064s # GMutex lock; 1064s # }; 1064s # 1064s # static void 1064s # _good_types_skeleton_handle_method_call ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name, 1064s # const gchar *method_name, 1064s # GVariant *parameters, 1064s # GDBusMethodInvocation *invocation, 1064s # gpointer user_data) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1064s # _ExtendedGDBusMethodInfo *info; 1064s # GVariantIter iter; 1064s # GVariant *child; 1064s # GValue *paramv; 1064s # gsize num_params; 1064s # guint num_extra; 1064s # gsize n; 1064s # guint signal_id; 1064s # GValue return_value = G_VALUE_INIT; 1064s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1064s # g_assert (info != NULL); 1064s # num_params = g_variant_n_children (parameters); 1064s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1064s # n = 0; 1064s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1064s # g_value_set_object (¶mv[n++], skeleton); 1064s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1064s # g_value_set_object (¶mv[n++], invocation); 1064s # if (info->pass_fdlist) 1064s # { 1064s # #ifdef G_OS_UNIX 1064s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1064s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1064s # #else 1064s # g_assert_not_reached (); 1064s # #endif 1064s # } 1064s # g_variant_iter_init (&iter, parameters); 1064s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1064s # { 1064s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1064s # if (arg_info->use_gvariant) 1064s # { 1064s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1064s # g_value_set_variant (¶mv[n], child); 1064s # n++; 1064s # } 1064s # else 1064s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1064s # g_variant_unref (child); 1064s # } 1064s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1064s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1064s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1064s # if (!g_value_get_boolean (&return_value)) 1064s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1064s # g_value_unset (&return_value); 1064s # for (n = 0; n < num_params + num_extra; n++) 1064s # g_value_unset (¶mv[n]); 1064s # g_free (paramv); 1064s # } 1064s # 1064s # static GVariant * 1064s # _good_types_skeleton_handle_get_property ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name G_GNUC_UNUSED, 1064s # const gchar *property_name, 1064s # GError **error, 1064s # gpointer user_data) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1064s # GValue value = G_VALUE_INIT; 1064s # GParamSpec *pspec; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # GVariant *ret; 1064s # ret = NULL; 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1064s # g_assert (info != NULL); 1064s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1064s # if (pspec == NULL) 1064s # { 1064s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1064s # } 1064s # else 1064s # { 1064s # g_value_init (&value, pspec->value_type); 1064s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1064s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1064s # g_value_unset (&value); 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # static gboolean 1064s # _good_types_skeleton_handle_set_property ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name G_GNUC_UNUSED, 1064s # const gchar *property_name, 1064s # GVariant *variant, 1064s # GError **error, 1064s # gpointer user_data) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1064s # GValue value = G_VALUE_INIT; 1064s # GParamSpec *pspec; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # gboolean ret; 1064s # ret = FALSE; 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1064s # g_assert (info != NULL); 1064s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1064s # if (pspec == NULL) 1064s # { 1064s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1064s # } 1064s # else 1064s # { 1064s # if (info->use_gvariant) 1064s # g_value_set_variant (&value, variant); 1064s # else 1064s # g_dbus_gvariant_to_gvalue (variant, &value); 1064s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1064s # g_value_unset (&value); 1064s # ret = TRUE; 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1064s # { 1064s # _good_types_skeleton_handle_method_call, 1064s # _good_types_skeleton_handle_get_property, 1064s # _good_types_skeleton_handle_set_property, 1064s # {NULL} 1064s # }; 1064s # 1064s # static GDBusInterfaceInfo * 1064s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1064s # { 1064s # return good_types_interface_info (); 1064s # } 1064s # 1064s # static GDBusInterfaceVTable * 1064s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1064s # { 1064s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1064s # } 1064s # 1064s # static GVariant * 1064s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1064s # 1064s # GVariantBuilder builder; 1064s # guint n; 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1064s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # #else 1064s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # #endif 1064s # if (_good_types_interface_info.parent_struct.properties == NULL) 1064s # goto out; 1064s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1064s # { 1064s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1064s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1064s # { 1064s # GVariant *value; 1064s # 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); 1064s # if (value != NULL) 1064s # { 1064s # g_variant_take_ref (value); 1064s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1064s # g_variant_unref (value); 1064s # } 1064s # } 1064s # } 1064s # out: 1064s # return g_variant_builder_end (&builder); 1064s # } 1064s # 1064s # static gboolean _good_types_emit_changed (gpointer user_data); 1064s # 1064s # static void 1064s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1064s # gboolean emit_changed = FALSE; 1064s # 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # if (skeleton->priv->changed_properties_idle_source != NULL) 1064s # { 1064s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1064s # skeleton->priv->changed_properties_idle_source = NULL; 1064s # emit_changed = TRUE; 1064s # } 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # 1064s # if (emit_changed) 1064s # _good_types_emit_changed (skeleton); 1064s # } 1064s # 1064s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1064s # G_ADD_PRIVATE (GoodTypesSkeleton) 1064s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1064s # 1064s # #else 1064s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1064s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1064s # 1064s # #endif 1064s # static void 1064s # good_types_skeleton_finalize (GObject *object) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # guint n; 1064s # for (n = 0; n < 1; n++) 1064s # g_value_unset (&skeleton->priv->properties[n]); 1064s # g_free (skeleton->priv->properties); 1064s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1064s # if (skeleton->priv->changed_properties_idle_source != NULL) 1064s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1064s # g_main_context_unref (skeleton->priv->context); 1064s # g_mutex_clear (&skeleton->priv->lock); 1064s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_get_property (GObject *object, 1064s # guint prop_id, 1064s # GValue *value, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # } 1064s # 1064s # static gboolean 1064s # _good_types_emit_changed (gpointer user_data) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1064s # GList *l; 1064s # GVariantBuilder builder; 1064s # GVariantBuilder invalidated_builder; 1064s # guint num_changes; 1064s # 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1064s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1064s # #else 1064s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1064s # #endif 1064s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1064s # { 1064s # ChangedProperty *cp = l->data; 1064s # GVariant *variant; 1064s # const GValue *cur_value; 1064s # 1064s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1064s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1064s # { 1064s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1064s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1064s # g_variant_unref (variant); 1064s # num_changes++; 1064s # } 1064s # } 1064s # if (num_changes > 0) 1064s # { 1064s # GList *connections, *ll; 1064s # GVariant *signal_variant; 1064s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1064s # &builder, &invalidated_builder)); 1064s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1064s # for (ll = connections; ll != NULL; ll = ll->next) 1064s # { 1064s # GDBusConnection *connection = ll->data; 1064s # 1064s # g_dbus_connection_emit_signal (connection, 1064s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1064s # "org.freedesktop.DBus.Properties", 1064s # "PropertiesChanged", 1064s # signal_variant, 1064s # NULL); 1064s # } 1064s # g_variant_unref (signal_variant); 1064s # g_list_free_full (connections, g_object_unref); 1064s # } 1064s # else 1064s # { 1064s # g_variant_builder_clear (&builder); 1064s # g_variant_builder_clear (&invalidated_builder); 1064s # } 1064s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1064s # skeleton->priv->changed_properties = NULL; 1064s # skeleton->priv->changed_properties_idle_source = NULL; 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # return FALSE; 1064s # } 1064s # 1064s # static void 1064s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1064s # { 1064s # ChangedProperty *cp; 1064s # GList *l; 1064s # cp = NULL; 1064s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1064s # { 1064s # ChangedProperty *i_cp = l->data; 1064s # if (i_cp->info == info) 1064s # { 1064s # cp = i_cp; 1064s # break; 1064s # } 1064s # } 1064s # if (cp == NULL) 1064s # { 1064s # cp = g_new0 (ChangedProperty, 1); 1064s # cp->prop_id = prop_id; 1064s # cp->info = info; 1064s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1064s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1064s # g_value_copy (orig_value, &cp->orig_value); 1064s # } 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_notify (GObject *object, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # if (skeleton->priv->changed_properties != NULL && 1064s # skeleton->priv->changed_properties_idle_source == NULL) 1064s # { 1064s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1064s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1064s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1064s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1064s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1064s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1064s # } 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_set_property (GObject *object, 1064s # guint prop_id, 1064s # const GValue *value, 1064s # GParamSpec *pspec) 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1064s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # g_object_freeze_notify (object); 1064s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1064s # { 1064s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1064s # info->emits_changed_signal) 1064s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1064s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1064s # g_object_notify_by_pspec (object, pspec); 1064s # } 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # g_object_thaw_notify (object); 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1064s # { 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1064s # #else 1064s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1064s # #endif 1064s # 1064s # g_mutex_init (&skeleton->priv->lock); 1064s # skeleton->priv->context = g_main_context_ref_thread_default (); 1064s # skeleton->priv->properties = g_new0 (GValue, 1); 1064s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1064s # } 1064s # 1064s # static GVariant * 1064s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # GVariant *value; 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # return value; 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1064s # { 1064s # GObjectClass *gobject_class; 1064s # GDBusInterfaceSkeletonClass *skeleton_class; 1064s # 1064s # gobject_class = G_OBJECT_CLASS (klass); 1064s # gobject_class->finalize = good_types_skeleton_finalize; 1064s # gobject_class->get_property = good_types_skeleton_get_property; 1064s # gobject_class->set_property = good_types_skeleton_set_property; 1064s # gobject_class->notify = good_types_skeleton_notify; 1064s # 1064s # 1064s # good_types_override_properties (gobject_class, 1); 1064s # 1064s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1064s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1064s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1064s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1064s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1064s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1064s # #endif 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1064s # { 1064s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1064s # } 1064s # 1064s # /** 1064s # * good_types_skeleton_new: 1064s # * 1064s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1064s # */ 1064s # GoodTypes * 1064s # good_types_skeleton_new (void) 1064s # { 1064s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1064s # } 1064s # Error: 1064s # 1064s # /tmp/tmpgj0oz8qq/tmpxktu5t8f.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmpxktu5t8f.xml', '--output', '-', '--body'] 1064s # Return code: 0 1064s # Output: 1064s # /* 1064s # * This file is generated by gdbus-codegen, do not modify it. 1064s # * 1064s # * The license of this code is the same as for the D-Bus interface description 1064s # * it was derived from. Note that it links to GLib, so must comply with the 1064s # * LGPL linking clauses. 1064s # */ 1064s # 1064s # #ifdef HAVE_CONFIG_H 1064s # # include "config.h" 1064s # #endif 1064s # 1064s # #include 1064s # #ifdef G_OS_UNIX 1064s # # include 1064s # #endif 1064s # 1064s # #ifdef G_ENABLE_DEBUG 1064s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1064s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1064s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1064s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1064s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1064s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1064s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1064s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1064s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1064s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1064s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1064s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1064s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1064s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1064s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1064s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1064s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1064s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1064s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1064s # #else /* !G_ENABLE_DEBUG */ 1064s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1064s # * Do not access GValues directly in your code. Instead, use the 1064s # * g_value_get_*() functions 1064s # */ 1064s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1064s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1064s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1064s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1064s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1064s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1064s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1064s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1064s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1064s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1064s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1064s # #endif /* !G_ENABLE_DEBUG */ 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusArgInfo parent_struct; 1064s # gboolean use_gvariant; 1064s # } _ExtendedGDBusArgInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusMethodInfo parent_struct; 1064s # const gchar *signal_name; 1064s # gboolean pass_fdlist; 1064s # } _ExtendedGDBusMethodInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusSignalInfo parent_struct; 1064s # const gchar *signal_name; 1064s # } _ExtendedGDBusSignalInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusPropertyInfo parent_struct; 1064s # const gchar *hyphen_name; 1064s # guint use_gvariant : 1; 1064s # guint emits_changed_signal : 1; 1064s # } _ExtendedGDBusPropertyInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusInterfaceInfo parent_struct; 1064s # const gchar *hyphen_name; 1064s # } _ExtendedGDBusInterfaceInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # guint prop_id; 1064s # GValue orig_value; /* the value before the change */ 1064s # } ChangedProperty; 1064s # 1064s # static void 1064s # _changed_property_free (ChangedProperty *data) 1064s # { 1064s # g_value_unset (&data->orig_value); 1064s # g_free (data); 1064s # } 1064s # 1064s # static gboolean 1064s # _g_strv_equal0 (gchar **a, gchar **b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # guint n; 1064s # if (a == NULL && b == NULL) 1064s # { 1064s # ret = TRUE; 1064s # goto out; 1064s # } 1064s # if (a == NULL || b == NULL) 1064s # goto out; 1064s # if (g_strv_length (a) != g_strv_length (b)) 1064s # goto out; 1064s # for (n = 0; a[n] != NULL; n++) 1064s # if (g_strcmp0 (a[n], b[n]) != 0) 1064s # goto out; 1064s # ret = TRUE; 1064s # out: 1064s # return ret; 1064s # } 1064s # 1064s # static gboolean 1064s # _g_variant_equal0 (GVariant *a, GVariant *b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # if (a == NULL && b == NULL) 1064s # { 1064s # ret = TRUE; 1064s # goto out; 1064s # } 1064s # if (a == NULL || b == NULL) 1064s # goto out; 1064s # ret = g_variant_equal (a, b); 1064s # out: 1064s # return ret; 1064s # } 1064s # 1064s # G_GNUC_UNUSED static gboolean 1064s # _g_value_equal (const GValue *a, const GValue *b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1064s # switch (G_VALUE_TYPE (a)) 1064s # { 1064s # case G_TYPE_BOOLEAN: 1064s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1064s # break; 1064s # case G_TYPE_UCHAR: 1064s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1064s # break; 1064s # case G_TYPE_INT: 1064s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1064s # break; 1064s # case G_TYPE_UINT: 1064s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1064s # break; 1064s # case G_TYPE_INT64: 1064s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1064s # break; 1064s # case G_TYPE_UINT64: 1064s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1064s # break; 1064s # case G_TYPE_DOUBLE: 1064s # { 1064s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1064s # gdouble da = g_value_get_double (a); 1064s # gdouble db = g_value_get_double (b); 1064s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1064s # } 1064s # break; 1064s # case G_TYPE_STRING: 1064s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1064s # break; 1064s # case G_TYPE_VARIANT: 1064s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1064s # break; 1064s # default: 1064s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1064s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1064s # else 1064s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1064s # break; 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # /* ------------------------------------------------------------------------ 1064s # * Code for interface GoodTypes 1064s # * ------------------------------------------------------------------------ 1064s # */ 1064s # 1064s # /** 1064s # * SECTION:GoodTypes 1064s # * @title: GoodTypes 1064s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1064s # * 1064s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1064s # */ 1064s # 1064s # /* ---- Introspection data for GoodTypes ---- */ 1064s # 1064s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1064s # { 1064s # { 1064s # -1, 1064s # (gchar *) "GoodPropertyType", 1064s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1064s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1064s # NULL 1064s # }, 1064s # "good-property-type", 1064s # FALSE, 1064s # TRUE 1064s # }; 1064s # 1064s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1064s # { 1064s # &_good_types_property_info_good_property_type.parent_struct, 1064s # NULL 1064s # }; 1064s # 1064s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1064s # { 1064s # { 1064s # -1, 1064s # (gchar *) "GoodTypes", 1064s # NULL, 1064s # NULL, 1064s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1064s # NULL 1064s # }, 1064s # "good-types", 1064s # }; 1064s # 1064s # 1064s # /** 1064s # * good_types_interface_info: 1064s # * 1064s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1064s # * 1064s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1064s # */ 1064s # GDBusInterfaceInfo * 1064s # good_types_interface_info (void) 1064s # { 1064s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1064s # } 1064s # 1064s # /** 1064s # * good_types_override_properties: 1064s # * @klass: The class structure for a #GObject derived class. 1064s # * @property_id_begin: The property id to assign to the first overridden property. 1064s # * 1064s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1064s # * The properties are overridden in the order they are defined. 1064s # * 1064s # * Returns: The last property id. 1064s # */ 1064s # guint 1064s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1064s # { 1064s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1064s # return property_id_begin - 1; 1064s # } 1064s # 1064s # 1064s # 1064s # /** 1064s # * GoodTypes: 1064s # * 1064s # * Abstract interface type for the D-Bus interface GoodTypes. 1064s # */ 1064s # 1064s # /** 1064s # * GoodTypesIface: 1064s # * @parent_iface: The parent interface. 1064s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1064s # * 1064s # * Virtual table for the D-Bus interface GoodTypes. 1064s # */ 1064s # 1064s # typedef GoodTypesIface GoodTypesInterface; 1064s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1064s # 1064s # static void 1064s # good_types_default_init (GoodTypesIface *iface) 1064s # { 1064s # /* GObject properties for D-Bus properties: */ 1064s # /** 1064s # * GoodTypes:good-property-type: 1064s # * 1064s # * Represents the D-Bus property "GoodPropertyType". 1064s # * 1064s # * 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. 1064s # */ 1064s # g_object_interface_install_property (iface, 1064s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1064s # } 1064s # 1064s # /** 1064s # * good_types_get_good_property_type: (skip) 1064s # * @object: A GoodTypes. 1064s # * 1064s # * Gets the value of the "GoodPropertyType" D-Bus property. 1064s # * 1064s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1064s # * 1064s # * 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. 1064s # * 1064s # * 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. 1064s # */ 1064s # GVariant * 1064s # good_types_get_good_property_type (GoodTypes *object) 1064s # { 1064s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1064s # 1064s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1064s # } 1064s # 1064s # /** 1064s # * good_types_dup_good_property_type: (skip) 1064s # * @object: A GoodTypes. 1064s # * 1064s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1064s # * 1064s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1064s # * 1064s # * 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(). 1064s # */ 1064s # GVariant * 1064s # good_types_dup_good_property_type (GoodTypes *object) 1064s # { 1064s # GVariant *value; 1064s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1064s # return value; 1064s # } 1064s # 1064s # /** 1064s # * good_types_set_good_property_type: (skip) 1064s # * @object: A GoodTypes. 1064s # * @value: The value to set. 1064s # * 1064s # * Sets the "GoodPropertyType" D-Bus property to @value. 1064s # * 1064s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1064s # */ 1064s # void 1064s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1064s # { 1064s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1064s # } 1064s # 1064s # /* ------------------------------------------------------------------------ */ 1064s # 1064s # /** 1064s # * GoodTypesProxy: 1064s # * 1064s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1064s # */ 1064s # 1064s # /** 1064s # * GoodTypesProxyClass: 1064s # * @parent_class: The parent class. 1064s # * 1064s # * Class structure for GoodTypesProxy. 1064s # */ 1064s # 1064s # struct _GoodTypesProxyPrivate 1064s # { 1064s # GData *qdata; 1064s # }; 1064s # 1064s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1064s # G_ADD_PRIVATE (GoodTypesProxy) 1064s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1064s # 1064s # #else 1064s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1064s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1064s # 1064s # #endif 1064s # static void 1064s # good_types_proxy_finalize (GObject *object) 1064s # { 1064s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1064s # g_datalist_clear (&proxy->priv->qdata); 1064s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_get_property (GObject *object, 1064s # guint prop_id, 1064s # GValue *value, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # GVariant *variant; 1064s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1064s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1064s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1064s # if (info->use_gvariant) 1064s # { 1064s # g_value_set_variant (value, variant); 1064s # } 1064s # else 1064s # { 1064s # if (variant != NULL) 1064s # g_dbus_gvariant_to_gvalue (variant, value); 1064s # } 1064s # if (variant != NULL) 1064s # g_variant_unref (variant); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1064s # GAsyncResult *res, 1064s # gpointer user_data) 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info = user_data; 1064s # GError *error; 1064s # GVariant *_ret; 1064s # error = NULL; 1064s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1064s # if (!_ret) 1064s # { 1064s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1064s # info->parent_struct.name, 1064s # error->message, g_quark_to_string (error->domain), error->code); 1064s # g_error_free (error); 1064s # } 1064s # else 1064s # { 1064s # g_variant_unref (_ret); 1064s # } 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_set_property (GObject *object, 1064s # guint prop_id, 1064s # const GValue *value, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # GVariant *variant; 1064s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1064s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1064s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1064s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1064s # "org.freedesktop.DBus.Properties.Set", 1064s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1064s # G_DBUS_CALL_FLAGS_NONE, 1064s # -1, 1064s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1064s # g_variant_unref (variant); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_g_signal (GDBusProxy *proxy, 1064s # const gchar *sender_name G_GNUC_UNUSED, 1064s # const gchar *signal_name, 1064s # GVariant *parameters) 1064s # { 1064s # _ExtendedGDBusSignalInfo *info; 1064s # GVariantIter iter; 1064s # GVariant *child; 1064s # GValue *paramv; 1064s # gsize num_params; 1064s # gsize n; 1064s # guint signal_id; 1064s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1064s # if (info == NULL) 1064s # return; 1064s # num_params = g_variant_n_children (parameters); 1064s # paramv = g_new0 (GValue, num_params + 1); 1064s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1064s # g_value_set_object (¶mv[0], proxy); 1064s # g_variant_iter_init (&iter, parameters); 1064s # n = 1; 1064s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1064s # { 1064s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1064s # if (arg_info->use_gvariant) 1064s # { 1064s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1064s # g_value_set_variant (¶mv[n], child); 1064s # n++; 1064s # } 1064s # else 1064s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1064s # g_variant_unref (child); 1064s # } 1064s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1064s # g_signal_emitv (paramv, signal_id, 0, NULL); 1064s # for (n = 0; n < num_params + 1; n++) 1064s # g_value_unset (¶mv[n]); 1064s # g_free (paramv); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1064s # GVariant *changed_properties, 1064s # const gchar *const *invalidated_properties) 1064s # { 1064s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1064s # guint n; 1064s # const gchar *key; 1064s # GVariantIter *iter; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # g_variant_get (changed_properties, "a{sv}", &iter); 1064s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1064s # { 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1064s # g_datalist_remove_data (&proxy->priv->qdata, key); 1064s # if (info != NULL) 1064s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1064s # } 1064s # g_variant_iter_free (iter); 1064s # for (n = 0; invalidated_properties[n] != NULL; n++) 1064s # { 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1064s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1064s # if (info != NULL) 1064s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1064s # } 1064s # } 1064s # 1064s # static GVariant * 1064s # good_types_proxy_get_good_property_type (GoodTypes *object) 1064s # { 1064s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1064s # GVariant *variant; 1064s # GVariant *value = NULL; 1064s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1064s # value = variant; 1064s # if (variant != NULL) 1064s # g_variant_unref (variant); 1064s # return value; 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_init (GoodTypesProxy *proxy) 1064s # { 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1064s # #else 1064s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1064s # #endif 1064s # 1064s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1064s # { 1064s # GObjectClass *gobject_class; 1064s # GDBusProxyClass *proxy_class; 1064s # 1064s # gobject_class = G_OBJECT_CLASS (klass); 1064s # gobject_class->finalize = good_types_proxy_finalize; 1064s # gobject_class->get_property = good_types_proxy_get_property; 1064s # gobject_class->set_property = good_types_proxy_set_property; 1064s # 1064s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1064s # proxy_class->g_signal = good_types_proxy_g_signal; 1064s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1064s # 1064s # good_types_override_properties (gobject_class, 1); 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1064s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1064s # #endif 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_iface_init (GoodTypesIface *iface) 1064s # { 1064s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new: 1064s # * @connection: A #GDBusConnection. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1064s # * @user_data: User data to pass to @callback. 1064s # * 1064s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1064s # * 1064s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1064s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1064s # * 1064s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1064s # */ 1064s # void 1064s # good_types_proxy_new ( 1064s # GDBusConnection *connection, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GAsyncReadyCallback callback, 1064s # gpointer user_data) 1064s # { 1064s # 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); 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new_finish: 1064s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Finishes an operation started with good_types_proxy_new(). 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # GoodTypes * 1064s # good_types_proxy_new_finish ( 1064s # GAsyncResult *res, 1064s # GError **error) 1064s # { 1064s # GObject *ret; 1064s # GObject *source_object; 1064s # source_object = g_async_result_get_source_object (res); 1064s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1064s # g_object_unref (source_object); 1064s # if (ret != NULL) 1064s # return GOOD_TYPES (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new_sync: 1064s # * @connection: A #GDBusConnection. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1064s # * 1064s # * The calling thread is blocked until a reply is received. 1064s # * 1064s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # GoodTypes * 1064s # good_types_proxy_new_sync ( 1064s # GDBusConnection *connection, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GError **error) 1064s # { 1064s # GInitable *ret; 1064s # 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); 1064s # if (ret != NULL) 1064s # return GOOD_TYPES (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # 1064s # /** 1064s # * good_types_proxy_new_for_bus: 1064s # * @bus_type: A #GBusType. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: A bus name (well-known or unique). 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1064s # * @user_data: User data to pass to @callback. 1064s # * 1064s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1064s # * 1064s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1064s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1064s # * 1064s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1064s # */ 1064s # void 1064s # good_types_proxy_new_for_bus ( 1064s # GBusType bus_type, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GAsyncReadyCallback callback, 1064s # gpointer user_data) 1064s # { 1064s # 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); 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new_for_bus_finish: 1064s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # GoodTypes * 1064s # good_types_proxy_new_for_bus_finish ( 1064s # GAsyncResult *res, 1064s # GError **error) 1064s # { 1064s # GObject *ret; 1064s # GObject *source_object; 1064s # source_object = g_async_result_get_source_object (res); 1064s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1064s # g_object_unref (source_object); 1064s # if (ret != NULL) 1064s # return GOOD_TYPES (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new_for_bus_sync: 1064s # * @bus_type: A #GBusType. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: A bus name (well-known or unique). 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1064s # * 1064s # * The calling thread is blocked until a reply is received. 1064s # * 1064s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # GoodTypes * 1064s # good_types_proxy_new_for_bus_sync ( 1064s # GBusType bus_type, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GError **error) 1064s # { 1064s # GInitable *ret; 1064s # 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); 1064s # if (ret != NULL) 1064s # return GOOD_TYPES (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # 1064s # /* ------------------------------------------------------------------------ */ 1064s # 1064s # /** 1064s # * GoodTypesSkeleton: 1064s # * 1064s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1064s # */ 1064s # 1064s # /** 1064s # * GoodTypesSkeletonClass: 1064s # * @parent_class: The parent class. 1064s # * 1064s # * Class structure for GoodTypesSkeleton. 1064s # */ 1064s # 1064s # struct _GoodTypesSkeletonPrivate 1064s # { 1064s # GValue *properties; 1064s # GList *changed_properties; 1064s # GSource *changed_properties_idle_source; 1064s # GMainContext *context; 1064s # GMutex lock; 1064s # }; 1064s # 1064s # static void 1064s # _good_types_skeleton_handle_method_call ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name, 1064s # const gchar *method_name, 1064s # GVariant *parameters, 1064s # GDBusMethodInvocation *invocation, 1064s # gpointer user_data) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1064s # _ExtendedGDBusMethodInfo *info; 1064s # GVariantIter iter; 1064s # GVariant *child; 1064s # GValue *paramv; 1064s # gsize num_params; 1064s # guint num_extra; 1064s # gsize n; 1064s # guint signal_id; 1064s # GValue return_value = G_VALUE_INIT; 1064s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1064s # g_assert (info != NULL); 1064s # num_params = g_variant_n_children (parameters); 1064s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1064s # n = 0; 1064s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1064s # g_value_set_object (¶mv[n++], skeleton); 1064s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1064s # g_value_set_object (¶mv[n++], invocation); 1064s # if (info->pass_fdlist) 1064s # { 1064s # #ifdef G_OS_UNIX 1064s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1064s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1064s # #else 1064s # g_assert_not_reached (); 1064s # #endif 1064s # } 1064s # g_variant_iter_init (&iter, parameters); 1064s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1064s # { 1064s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1064s # if (arg_info->use_gvariant) 1064s # { 1064s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1064s # g_value_set_variant (¶mv[n], child); 1064s # n++; 1064s # } 1064s # else 1064s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1064s # g_variant_unref (child); 1064s # } 1064s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1064s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1064s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1064s # if (!g_value_get_boolean (&return_value)) 1064s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1064s # g_value_unset (&return_value); 1064s # for (n = 0; n < num_params + num_extra; n++) 1064s # g_value_unset (¶mv[n]); 1064s # g_free (paramv); 1064s # } 1064s # 1064s # static GVariant * 1064s # _good_types_skeleton_handle_get_property ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name G_GNUC_UNUSED, 1064s # const gchar *property_name, 1064s # GError **error, 1064s # gpointer user_data) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1064s # GValue value = G_VALUE_INIT; 1064s # GParamSpec *pspec; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # GVariant *ret; 1064s # ret = NULL; 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1064s # g_assert (info != NULL); 1064s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1064s # if (pspec == NULL) 1064s # { 1064s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1064s # } 1064s # else 1064s # { 1064s # g_value_init (&value, pspec->value_type); 1064s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1064s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1064s # g_value_unset (&value); 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # static gboolean 1064s # _good_types_skeleton_handle_set_property ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name G_GNUC_UNUSED, 1064s # const gchar *property_name, 1064s # GVariant *variant, 1064s # GError **error, 1064s # gpointer user_data) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1064s # GValue value = G_VALUE_INIT; 1064s # GParamSpec *pspec; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # gboolean ret; 1064s # ret = FALSE; 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1064s # g_assert (info != NULL); 1064s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1064s # if (pspec == NULL) 1064s # { 1064s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1064s # } 1064s # else 1064s # { 1064s # if (info->use_gvariant) 1064s # g_value_set_variant (&value, variant); 1064s # else 1064s # g_dbus_gvariant_to_gvalue (variant, &value); 1064s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1064s # g_value_unset (&value); 1064s # ret = TRUE; 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1064s # { 1064s # _good_types_skeleton_handle_method_call, 1064s # _good_types_skeleton_handle_get_property, 1064s # _good_types_skeleton_handle_set_property, 1064s # {NULL} 1064s # }; 1064s # 1064s # static GDBusInterfaceInfo * 1064s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1064s # { 1064s # return good_types_interface_info (); 1064s # } 1064s # 1064s # static GDBusInterfaceVTable * 1064s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1064s # { 1064s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1064s # } 1064s # 1064s # static GVariant * 1064s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1064s # 1064s # GVariantBuilder builder; 1064s # guint n; 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1064s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # #else 1064s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # #endif 1064s # if (_good_types_interface_info.parent_struct.properties == NULL) 1064s # goto out; 1064s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1064s # { 1064s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1064s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1064s # { 1064s # GVariant *value; 1064s # 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); 1064s # if (value != NULL) 1064s # { 1064s # g_variant_take_ref (value); 1064s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1064s # g_variant_unref (value); 1064s # } 1064s # } 1064s # } 1064s # out: 1064s # return g_variant_builder_end (&builder); 1064s # } 1064s # 1064s # static gboolean _good_types_emit_changed (gpointer user_data); 1064s # 1064s # static void 1064s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1064s # gboolean emit_changed = FALSE; 1064s # 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # if (skeleton->priv->changed_properties_idle_source != NULL) 1064s # { 1064s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1064s # skeleton->priv->changed_properties_idle_source = NULL; 1064s # emit_changed = TRUE; 1064s # } 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # 1064s # if (emit_changed) 1064s # _good_types_emit_changed (skeleton); 1064s # } 1064s # 1064s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1064s # G_ADD_PRIVATE (GoodTypesSkeleton) 1064s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1064s # 1064s # #else 1064s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1064s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1064s # 1064s # #endif 1064s # static void 1064s # good_types_skeleton_finalize (GObject *object) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # guint n; 1064s # for (n = 0; n < 1; n++) 1064s # g_value_unset (&skeleton->priv->properties[n]); 1064s # g_free (skeleton->priv->properties); 1064s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1064s # if (skeleton->priv->changed_properties_idle_source != NULL) 1064s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1064s # g_main_context_unref (skeleton->priv->context); 1064s # g_mutex_clear (&skeleton->priv->lock); 1064s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_get_property (GObject *object, 1064s # guint prop_id, 1064s # GValue *value, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # } 1064s # 1064s # static gboolean 1064s # _good_types_emit_changed (gpointer user_data) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1064s # GList *l; 1064s # GVariantBuilder builder; 1064s # GVariantBuilder invalidated_builder; 1064s # guint num_changes; 1064s # 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1064s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1064s # #else 1064s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1064s # #endif 1064s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1064s # { 1064s # ChangedProperty *cp = l->data; 1064s # GVariant *variant; 1064s # const GValue *cur_value; 1064s # 1064s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1064s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1064s # { 1064s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1064s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1064s # g_variant_unref (variant); 1064s # num_changes++; 1064s # } 1064s # } 1064s # if (num_changes > 0) 1064s # { 1064s # GList *connections, *ll; 1064s # GVariant *signal_variant; 1064s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1064s # &builder, &invalidated_builder)); 1064s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1064s # for (ll = connections; ll != NULL; ll = ll->next) 1064s # { 1064s # GDBusConnection *connection = ll->data; 1064s # 1064s # g_dbus_connection_emit_signal (connection, 1064s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1064s # "org.freedesktop.DBus.Properties", 1064s # "PropertiesChanged", 1064s # signal_variant, 1064s # NULL); 1064s # } 1064s # g_variant_unref (signal_variant); 1064s # g_list_free_full (connections, g_object_unref); 1064s # } 1064s # else 1064s # { 1064s # g_variant_builder_clear (&builder); 1064s # g_variant_builder_clear (&invalidated_builder); 1064s # } 1064s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1064s # skeleton->priv->changed_properties = NULL; 1064s # skeleton->priv->changed_properties_idle_source = NULL; 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # return FALSE; 1064s # } 1064s # 1064s # static void 1064s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1064s # { 1064s # ChangedProperty *cp; 1064s # GList *l; 1064s # cp = NULL; 1064s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1064s # { 1064s # ChangedProperty *i_cp = l->data; 1064s # if (i_cp->info == info) 1064s # { 1064s # cp = i_cp; 1064s # break; 1064s # } 1064s # } 1064s # if (cp == NULL) 1064s # { 1064s # cp = g_new0 (ChangedProperty, 1); 1064s # cp->prop_id = prop_id; 1064s # cp->info = info; 1064s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1064s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1064s # g_value_copy (orig_value, &cp->orig_value); 1064s # } 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_notify (GObject *object, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # if (skeleton->priv->changed_properties != NULL && 1064s # skeleton->priv->changed_properties_idle_source == NULL) 1064s # { 1064s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1064s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1064s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1064s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1064s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1064s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1064s # } 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_set_property (GObject *object, 1064s # guint prop_id, 1064s # const GValue *value, 1064s # GParamSpec *pspec) 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1064s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # g_object_freeze_notify (object); 1064s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1064s # { 1064s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1064s # info->emits_changed_signal) 1064s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1064s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1064s # g_object_notify_by_pspec (object, pspec); 1064s # } 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # g_object_thaw_notify (object); 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1064s # { 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1064s # #else 1064s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1064s # #endif 1064s # 1064s # g_mutex_init (&skeleton->priv->lock); 1064s # skeleton->priv->context = g_main_context_ref_thread_default (); 1064s # skeleton->priv->properties = g_new0 (GValue, 1); 1064s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1064s # } 1064s # 1064s # static GVariant * 1064s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # GVariant *value; 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # return value; 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1064s # { 1064s # GObjectClass *gobject_class; 1064s # GDBusInterfaceSkeletonClass *skeleton_class; 1064s # 1064s # gobject_class = G_OBJECT_CLASS (klass); 1064s # gobject_class->finalize = good_types_skeleton_finalize; 1064s # gobject_class->get_property = good_types_skeleton_get_property; 1064s # gobject_class->set_property = good_types_skeleton_set_property; 1064s # gobject_class->notify = good_types_skeleton_notify; 1064s # 1064s # 1064s # good_types_override_properties (gobject_class, 1); 1064s # 1064s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1064s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1064s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1064s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1064s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1064s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1064s # #endif 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1064s # { 1064s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1064s # } 1064s # 1064s # /** 1064s # * good_types_skeleton_new: 1064s # * 1064s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1064s # */ 1064s # GoodTypes * 1064s # good_types_skeleton_new (void) 1064s # { 1064s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1064s # } 1064s # Error: 1064s # 1064s # /tmp/tmpgj0oz8qq/tmp_pca0idf.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj0oz8qq/tmp_pca0idf.xml', '--output', '-', '--body'] 1064s # Return code: 0 1064s # Output: 1064s # /* 1064s # * This file is generated by gdbus-codegen, do not modify it. 1064s # * 1064s # * The license of this code is the same as for the D-Bus interface description 1064s # * it was derived from. Note that it links to GLib, so must comply with the 1064s # * LGPL linking clauses. 1064s # */ 1064s # 1064s # #ifdef HAVE_CONFIG_H 1064s # # include "config.h" 1064s # #endif 1064s # 1064s # #include 1064s # #ifdef G_OS_UNIX 1064s # # include 1064s # #endif 1064s # 1064s # #ifdef G_ENABLE_DEBUG 1064s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1064s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1064s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1064s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1064s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1064s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1064s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1064s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1064s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1064s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1064s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1064s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1064s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1064s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1064s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1064s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1064s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1064s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1064s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1064s # #else /* !G_ENABLE_DEBUG */ 1064s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1064s # * Do not access GValues directly in your code. Instead, use the 1064s # * g_value_get_*() functions 1064s # */ 1064s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1064s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1064s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1064s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1064s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1064s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1064s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1064s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1064s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1064s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1064s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1064s # #endif /* !G_ENABLE_DEBUG */ 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusArgInfo parent_struct; 1064s # gboolean use_gvariant; 1064s # } _ExtendedGDBusArgInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusMethodInfo parent_struct; 1064s # const gchar *signal_name; 1064s # gboolean pass_fdlist; 1064s # } _ExtendedGDBusMethodInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusSignalInfo parent_struct; 1064s # const gchar *signal_name; 1064s # } _ExtendedGDBusSignalInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusPropertyInfo parent_struct; 1064s # const gchar *hyphen_name; 1064s # guint use_gvariant : 1; 1064s # guint emits_changed_signal : 1; 1064s # } _ExtendedGDBusPropertyInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusInterfaceInfo parent_struct; 1064s # const gchar *hyphen_name; 1064s # } _ExtendedGDBusInterfaceInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # guint prop_id; 1064s # GValue orig_value; /* the value before the change */ 1064s # } ChangedProperty; 1064s # 1064s # static void 1064s # _changed_property_free (ChangedProperty *data) 1064s # { 1064s # g_value_unset (&data->orig_value); 1064s # g_free (data); 1064s # } 1064s # 1064s # static gboolean 1064s # _g_strv_equal0 (gchar **a, gchar **b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # guint n; 1064s # if (a == NULL && b == NULL) 1064s # { 1064s # ret = TRUE; 1064s # goto out; 1064s # } 1064s # if (a == NULL || b == NULL) 1064s # goto out; 1064s # if (g_strv_length (a) != g_strv_length (b)) 1064s # goto out; 1064s # for (n = 0; a[n] != NULL; n++) 1064s # if (g_strcmp0 (a[n], b[n]) != 0) 1064s # goto out; 1064s # ret = TRUE; 1064s # out: 1064s # return ret; 1064s # } 1064s # 1064s # static gboolean 1064s # _g_variant_equal0 (GVariant *a, GVariant *b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # if (a == NULL && b == NULL) 1064s # { 1064s # ret = TRUE; 1064s # goto out; 1064s # } 1064s # if (a == NULL || b == NULL) 1064s # goto out; 1064s # ret = g_variant_equal (a, b); 1064s # out: 1064s # return ret; 1064s # } 1064s # 1064s # G_GNUC_UNUSED static gboolean 1064s # _g_value_equal (const GValue *a, const GValue *b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1064s # switch (G_VALUE_TYPE (a)) 1064s # { 1064s # case G_TYPE_BOOLEAN: 1064s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1064s # break; 1064s # case G_TYPE_UCHAR: 1064s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1064s # break; 1064s # case G_TYPE_INT: 1064s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1064s # break; 1064s # case G_TYPE_UINT: 1064s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1064s # break; 1064s # case G_TYPE_INT64: 1064s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1064s # break; 1064s # case G_TYPE_UINT64: 1064s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1064s # break; 1064s # case G_TYPE_DOUBLE: 1064s # { 1064s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1064s # gdouble da = g_value_get_double (a); 1064s # gdouble db = g_value_get_double (b); 1064s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1064s # } 1064s # break; 1064s # case G_TYPE_STRING: 1064s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1064s # break; 1064s # case G_TYPE_VARIANT: 1064s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1064s # break; 1064s # default: 1064s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1064s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1064s # else 1064s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1064s # break; 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # /* ------------------------------------------------------------------------ 1064s # * Code for interface GoodTypes 1064s # * ------------------------------------------------------------------------ 1064s # */ 1064s # 1064s # /** 1064s # * SECTION:GoodTypes 1064s # * @title: GoodTypes 1064s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1064s # * 1064s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1064s # */ 1064s # 1064s # /* ---- Introspection data for GoodTypes ---- */ 1064s # 1064s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1064s # { 1064s # { 1064s # -1, 1064s # (gchar *) "GoodPropertyType", 1064s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1064s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1064s # NULL 1064s # }, 1064s # "good-property-type", 1064s # FALSE, 1064s # TRUE 1064s # }; 1064s # 1064s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1064s # { 1064s # &_good_types_property_info_good_property_type.parent_struct, 1064s # NULL 1064s # }; 1064s # 1064s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1064s # { 1064s # { 1064s # -1, 1064s # (gchar *) "GoodTypes", 1064s # NULL, 1064s # NULL, 1064s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1064s # NULL 1064s # }, 1064s # "good-types", 1064s # }; 1064s # 1064s # 1064s # /** 1064s # * good_types_interface_info: 1064s # * 1064s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1064s # * 1064s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1064s # */ 1064s # GDBusInterfaceInfo * 1064s # good_types_interface_info (void) 1064s # { 1064s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1064s # } 1064s # 1064s # /** 1064s # * good_types_override_properties: 1064s # * @klass: The class structure for a #GObject derived class. 1064s # * @property_id_begin: The property id to assign to the first overridden property. 1064s # * 1064s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1064s # * The properties are overridden in the order they are defined. 1064s # * 1064s # * Returns: The last property id. 1064s # */ 1064s # guint 1064s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1064s # { 1064s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1064s # return property_id_begin - 1; 1064s # } 1064s # 1064s # 1064s # 1064s # /** 1064s # * GoodTypes: 1064s # * 1064s # * Abstract interface type for the D-Bus interface GoodTypes. 1064s # */ 1064s # 1064s # /** 1064s # * GoodTypesIface: 1064s # * @parent_iface: The parent interface. 1064s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1064s # * 1064s # * Virtual table for the D-Bus interface GoodTypes. 1064s # */ 1064s # 1064s # typedef GoodTypesIface GoodTypesInterface; 1064s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1064s # 1064s # static void 1064s # good_types_default_init (GoodTypesIface *iface) 1064s # { 1064s # /* GObject properties for D-Bus properties: */ 1064s # /** 1064s # * GoodTypes:good-property-type: 1064s # * 1064s # * Represents the D-Bus property "GoodPropertyType". 1064s # * 1064s # * 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. 1064s # */ 1064s # g_object_interface_install_property (iface, 1064s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1064s # } 1064s # 1064s # /** 1064s # * good_types_get_good_property_type: (skip) 1064s # * @object: A GoodTypes. 1064s # * 1064s # * Gets the value of the "GoodPropertyType" D-Bus property. 1064s # * 1064s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1064s # * 1064s # * 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. 1064s # * 1064s # * 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. 1064s # */ 1064s # GVariant * 1064s # good_types_get_good_property_type (GoodTypes *object) 1064s # { 1064s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1064s # 1064s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1064s # } 1064s # 1064s # /** 1064s # * good_types_dup_good_property_type: (skip) 1064s # * @object: A GoodTypes. 1064s # * 1064s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1064s # * 1064s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1064s # * 1064s # * 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(). 1064s # */ 1064s # GVariant * 1064s # good_types_dup_good_property_type (GoodTypes *object) 1064s # { 1064s # GVariant *value; 1064s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1064s # return value; 1064s # } 1064s # 1064s # /** 1064s # * good_types_set_good_property_type: (skip) 1064s # * @object: A GoodTypes. 1064s # * @value: The value to set. 1064s # * 1064s # * Sets the "GoodPropertyType" D-Bus property to @value. 1064s # * 1064s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1064s # */ 1064s # void 1064s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1064s # { 1064s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1064s # } 1064s # 1064s # /* ------------------------------------------------------------------------ */ 1064s # 1064s # /** 1064s # * GoodTypesProxy: 1064s # * 1064s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1064s # */ 1064s # 1064s # /** 1064s # * GoodTypesProxyClass: 1064s # * @parent_class: The parent class. 1064s # * 1064s # * Class structure for GoodTypesProxy. 1064s # */ 1064s # 1064s # struct _GoodTypesProxyPrivate 1064s # { 1064s # GData *qdata; 1064s # }; 1064s # 1064s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1064s # G_ADD_PRIVATE (GoodTypesProxy) 1064s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1064s # 1064s # #else 1064s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1064s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1064s # 1064s # #endif 1064s # static void 1064s # good_types_proxy_finalize (GObject *object) 1064s # { 1064s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1064s # g_datalist_clear (&proxy->priv->qdata); 1064s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_get_property (GObject *object, 1064s # guint prop_id, 1064s # GValue *value, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # GVariant *variant; 1064s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1064s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1064s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1064s # if (info->use_gvariant) 1064s # { 1064s # g_value_set_variant (value, variant); 1064s # } 1064s # else 1064s # { 1064s # if (variant != NULL) 1064s # g_dbus_gvariant_to_gvalue (variant, value); 1064s # } 1064s # if (variant != NULL) 1064s # g_variant_unref (variant); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1064s # GAsyncResult *res, 1064s # gpointer user_data) 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info = user_data; 1064s # GError *error; 1064s # GVariant *_ret; 1064s # error = NULL; 1064s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1064s # if (!_ret) 1064s # { 1064s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1064s # info->parent_struct.name, 1064s # error->message, g_quark_to_string (error->domain), error->code); 1064s # g_error_free (error); 1064s # } 1064s # else 1064s # { 1064s # g_variant_unref (_ret); 1064s # } 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_set_property (GObject *object, 1064s # guint prop_id, 1064s # const GValue *value, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # GVariant *variant; 1064s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1064s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1064s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1064s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1064s # "org.freedesktop.DBus.Properties.Set", 1064s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1064s # G_DBUS_CALL_FLAGS_NONE, 1064s # -1, 1064s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1064s # g_variant_unref (variant); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_g_signal (GDBusProxy *proxy, 1064s # const gchar *sender_name G_GNUC_UNUSED, 1064s # const gchar *signal_name, 1064s # GVariant *parameters) 1064s # { 1064s # _ExtendedGDBusSignalInfo *info; 1064s # GVariantIter iter; 1064s # GVariant *child; 1064s # GValue *paramv; 1064s # gsize num_params; 1064s # gsize n; 1064s # guint signal_id; 1064s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1064s # if (info == NULL) 1064s # return; 1064s # num_params = g_variant_n_children (parameters); 1064s # paramv = g_new0 (GValue, num_params + 1); 1064s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1064s # g_value_set_object (¶mv[0], proxy); 1064s # g_variant_iter_init (&iter, parameters); 1064s # n = 1; 1064s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1064s # { 1064s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1064s # if (arg_info->use_gvariant) 1064s # { 1064s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1064s # g_value_set_variant (¶mv[n], child); 1064s # n++; 1064s # } 1064s # else 1064s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1064s # g_variant_unref (child); 1064s # } 1064s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1064s # g_signal_emitv (paramv, signal_id, 0, NULL); 1064s # for (n = 0; n < num_params + 1; n++) 1064s # g_value_unset (¶mv[n]); 1064s # g_free (paramv); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1064s # GVariant *changed_properties, 1064s # const gchar *const *invalidated_properties) 1064s # { 1064s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1064s # guint n; 1064s # const gchar *key; 1064s # GVariantIter *iter; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # g_variant_get (changed_properties, "a{sv}", &iter); 1064s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1064s # { 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1064s # g_datalist_remove_data (&proxy->priv->qdata, key); 1064s # if (info != NULL) 1064s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1064s # } 1064s # g_variant_iter_free (iter); 1064s # for (n = 0; invalidated_properties[n] != NULL; n++) 1064s # { 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1064s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1064s # if (info != NULL) 1064s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1064s # } 1064s # } 1064s # 1064s # static GVariant * 1064s # good_types_proxy_get_good_property_type (GoodTypes *object) 1064s # { 1064s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1064s # GVariant *variant; 1064s # GVariant *value = NULL; 1064s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1064s # value = variant; 1064s # if (variant != NULL) 1064s # g_variant_unref (variant); 1064s # return value; 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_init (GoodTypesProxy *proxy) 1064s # { 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1064s # #else 1064s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1064s # #endif 1064s # 1064s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1064s # { 1064s # GObjectClass *gobject_class; 1064s # GDBusProxyClass *proxy_class; 1064s # 1064s # gobject_class = G_OBJECT_CLASS (klass); 1064s # gobject_class->finalize = good_types_proxy_finalize; 1064s # gobject_class->get_property = good_types_proxy_get_property; 1064s # gobject_class->set_property = good_types_proxy_set_property; 1064s # 1064s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1064s # proxy_class->g_signal = good_types_proxy_g_signal; 1064s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1064s # 1064s # good_types_override_properties (gobject_class, 1); 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1064s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1064s # #endif 1064s # } 1064s # 1064s # static void 1064s # good_types_proxy_iface_init (GoodTypesIface *iface) 1064s # { 1064s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new: 1064s # * @connection: A #GDBusConnection. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1064s # * @user_data: User data to pass to @callback. 1064s # * 1064s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1064s # * 1064s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1064s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1064s # * 1064s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1064s # */ 1064s # void 1064s # good_types_proxy_new ( 1064s # GDBusConnection *connection, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GAsyncReadyCallback callback, 1064s # gpointer user_data) 1064s # { 1064s # 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); 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new_finish: 1064s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Finishes an operation started with good_types_proxy_new(). 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # GoodTypes * 1064s # good_types_proxy_new_finish ( 1064s # GAsyncResult *res, 1064s # GError **error) 1064s # { 1064s # GObject *ret; 1064s # GObject *source_object; 1064s # source_object = g_async_result_get_source_object (res); 1064s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1064s # g_object_unref (source_object); 1064s # if (ret != NULL) 1064s # return GOOD_TYPES (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new_sync: 1064s # * @connection: A #GDBusConnection. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1064s # * 1064s # * The calling thread is blocked until a reply is received. 1064s # * 1064s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # GoodTypes * 1064s # good_types_proxy_new_sync ( 1064s # GDBusConnection *connection, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GError **error) 1064s # { 1064s # GInitable *ret; 1064s # 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); 1064s # if (ret != NULL) 1064s # return GOOD_TYPES (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # 1064s # /** 1064s # * good_types_proxy_new_for_bus: 1064s # * @bus_type: A #GBusType. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: A bus name (well-known or unique). 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1064s # * @user_data: User data to pass to @callback. 1064s # * 1064s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1064s # * 1064s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1064s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1064s # * 1064s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1064s # */ 1064s # void 1064s # good_types_proxy_new_for_bus ( 1064s # GBusType bus_type, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GAsyncReadyCallback callback, 1064s # gpointer user_data) 1064s # { 1064s # 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); 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new_for_bus_finish: 1064s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # GoodTypes * 1064s # good_types_proxy_new_for_bus_finish ( 1064s # GAsyncResult *res, 1064s # GError **error) 1064s # { 1064s # GObject *ret; 1064s # GObject *source_object; 1064s # source_object = g_async_result_get_source_object (res); 1064s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1064s # g_object_unref (source_object); 1064s # if (ret != NULL) 1064s # return GOOD_TYPES (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # /** 1064s # * good_types_proxy_new_for_bus_sync: 1064s # * @bus_type: A #GBusType. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: A bus name (well-known or unique). 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1064s # * 1064s # * The calling thread is blocked until a reply is received. 1064s # * 1064s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # GoodTypes * 1064s # good_types_proxy_new_for_bus_sync ( 1064s # GBusType bus_type, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GError **error) 1064s # { 1064s # GInitable *ret; 1064s # 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); 1064s # if (ret != NULL) 1064s # return GOOD_TYPES (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # 1064s # /* ------------------------------------------------------------------------ */ 1064s # 1064s # /** 1064s # * GoodTypesSkeleton: 1064s # * 1064s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1064s # */ 1064s # 1064s # /** 1064s # * GoodTypesSkeletonClass: 1064s # * @parent_class: The parent class. 1064s # * 1064s # * Class structure for GoodTypesSkeleton. 1064s # */ 1064s # 1064s # struct _GoodTypesSkeletonPrivate 1064s # { 1064s # GValue *properties; 1064s # GList *changed_properties; 1064s # GSource *changed_properties_idle_source; 1064s # GMainContext *context; 1064s # GMutex lock; 1064s # }; 1064s # 1064s # static void 1064s # _good_types_skeleton_handle_method_call ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name, 1064s # const gchar *method_name, 1064s # GVariant *parameters, 1064s # GDBusMethodInvocation *invocation, 1064s # gpointer user_data) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1064s # _ExtendedGDBusMethodInfo *info; 1064s # GVariantIter iter; 1064s # GVariant *child; 1064s # GValue *paramv; 1064s # gsize num_params; 1064s # guint num_extra; 1064s # gsize n; 1064s # guint signal_id; 1064s # GValue return_value = G_VALUE_INIT; 1064s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1064s # g_assert (info != NULL); 1064s # num_params = g_variant_n_children (parameters); 1064s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1064s # n = 0; 1064s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1064s # g_value_set_object (¶mv[n++], skeleton); 1064s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1064s # g_value_set_object (¶mv[n++], invocation); 1064s # if (info->pass_fdlist) 1064s # { 1064s # #ifdef G_OS_UNIX 1064s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1064s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1064s # #else 1064s # g_assert_not_reached (); 1064s # #endif 1064s # } 1064s # g_variant_iter_init (&iter, parameters); 1064s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1064s # { 1064s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1064s # if (arg_info->use_gvariant) 1064s # { 1064s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1064s # g_value_set_variant (¶mv[n], child); 1064s # n++; 1064s # } 1064s # else 1064s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1064s # g_variant_unref (child); 1064s # } 1064s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1064s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1064s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1064s # if (!g_value_get_boolean (&return_value)) 1064s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1064s # g_value_unset (&return_value); 1064s # for (n = 0; n < num_params + num_extra; n++) 1064s # g_value_unset (¶mv[n]); 1064s # g_free (paramv); 1064s # } 1064s # 1064s # static GVariant * 1064s # _good_types_skeleton_handle_get_property ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name G_GNUC_UNUSED, 1064s # const gchar *property_name, 1064s # GError **error, 1064s # gpointer user_data) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1064s # GValue value = G_VALUE_INIT; 1064s # GParamSpec *pspec; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # GVariant *ret; 1064s # ret = NULL; 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1064s # g_assert (info != NULL); 1064s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1064s # if (pspec == NULL) 1064s # { 1064s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1064s # } 1064s # else 1064s # { 1064s # g_value_init (&value, pspec->value_type); 1064s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1064s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1064s # g_value_unset (&value); 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # static gboolean 1064s # _good_types_skeleton_handle_set_property ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name G_GNUC_UNUSED, 1064s # const gchar *property_name, 1064s # GVariant *variant, 1064s # GError **error, 1064s # gpointer user_data) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1064s # GValue value = G_VALUE_INIT; 1064s # GParamSpec *pspec; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # gboolean ret; 1064s # ret = FALSE; 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1064s # g_assert (info != NULL); 1064s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1064s # if (pspec == NULL) 1064s # { 1064s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1064s # } 1064s # else 1064s # { 1064s # if (info->use_gvariant) 1064s # g_value_set_variant (&value, variant); 1064s # else 1064s # g_dbus_gvariant_to_gvalue (variant, &value); 1064s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1064s # g_value_unset (&value); 1064s # ret = TRUE; 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1064s # { 1064s # _good_types_skeleton_handle_method_call, 1064s # _good_types_skeleton_handle_get_property, 1064s # _good_types_skeleton_handle_set_property, 1064s # {NULL} 1064s # }; 1064s # 1064s # static GDBusInterfaceInfo * 1064s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1064s # { 1064s # return good_types_interface_info (); 1064s # } 1064s # 1064s # static GDBusInterfaceVTable * 1064s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1064s # { 1064s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1064s # } 1064s # 1064s # static GVariant * 1064s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1064s # 1064s # GVariantBuilder builder; 1064s # guint n; 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1064s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # #else 1064s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # #endif 1064s # if (_good_types_interface_info.parent_struct.properties == NULL) 1064s # goto out; 1064s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1064s # { 1064s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1064s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1064s # { 1064s # GVariant *value; 1064s # 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); 1064s # if (value != NULL) 1064s # { 1064s # g_variant_take_ref (value); 1064s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1064s # g_variant_unref (value); 1064s # } 1064s # } 1064s # } 1064s # out: 1064s # return g_variant_builder_end (&builder); 1064s # } 1064s # 1064s # static gboolean _good_types_emit_changed (gpointer user_data); 1064s # 1064s # static void 1064s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1064s # gboolean emit_changed = FALSE; 1064s # 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # if (skeleton->priv->changed_properties_idle_source != NULL) 1064s # { 1064s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1064s # skeleton->priv->changed_properties_idle_source = NULL; 1064s # emit_changed = TRUE; 1064s # } 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # 1064s # if (emit_changed) 1064s # _good_types_emit_changed (skeleton); 1064s # } 1064s # 1064s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1064s # G_ADD_PRIVATE (GoodTypesSkeleton) 1064s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1064s # 1064s # #else 1064s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1064s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1064s # 1064s # #endif 1064s # static void 1064s # good_types_skeleton_finalize (GObject *object) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # guint n; 1064s # for (n = 0; n < 1; n++) 1064s # g_value_unset (&skeleton->priv->properties[n]); 1064s # g_free (skeleton->priv->properties); 1064s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1064s # if (skeleton->priv->changed_properties_idle_source != NULL) 1064s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1064s # g_main_context_unref (skeleton->priv->context); 1064s # g_mutex_clear (&skeleton->priv->lock); 1064s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_get_property (GObject *object, 1064s # guint prop_id, 1064s # GValue *value, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # } 1064s # 1064s # static gboolean 1064s # _good_types_emit_changed (gpointer user_data) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1064s # GList *l; 1064s # GVariantBuilder builder; 1064s # GVariantBuilder invalidated_builder; 1064s # guint num_changes; 1064s # 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1064s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1064s # #else 1064s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1064s # #endif 1064s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1064s # { 1064s # ChangedProperty *cp = l->data; 1064s # GVariant *variant; 1064s # const GValue *cur_value; 1064s # 1064s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1064s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1064s # { 1064s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1064s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1064s # g_variant_unref (variant); 1064s # num_changes++; 1064s # } 1064s # } 1064s # if (num_changes > 0) 1064s # { 1064s # GList *connections, *ll; 1064s # GVariant *signal_variant; 1064s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1064s # &builder, &invalidated_builder)); 1064s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1064s # for (ll = connections; ll != NULL; ll = ll->next) 1064s # { 1064s # GDBusConnection *connection = ll->data; 1064s # 1064s # g_dbus_connection_emit_signal (connection, 1064s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1064s # "org.freedesktop.DBus.Properties", 1064s # "PropertiesChanged", 1064s # signal_variant, 1064s # NULL); 1064s # } 1064s # g_variant_unref (signal_variant); 1064s # g_list_free_full (connections, g_object_unref); 1064s # } 1064s # else 1064s # { 1064s # g_variant_builder_clear (&builder); 1064s # g_variant_builder_clear (&invalidated_builder); 1064s # } 1064s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1064s # skeleton->priv->changed_properties = NULL; 1064s # skeleton->priv->changed_properties_idle_source = NULL; 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # return FALSE; 1064s # } 1064s # 1064s # static void 1064s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1064s # { 1064s # ChangedProperty *cp; 1064s # GList *l; 1064s # cp = NULL; 1064s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1064s # { 1064s # ChangedProperty *i_cp = l->data; 1064s # if (i_cp->info == info) 1064s # { 1064s # cp = i_cp; 1064s # break; 1064s # } 1064s # } 1064s # if (cp == NULL) 1064s # { 1064s # cp = g_new0 (ChangedProperty, 1); 1064s # cp->prop_id = prop_id; 1064s # cp->info = info; 1064s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1064s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1064s # g_value_copy (orig_value, &cp->orig_value); 1064s # } 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_notify (GObject *object, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # if (skeleton->priv->changed_properties != NULL && 1064s # skeleton->priv->changed_properties_idle_source == NULL) 1064s # { 1064s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1064s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1064s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1064s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1064s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1064s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1064s # } 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_set_property (GObject *object, 1064s # guint prop_id, 1064s # const GValue *value, 1064s # GParamSpec *pspec) 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1064s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # g_object_freeze_notify (object); 1064s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1064s # { 1064s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1064s # info->emits_changed_signal) 1064s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1064s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1064s # g_object_notify_by_pspec (object, pspec); 1064s # } 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # g_object_thaw_notify (object); 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1064s # { 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1064s # #else 1064s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1064s # #endif 1064s # 1064s # g_mutex_init (&skeleton->priv->lock); 1064s # skeleton->priv->context = g_main_context_ref_thread_default (); 1064s # skeleton->priv->properties = g_new0 (GValue, 1); 1064s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1064s # } 1064s # 1064s # static GVariant * 1064s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1064s # { 1064s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1064s # GVariant *value; 1064s # g_mutex_lock (&skeleton->priv->lock); 1064s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1064s # g_mutex_unlock (&skeleton->priv->lock); 1064s # return value; 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1064s # { 1064s # GObjectClass *gobject_class; 1064s # GDBusInterfaceSkeletonClass *skeleton_class; 1064s # 1064s # gobject_class = G_OBJECT_CLASS (klass); 1064s # gobject_class->finalize = good_types_skeleton_finalize; 1064s # gobject_class->get_property = good_types_skeleton_get_property; 1064s # gobject_class->set_property = good_types_skeleton_set_property; 1064s # gobject_class->notify = good_types_skeleton_notify; 1064s # 1064s # 1064s # good_types_override_properties (gobject_class, 1); 1064s # 1064s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1064s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1064s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1064s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1064s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1064s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1064s # #endif 1064s # } 1064s # 1064s # static void 1064s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1064s # { 1064s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1064s # } 1064s # 1064s # /** 1064s # * good_types_skeleton_new: 1064s # * 1064s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1064s # * 1064s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1064s # */ 1064s # GoodTypes * 1064s # good_types_skeleton_new (void) 1064s # { 1064s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1064s # } 1064s # Error: 1064s ok 3 __main__.TestCodegen.test_empty_interface_body 1064s # gdbus-codegen: /usr/bin/gdbus-codegen 1064s # tmpdir: /tmp/tmpqwiy_x5i 1064s # /tmp/tmpqwiy_x5i/tmpkzqsh81w.xml: 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqwiy_x5i/tmpkzqsh81w.xml', '--output', '-', '--body'] 1064s # Return code: 0 1064s # Output: 1064s # /* 1064s # * This file is generated by gdbus-codegen, do not modify it. 1064s # * 1064s # * The license of this code is the same as for the D-Bus interface description 1064s # * it was derived from. Note that it links to GLib, so must comply with the 1064s # * LGPL linking clauses. 1064s # */ 1064s # 1064s # #ifdef HAVE_CONFIG_H 1064s # # include "config.h" 1064s # #endif 1064s # 1064s # #include 1064s # #ifdef G_OS_UNIX 1064s # # include 1064s # #endif 1064s # 1064s # #ifdef G_ENABLE_DEBUG 1064s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1064s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1064s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1064s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1064s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1064s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1064s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1064s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1064s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1064s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1064s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1064s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1064s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1064s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1064s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1064s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1064s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1064s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1064s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1064s # #else /* !G_ENABLE_DEBUG */ 1064s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1064s # * Do not access GValues directly in your code. Instead, use the 1064s # * g_value_get_*() functions 1064s # */ 1064s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1064s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1064s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1064s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1064s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1064s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1064s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1064s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1064s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1064s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1064s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1064s # #endif /* !G_ENABLE_DEBUG */ 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusArgInfo parent_struct; 1064s # gboolean use_gvariant; 1064s # } _ExtendedGDBusArgInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusMethodInfo parent_struct; 1064s # const gchar *signal_name; 1064s # gboolean pass_fdlist; 1064s # } _ExtendedGDBusMethodInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusSignalInfo parent_struct; 1064s # const gchar *signal_name; 1064s # } _ExtendedGDBusSignalInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusPropertyInfo parent_struct; 1064s # const gchar *hyphen_name; 1064s # guint use_gvariant : 1; 1064s # guint emits_changed_signal : 1; 1064s # } _ExtendedGDBusPropertyInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusInterfaceInfo parent_struct; 1064s # const gchar *hyphen_name; 1064s # } _ExtendedGDBusInterfaceInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # guint prop_id; 1064s # GValue orig_value; /* the value before the change */ 1064s # } ChangedProperty; 1064s # 1064s # static void 1064s # _changed_property_free (ChangedProperty *data) 1064s # { 1064s # g_value_unset (&data->orig_value); 1064s # g_free (data); 1064s # } 1064s # 1064s # static gboolean 1064s # _g_strv_equal0 (gchar **a, gchar **b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # guint n; 1064s # if (a == NULL && b == NULL) 1064s # { 1064s # ret = TRUE; 1064s # goto out; 1064s # } 1064s # if (a == NULL || b == NULL) 1064s # goto out; 1064s # if (g_strv_length (a) != g_strv_length (b)) 1064s # goto out; 1064s # for (n = 0; a[n] != NULL; n++) 1064s # if (g_strcmp0 (a[n], b[n]) != 0) 1064s # goto out; 1064s # ret = TRUE; 1064s # out: 1064s # return ret; 1064s # } 1064s # 1064s # static gboolean 1064s # _g_variant_equal0 (GVariant *a, GVariant *b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # if (a == NULL && b == NULL) 1064s # { 1064s # ret = TRUE; 1064s # goto out; 1064s # } 1064s # if (a == NULL || b == NULL) 1064s # goto out; 1064s # ret = g_variant_equal (a, b); 1064s # out: 1064s # return ret; 1064s # } 1064s # 1064s # G_GNUC_UNUSED static gboolean 1064s # _g_value_equal (const GValue *a, const GValue *b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1064s # switch (G_VALUE_TYPE (a)) 1064s # { 1064s # case G_TYPE_BOOLEAN: 1064s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1064s # break; 1064s # case G_TYPE_UCHAR: 1064s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1064s # break; 1064s # case G_TYPE_INT: 1064s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1064s # break; 1064s # case G_TYPE_UINT: 1064s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1064s # break; 1064s # case G_TYPE_INT64: 1064s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1064s # break; 1064s # case G_TYPE_UINT64: 1064s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1064s # break; 1064s # case G_TYPE_DOUBLE: 1064s # { 1064s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1064s # gdouble da = g_value_get_double (a); 1064s # gdouble db = g_value_get_double (b); 1064s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1064s # } 1064s # break; 1064s # case G_TYPE_STRING: 1064s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1064s # break; 1064s # case G_TYPE_VARIANT: 1064s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1064s # break; 1064s # default: 1064s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1064s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1064s # else 1064s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1064s # break; 1064s # } 1064s # return ret; 1064s # } 1064s # Error: 1064s ok 4 __main__.TestCodegen.test_empty_interface_header 1064s # gdbus-codegen: /usr/bin/gdbus-codegen 1064s # tmpdir: /tmp/tmp54j4h821 1064s # /tmp/tmp54j4h821/tmpvdbluio9.xml: 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp54j4h821/tmpvdbluio9.xml', '--output', '-', '--header'] 1064s # Return code: 0 1064s # Output: 1064s # /* 1064s # * This file is generated by gdbus-codegen, do not modify it. 1064s # * 1064s # * The license of this code is the same as for the D-Bus interface description 1064s # * it was derived from. Note that it links to GLib, so must comply with the 1064s # * LGPL linking clauses. 1064s # */ 1064s # 1064s # #ifndef __STDOUT__ 1064s # #define __STDOUT__ 1064s # 1064s # #include 1064s # 1064s # G_BEGIN_DECLS 1064s # 1064s # 1064s # G_END_DECLS 1064s # 1064s # #endif /* __STDOUT__ */ 1064s # Error: 1064s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1064s # gdbus-codegen: /usr/bin/gdbus-codegen 1064s # tmpdir: /tmp/tmppgmiv7mv 1064s # /tmp/tmppgmiv7mv/tmp6lt28o68.xml: 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppgmiv7mv/tmp6lt28o68.xml', '--output', '-', '--interface-info-body'] 1064s # Return code: 0 1064s # Output: 1064s # /* 1064s # * This file is generated by gdbus-codegen, do not modify it. 1064s # * 1064s # * The license of this code is the same as for the D-Bus interface description 1064s # * it was derived from. Note that it links to GLib, so must comply with the 1064s # * LGPL linking clauses. 1064s # */ 1064s # 1064s # #ifdef HAVE_CONFIG_H 1064s # # include "config.h" 1064s # #endif 1064s # 1064s # #include 1064s # Error: 1064s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1064s # gdbus-codegen: /usr/bin/gdbus-codegen 1064s # tmpdir: /tmp/tmp3f4f_yzb 1064s # /tmp/tmp3f4f_yzb/tmp_jcpo228.xml: 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3f4f_yzb/tmp_jcpo228.xml', '--output', '-', '--interface-info-header'] 1064s # Return code: 0 1064s # Output: 1064s # /* 1064s # * This file is generated by gdbus-codegen, do not modify it. 1064s # * 1064s # * The license of this code is the same as for the D-Bus interface description 1064s # * it was derived from. Note that it links to GLib, so must comply with the 1064s # * LGPL linking clauses. 1064s # */ 1064s # 1064s # #ifndef __STDOUT__ 1064s # #define __STDOUT__ 1064s # 1064s # #include 1064s # 1064s # G_BEGIN_DECLS 1064s # 1064s # 1064s # G_END_DECLS 1064s # 1064s # #endif /* __STDOUT__ */ 1064s # Error: 1064s ok 7 __main__.TestCodegen.test_generate_docbook 1064s # gdbus-codegen: /usr/bin/gdbus-codegen 1064s # tmpdir: /tmp/tmpvjsvkj4y 1064s # /tmp/tmpvjsvkj4y/tmpdgt6w4so.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvjsvkj4y/tmpdgt6w4so.xml', '--generate-docbook', 'test'] 1064s # Return code: 0 1064s # Output: 1064s # 1064s # Error: 1064s ok 8 __main__.TestCodegen.test_generate_md 1064s # gdbus-codegen: /usr/bin/gdbus-codegen 1064s # tmpdir: /tmp/tmp0c8bxbxx 1064s # /tmp/tmp0c8bxbxx/tmpj2jao0x8.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0c8bxbxx/tmpj2jao0x8.xml', '--generate-md', 'test'] 1064s # Return code: 0 1064s # Output: 1064s # 1064s # Error: 1064s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1064s # gdbus-codegen: /usr/bin/gdbus-codegen 1064s # tmpdir: /tmp/tmpbe5lrvsu 1064s # /tmp/tmpbe5lrvsu/tmpjn9puamn.xml: 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # 1064s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbe5lrvsu/tmpjn9puamn.xml', '--output', '-', '--body'] 1064s # Return code: 0 1064s # Output: 1064s # /* 1064s # * This file is generated by gdbus-codegen, do not modify it. 1064s # * 1064s # * The license of this code is the same as for the D-Bus interface description 1064s # * it was derived from. Note that it links to GLib, so must comply with the 1064s # * LGPL linking clauses. 1064s # */ 1064s # 1064s # #ifdef HAVE_CONFIG_H 1064s # # include "config.h" 1064s # #endif 1064s # 1064s # #include 1064s # #ifdef G_OS_UNIX 1064s # # include 1064s # #endif 1064s # 1064s # #ifdef G_ENABLE_DEBUG 1064s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1064s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1064s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1064s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1064s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1064s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1064s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1064s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1064s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1064s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1064s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1064s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1064s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1064s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1064s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1064s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1064s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1064s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1064s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1064s # #else /* !G_ENABLE_DEBUG */ 1064s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1064s # * Do not access GValues directly in your code. Instead, use the 1064s # * g_value_get_*() functions 1064s # */ 1064s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1064s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1064s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1064s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1064s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1064s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1064s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1064s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1064s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1064s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1064s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1064s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1064s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1064s # #endif /* !G_ENABLE_DEBUG */ 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusArgInfo parent_struct; 1064s # gboolean use_gvariant; 1064s # } _ExtendedGDBusArgInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusMethodInfo parent_struct; 1064s # const gchar *signal_name; 1064s # gboolean pass_fdlist; 1064s # } _ExtendedGDBusMethodInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusSignalInfo parent_struct; 1064s # const gchar *signal_name; 1064s # } _ExtendedGDBusSignalInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusPropertyInfo parent_struct; 1064s # const gchar *hyphen_name; 1064s # guint use_gvariant : 1; 1064s # guint emits_changed_signal : 1; 1064s # } _ExtendedGDBusPropertyInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # GDBusInterfaceInfo parent_struct; 1064s # const gchar *hyphen_name; 1064s # } _ExtendedGDBusInterfaceInfo; 1064s # 1064s # typedef struct 1064s # { 1064s # const _ExtendedGDBusPropertyInfo *info; 1064s # guint prop_id; 1064s # GValue orig_value; /* the value before the change */ 1064s # } ChangedProperty; 1064s # 1064s # static void 1064s # _changed_property_free (ChangedProperty *data) 1064s # { 1064s # g_value_unset (&data->orig_value); 1064s # g_free (data); 1064s # } 1064s # 1064s # static gboolean 1064s # _g_strv_equal0 (gchar **a, gchar **b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # guint n; 1064s # if (a == NULL && b == NULL) 1064s # { 1064s # ret = TRUE; 1064s # goto out; 1064s # } 1064s # if (a == NULL || b == NULL) 1064s # goto out; 1064s # if (g_strv_length (a) != g_strv_length (b)) 1064s # goto out; 1064s # for (n = 0; a[n] != NULL; n++) 1064s # if (g_strcmp0 (a[n], b[n]) != 0) 1064s # goto out; 1064s # ret = TRUE; 1064s # out: 1064s # return ret; 1064s # } 1064s # 1064s # static gboolean 1064s # _g_variant_equal0 (GVariant *a, GVariant *b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # if (a == NULL && b == NULL) 1064s # { 1064s # ret = TRUE; 1064s # goto out; 1064s # } 1064s # if (a == NULL || b == NULL) 1064s # goto out; 1064s # ret = g_variant_equal (a, b); 1064s # out: 1064s # return ret; 1064s # } 1064s # 1064s # G_GNUC_UNUSED static gboolean 1064s # _g_value_equal (const GValue *a, const GValue *b) 1064s # { 1064s # gboolean ret = FALSE; 1064s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1064s # switch (G_VALUE_TYPE (a)) 1064s # { 1064s # case G_TYPE_BOOLEAN: 1064s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1064s # break; 1064s # case G_TYPE_UCHAR: 1064s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1064s # break; 1064s # case G_TYPE_INT: 1064s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1064s # break; 1064s # case G_TYPE_UINT: 1064s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1064s # break; 1064s # case G_TYPE_INT64: 1064s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1064s # break; 1064s # case G_TYPE_UINT64: 1064s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1064s # break; 1064s # case G_TYPE_DOUBLE: 1064s # { 1064s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1064s # gdouble da = g_value_get_double (a); 1064s # gdouble db = g_value_get_double (b); 1064s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1064s # } 1064s # break; 1064s # case G_TYPE_STRING: 1064s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1064s # break; 1064s # case G_TYPE_VARIANT: 1064s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1064s # break; 1064s # default: 1064s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1064s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1064s # else 1064s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1064s # break; 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # static void 1064s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1064s # GClosure *closure, 1064s # GValue *return_value, 1064s # unsigned int n_param_values, 1064s # const GValue *param_values, 1064s # void *invocation_hint G_GNUC_UNUSED, 1064s # void *marshal_data) 1064s # { 1064s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1064s # (void *data1, 1064s # GDBusMethodInvocation *arg_method_invocation, 1064s # void *data2); 1064s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1064s # GCClosure *cc = (GCClosure*) closure; 1064s # void *data1, *data2; 1064s # gboolean v_return; 1064s # 1064s # g_return_if_fail (return_value != NULL); 1064s # g_return_if_fail (n_param_values == 2); 1064s # 1064s # if (G_CCLOSURE_SWAP_DATA (closure)) 1064s # { 1064s # data1 = closure->data; 1064s # data2 = g_value_peek_pointer (param_values + 0); 1064s # } 1064s # else 1064s # { 1064s # data1 = g_value_peek_pointer (param_values + 0); 1064s # data2 = closure->data; 1064s # } 1064s # 1064s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1064s # (marshal_data ? marshal_data : cc->callback); 1064s # 1064s # v_return = 1064s # callback (data1, 1064s # g_marshal_value_peek_object (param_values + 1), 1064s # data2); 1064s # 1064s # g_value_set_boolean (return_value, v_return); 1064s # } 1064s # 1064s # /* ------------------------------------------------------------------------ 1064s # * Code for interface org.project.CallableIface 1064s # * ------------------------------------------------------------------------ 1064s # */ 1064s # 1064s # /** 1064s # * SECTION:OrgProjectCallableIface 1064s # * @title: OrgProjectCallableIface 1064s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1064s # * 1064s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1064s # */ 1064s # 1064s # /* ---- Introspection data for org.project.CallableIface ---- */ 1064s # 1064s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1064s # { 1064s # { 1064s # -1, 1064s # (gchar *) "SimpleMethod", 1064s # NULL, 1064s # NULL, 1064s # NULL 1064s # }, 1064s # "handle-simple-method", 1064s # FALSE 1064s # }; 1064s # 1064s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1064s # { 1064s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1064s # NULL 1064s # }; 1064s # 1064s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1064s # { 1064s # { 1064s # -1, 1064s # (gchar *) "org.project.CallableIface", 1064s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1064s # NULL, 1064s # NULL, 1064s # NULL 1064s # }, 1064s # "org-project-callable-iface", 1064s # }; 1064s # 1064s # 1064s # /** 1064s # * org_project_callable_iface_interface_info: 1064s # * 1064s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1064s # * 1064s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1064s # */ 1064s # GDBusInterfaceInfo * 1064s # org_project_callable_iface_interface_info (void) 1064s # { 1064s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1064s # } 1064s # 1064s # /** 1064s # * org_project_callable_iface_override_properties: 1064s # * @klass: The class structure for a #GObject derived class. 1064s # * @property_id_begin: The property id to assign to the first overridden property. 1064s # * 1064s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1064s # * The properties are overridden in the order they are defined. 1064s # * 1064s # * Returns: The last property id. 1064s # */ 1064s # guint 1064s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1064s # { 1064s # return property_id_begin - 1; 1064s # } 1064s # 1064s # 1064s # inline static void 1064s # org_project_callable_iface_method_marshal_simple_method ( 1064s # GClosure *closure, 1064s # GValue *return_value, 1064s # unsigned int n_param_values, 1064s # const GValue *param_values, 1064s # void *invocation_hint, 1064s # void *marshal_data) 1064s # { 1064s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1064s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1064s # } 1064s # 1064s # 1064s # /** 1064s # * OrgProjectCallableIface: 1064s # * 1064s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1064s # */ 1064s # 1064s # /** 1064s # * OrgProjectCallableIfaceIface: 1064s # * @parent_iface: The parent interface. 1064s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1064s # * 1064s # * Virtual table for the D-Bus interface org.project.CallableIface. 1064s # */ 1064s # 1064s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1064s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1064s # 1064s # static void 1064s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1064s # { 1064s # /* GObject signals for incoming D-Bus method calls: */ 1064s # /** 1064s # * OrgProjectCallableIface::handle-simple-method: 1064s # * @object: A #OrgProjectCallableIface. 1064s # * @invocation: A #GDBusMethodInvocation. 1064s # * 1064s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1064s # * 1064s # * If 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. 1064s # * 1064s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1064s # */ 1064s # g_signal_new ("handle-simple-method", 1064s # G_TYPE_FROM_INTERFACE (iface), 1064s # G_SIGNAL_RUN_LAST, 1064s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1064s # g_signal_accumulator_true_handled, 1064s # NULL, 1064s # org_project_callable_iface_method_marshal_simple_method, 1064s # G_TYPE_BOOLEAN, 1064s # 1, 1064s # G_TYPE_DBUS_METHOD_INVOCATION); 1064s # 1064s # } 1064s # 1064s # /** 1064s # * org_project_callable_iface_call_simple_method: 1064s # * @proxy: A #OrgProjectCallableIfaceProxy. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1064s # * @user_data: User data to pass to @callback. 1064s # * 1064s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1064s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1064s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1064s # * 1064s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1064s # */ 1064s # void 1064s # org_project_callable_iface_call_simple_method ( 1064s # OrgProjectCallableIface *proxy, 1064s # GCancellable *cancellable, 1064s # GAsyncReadyCallback callback, 1064s # gpointer user_data) 1064s # { 1064s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1064s # "SimpleMethod", 1064s # g_variant_new ("()"), 1064s # G_DBUS_CALL_FLAGS_NONE, 1064s # -1, 1064s # cancellable, 1064s # callback, 1064s # user_data); 1064s # } 1064s # 1064s # /** 1064s # * org_project_callable_iface_call_simple_method_finish: 1064s # * @proxy: A #OrgProjectCallableIfaceProxy. 1064s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1064s # * @error: Return location for error or %NULL. 1064s # * 1064s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1064s # * 1064s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1064s # */ 1064s # gboolean 1064s # org_project_callable_iface_call_simple_method_finish ( 1064s # OrgProjectCallableIface *proxy, 1064s # GAsyncResult *res, 1064s # GError **error) 1064s # { 1064s # GVariant *_ret; 1064s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1064s # if (_ret == NULL) 1064s # goto _out; 1064s # g_variant_get (_ret, 1064s # "()"); 1064s # g_variant_unref (_ret); 1064s # _out: 1064s # return _ret != NULL; 1064s # } 1064s # 1064s # /** 1064s # * org_project_callable_iface_call_simple_method_sync: 1064s # * @proxy: A #OrgProjectCallableIfaceProxy. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @error: Return location for error or %NULL. 1064s # * 1064s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1064s # * 1064s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1064s # * 1064s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1064s # */ 1064s # gboolean 1064s # org_project_callable_iface_call_simple_method_sync ( 1064s # OrgProjectCallableIface *proxy, 1064s # GCancellable *cancellable, 1064s # GError **error) 1064s # { 1064s # GVariant *_ret; 1064s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1064s # "SimpleMethod", 1064s # g_variant_new ("()"), 1064s # G_DBUS_CALL_FLAGS_NONE, 1064s # -1, 1064s # cancellable, 1064s # error); 1064s # if (_ret == NULL) 1064s # goto _out; 1064s # g_variant_get (_ret, 1064s # "()"); 1064s # g_variant_unref (_ret); 1064s # _out: 1064s # return _ret != NULL; 1064s # } 1064s # 1064s # /** 1064s # * org_project_callable_iface_complete_simple_method: 1064s # * @object: A #OrgProjectCallableIface. 1064s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1064s # * 1064s # * 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. 1064s # * 1064s # * This method will free @invocation, you cannot use it afterwards. 1064s # */ 1064s # void 1064s # org_project_callable_iface_complete_simple_method ( 1064s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1064s # GDBusMethodInvocation *invocation) 1064s # { 1064s # g_dbus_method_invocation_return_value (invocation, 1064s # g_variant_new ("()")); 1064s # } 1064s # 1064s # /* ------------------------------------------------------------------------ */ 1064s # 1064s # /** 1064s # * OrgProjectCallableIfaceProxy: 1064s # * 1064s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1064s # */ 1064s # 1064s # /** 1064s # * OrgProjectCallableIfaceProxyClass: 1064s # * @parent_class: The parent class. 1064s # * 1064s # * Class structure for #OrgProjectCallableIfaceProxy. 1064s # */ 1064s # 1064s # struct _OrgProjectCallableIfaceProxyPrivate 1064s # { 1064s # GData *qdata; 1064s # }; 1064s # 1064s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1064s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1064s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1064s # 1064s # #else 1064s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1064s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1064s # 1064s # #endif 1064s # static void 1064s # org_project_callable_iface_proxy_finalize (GObject *object) 1064s # { 1064s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1064s # g_datalist_clear (&proxy->priv->qdata); 1064s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1064s # } 1064s # 1064s # static void 1064s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1064s # guint prop_id G_GNUC_UNUSED, 1064s # GValue *value G_GNUC_UNUSED, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # } 1064s # 1064s # static void 1064s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1064s # guint prop_id G_GNUC_UNUSED, 1064s # const GValue *value G_GNUC_UNUSED, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # } 1064s # 1064s # static void 1064s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1064s # const gchar *sender_name G_GNUC_UNUSED, 1064s # const gchar *signal_name, 1064s # GVariant *parameters) 1064s # { 1064s # _ExtendedGDBusSignalInfo *info; 1064s # GVariantIter iter; 1064s # GVariant *child; 1064s # GValue *paramv; 1064s # gsize num_params; 1064s # gsize n; 1064s # guint signal_id; 1064s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1064s # if (info == NULL) 1064s # return; 1064s # num_params = g_variant_n_children (parameters); 1064s # paramv = g_new0 (GValue, num_params + 1); 1064s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1064s # g_value_set_object (¶mv[0], proxy); 1064s # g_variant_iter_init (&iter, parameters); 1064s # n = 1; 1064s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1064s # { 1064s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1064s # if (arg_info->use_gvariant) 1064s # { 1064s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1064s # g_value_set_variant (¶mv[n], child); 1064s # n++; 1064s # } 1064s # else 1064s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1064s # g_variant_unref (child); 1064s # } 1064s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1064s # g_signal_emitv (paramv, signal_id, 0, NULL); 1064s # for (n = 0; n < num_params + 1; n++) 1064s # g_value_unset (¶mv[n]); 1064s # g_free (paramv); 1064s # } 1064s # 1064s # static void 1064s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1064s # GVariant *changed_properties, 1064s # const gchar *const *invalidated_properties) 1064s # { 1064s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1064s # guint n; 1064s # const gchar *key; 1064s # GVariantIter *iter; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # g_variant_get (changed_properties, "a{sv}", &iter); 1064s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1064s # { 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1064s # g_datalist_remove_data (&proxy->priv->qdata, key); 1064s # if (info != NULL) 1064s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1064s # } 1064s # g_variant_iter_free (iter); 1064s # for (n = 0; invalidated_properties[n] != NULL; n++) 1064s # { 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1064s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1064s # if (info != NULL) 1064s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1064s # } 1064s # } 1064s # 1064s # static void 1064s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1064s # { 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1064s # #else 1064s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1064s # #endif 1064s # 1064s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1064s # } 1064s # 1064s # static void 1064s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1064s # { 1064s # GObjectClass *gobject_class; 1064s # GDBusProxyClass *proxy_class; 1064s # 1064s # gobject_class = G_OBJECT_CLASS (klass); 1064s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1064s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1064s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1064s # 1064s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1064s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1064s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1064s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1064s # #endif 1064s # } 1064s # 1064s # static void 1064s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1064s # { 1064s # } 1064s # 1064s # /** 1064s # * org_project_callable_iface_proxy_new: 1064s # * @connection: A #GDBusConnection. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1064s # * @user_data: User data to pass to @callback. 1064s # * 1064s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1064s # * 1064s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1064s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1064s # * 1064s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1064s # */ 1064s # void 1064s # org_project_callable_iface_proxy_new ( 1064s # GDBusConnection *connection, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GAsyncReadyCallback callback, 1064s # gpointer user_data) 1064s # { 1064s # 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); 1064s # } 1064s # 1064s # /** 1064s # * org_project_callable_iface_proxy_new_finish: 1064s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1064s # * 1064s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # OrgProjectCallableIface * 1064s # org_project_callable_iface_proxy_new_finish ( 1064s # GAsyncResult *res, 1064s # GError **error) 1064s # { 1064s # GObject *ret; 1064s # GObject *source_object; 1064s # source_object = g_async_result_get_source_object (res); 1064s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1064s # g_object_unref (source_object); 1064s # if (ret != NULL) 1064s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # /** 1064s # * org_project_callable_iface_proxy_new_sync: 1064s # * @connection: A #GDBusConnection. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1064s # * 1064s # * The calling thread is blocked until a reply is received. 1064s # * 1064s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1064s # * 1064s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # OrgProjectCallableIface * 1064s # org_project_callable_iface_proxy_new_sync ( 1064s # GDBusConnection *connection, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GError **error) 1064s # { 1064s # GInitable *ret; 1064s # 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); 1064s # if (ret != NULL) 1064s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # 1064s # /** 1064s # * org_project_callable_iface_proxy_new_for_bus: 1064s # * @bus_type: A #GBusType. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: A bus name (well-known or unique). 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1064s # * @user_data: User data to pass to @callback. 1064s # * 1064s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1064s # * 1064s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1064s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1064s # * 1064s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1064s # */ 1064s # void 1064s # org_project_callable_iface_proxy_new_for_bus ( 1064s # GBusType bus_type, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GAsyncReadyCallback callback, 1064s # gpointer user_data) 1064s # { 1064s # 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); 1064s # } 1064s # 1064s # /** 1064s # * org_project_callable_iface_proxy_new_for_bus_finish: 1064s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1064s # * 1064s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # OrgProjectCallableIface * 1064s # org_project_callable_iface_proxy_new_for_bus_finish ( 1064s # GAsyncResult *res, 1064s # GError **error) 1064s # { 1064s # GObject *ret; 1064s # GObject *source_object; 1064s # source_object = g_async_result_get_source_object (res); 1064s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1064s # g_object_unref (source_object); 1064s # if (ret != NULL) 1064s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # /** 1064s # * org_project_callable_iface_proxy_new_for_bus_sync: 1064s # * @bus_type: A #GBusType. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: A bus name (well-known or unique). 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1064s # * 1064s # * The calling thread is blocked until a reply is received. 1064s # * 1064s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1064s # * 1064s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # OrgProjectCallableIface * 1064s # org_project_callable_iface_proxy_new_for_bus_sync ( 1064s # GBusType bus_type, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GError **error) 1064s # { 1064s # GInitable *ret; 1064s # 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); 1064s # if (ret != NULL) 1064s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # 1064s # /* ------------------------------------------------------------------------ */ 1064s # 1064s # /** 1064s # * OrgProjectCallableIfaceSkeleton: 1064s # * 1064s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1064s # */ 1064s # 1064s # /** 1064s # * OrgProjectCallableIfaceSkeletonClass: 1064s # * @parent_class: The parent class. 1064s # * 1064s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1064s # */ 1064s # 1064s # struct _OrgProjectCallableIfaceSkeletonPrivate 1064s # { 1064s # GValue *properties; 1064s # GList *changed_properties; 1064s # GSource *changed_properties_idle_source; 1064s # GMainContext *context; 1064s # GMutex lock; 1064s # }; 1064s # 1064s # static void 1064s # _org_project_callable_iface_skeleton_handle_method_call ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name, 1064s # const gchar *method_name, 1064s # GVariant *parameters, 1064s # GDBusMethodInvocation *invocation, 1064s # gpointer user_data) 1064s # { 1064s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1064s # _ExtendedGDBusMethodInfo *info; 1064s # GVariantIter iter; 1064s # GVariant *child; 1064s # GValue *paramv; 1064s # gsize num_params; 1064s # guint num_extra; 1064s # gsize n; 1064s # guint signal_id; 1064s # GValue return_value = G_VALUE_INIT; 1064s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1064s # g_assert (info != NULL); 1064s # num_params = g_variant_n_children (parameters); 1064s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1064s # n = 0; 1064s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1064s # g_value_set_object (¶mv[n++], skeleton); 1064s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1064s # g_value_set_object (¶mv[n++], invocation); 1064s # if (info->pass_fdlist) 1064s # { 1064s # #ifdef G_OS_UNIX 1064s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1064s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1064s # #else 1064s # g_assert_not_reached (); 1064s # #endif 1064s # } 1064s # g_variant_iter_init (&iter, parameters); 1064s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1064s # { 1064s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1064s # if (arg_info->use_gvariant) 1064s # { 1064s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1064s # g_value_set_variant (¶mv[n], child); 1064s # n++; 1064s # } 1064s # else 1064s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1064s # g_variant_unref (child); 1064s # } 1064s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1064s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1064s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1064s # if (!g_value_get_boolean (&return_value)) 1064s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1064s # g_value_unset (&return_value); 1064s # for (n = 0; n < num_params + num_extra; n++) 1064s # g_value_unset (¶mv[n]); 1064s # g_free (paramv); 1064s # } 1064s # 1064s # static GVariant * 1064s # _org_project_callable_iface_skeleton_handle_get_property ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name G_GNUC_UNUSED, 1064s # const gchar *property_name, 1064s # GError **error, 1064s # gpointer user_data) 1064s # { 1064s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1064s # GValue value = G_VALUE_INIT; 1064s # GParamSpec *pspec; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # GVariant *ret; 1064s # ret = NULL; 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1064s # g_assert (info != NULL); 1064s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1064s # if (pspec == NULL) 1064s # { 1064s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1064s # } 1064s # else 1064s # { 1064s # g_value_init (&value, pspec->value_type); 1064s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1064s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1064s # g_value_unset (&value); 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # static gboolean 1064s # _org_project_callable_iface_skeleton_handle_set_property ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name G_GNUC_UNUSED, 1064s # const gchar *property_name, 1064s # GVariant *variant, 1064s # GError **error, 1064s # gpointer user_data) 1064s # { 1064s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1064s # GValue value = G_VALUE_INIT; 1064s # GParamSpec *pspec; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # gboolean ret; 1064s # ret = FALSE; 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1064s # g_assert (info != NULL); 1064s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1064s # if (pspec == NULL) 1064s # { 1064s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1064s # } 1064s # else 1064s # { 1064s # if (info->use_gvariant) 1064s # g_value_set_variant (&value, variant); 1064s # else 1064s # g_dbus_gvariant_to_gvalue (variant, &value); 1064s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1064s # g_value_unset (&value); 1064s # ret = TRUE; 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1064s # { 1064s # _org_project_callable_iface_skeleton_handle_method_call, 1064s # _org_project_callable_iface_skeleton_handle_get_property, 1064s # _org_project_callable_iface_skeleton_handle_set_property, 1064s # {NULL} 1064s # }; 1064s # 1064s # static GDBusInterfaceInfo * 1064s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1064s # { 1064s # return org_project_callable_iface_interface_info (); 1064s # } 1064s # 1064s # static GDBusInterfaceVTable * 1064s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1064s # { 1064s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1064s # } 1064s # 1064s # static GVariant * 1064s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1064s # { 1064s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1064s # 1064s # GVariantBuilder builder; 1064s # guint n; 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1064s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # #else 1064s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # #endif 1064s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1064s # goto out; 1064s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1064s # { 1064s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1064s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1064s # { 1064s # GVariant *value; 1064s # 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); 1064s # if (value != NULL) 1064s # { 1064s # g_variant_take_ref (value); 1064s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1064s # g_variant_unref (value); 1064s # } 1064s # } 1064s # } 1064s # out: 1064s # return g_variant_builder_end (&builder); 1064s # } 1064s # 1064s # static void 1064s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1064s # { 1064s # } 1064s # 1064s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1064s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1064s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1064s # 1064s # #else 1064s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1064s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1064s # 1064s # #endif 1064s # static void 1064s # org_project_callable_iface_skeleton_finalize (GObject *object) 1064s # { 1064s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1064s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1064s # if (skeleton->priv->changed_properties_idle_source != NULL) 1064s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1064s # g_main_context_unref (skeleton->priv->context); 1064s # g_mutex_clear (&skeleton->priv->lock); 1064s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1064s # } 1064s # 1064s # static void 1064s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1064s # { 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1064s # #else 1064s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1064s # #endif 1064s # 1064s # g_mutex_init (&skeleton->priv->lock); 1064s # skeleton->priv->context = g_main_context_ref_thread_default (); 1064s # } 1064s # 1064s # static void 1064s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1064s # { 1064s # GObjectClass *gobject_class; 1064s # GDBusInterfaceSkeletonClass *skeleton_class; 1064s # 1064s # gobject_class = G_OBJECT_CLASS (klass); 1064s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1064s # 1064s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1064s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1064s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1064s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1064s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1064s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1064s # #endif 1064s # } 1064s # 1064s # static void 1064s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1064s # { 1064s # } 1064s # 1064s # /** 1064s # * org_project_callable_iface_skeleton_new: 1064s # * 1064s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1064s # * 1064s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1064s # */ 1064s # OrgProjectCallableIface * 1064s # org_project_callable_iface_skeleton_new (void) 1064s # { 1064s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1064s # } 1064s # 1064s # /* ------------------------------------------------------------------------ 1064s # * Code for interface org.project.OtherCallableIface 1064s # * ------------------------------------------------------------------------ 1064s # */ 1064s # 1064s # /** 1064s # * SECTION:OrgProjectOtherCallableIface 1064s # * @title: OrgProjectOtherCallableIface 1064s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1064s # * 1064s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1064s # */ 1064s # 1064s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1064s # 1064s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1064s # { 1064s # { 1064s # -1, 1064s # (gchar *) "SimpleMethod", 1064s # NULL, 1064s # NULL, 1064s # NULL 1064s # }, 1064s # "handle-simple-method", 1064s # FALSE 1064s # }; 1064s # 1064s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1064s # { 1064s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1064s # NULL 1064s # }; 1064s # 1064s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1064s # { 1064s # { 1064s # -1, 1064s # (gchar *) "org.project.OtherCallableIface", 1064s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1064s # NULL, 1064s # NULL, 1064s # NULL 1064s # }, 1064s # "org-project-other-callable-iface", 1064s # }; 1064s # 1064s # 1064s # /** 1064s # * org_project_other_callable_iface_interface_info: 1064s # * 1064s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1064s # * 1064s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1064s # */ 1064s # GDBusInterfaceInfo * 1064s # org_project_other_callable_iface_interface_info (void) 1064s # { 1064s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1064s # } 1064s # 1064s # /** 1064s # * org_project_other_callable_iface_override_properties: 1064s # * @klass: The class structure for a #GObject derived class. 1064s # * @property_id_begin: The property id to assign to the first overridden property. 1064s # * 1064s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1064s # * The properties are overridden in the order they are defined. 1064s # * 1064s # * Returns: The last property id. 1064s # */ 1064s # guint 1064s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1064s # { 1064s # return property_id_begin - 1; 1064s # } 1064s # 1064s # 1064s # inline static void 1064s # org_project_other_callable_iface_method_marshal_simple_method ( 1064s # GClosure *closure, 1064s # GValue *return_value, 1064s # unsigned int n_param_values, 1064s # const GValue *param_values, 1064s # void *invocation_hint, 1064s # void *marshal_data) 1064s # { 1064s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1064s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1064s # } 1064s # 1064s # 1064s # /** 1064s # * OrgProjectOtherCallableIface: 1064s # * 1064s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1064s # */ 1064s # 1064s # /** 1064s # * OrgProjectOtherCallableIfaceIface: 1064s # * @parent_iface: The parent interface. 1064s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1064s # * 1064s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1064s # */ 1064s # 1064s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1064s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1064s # 1064s # static void 1064s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1064s # { 1064s # /* GObject signals for incoming D-Bus method calls: */ 1064s # /** 1064s # * OrgProjectOtherCallableIface::handle-simple-method: 1064s # * @object: A #OrgProjectOtherCallableIface. 1064s # * @invocation: A #GDBusMethodInvocation. 1064s # * 1064s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1064s # * 1064s # * If 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. 1064s # * 1064s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1064s # */ 1064s # g_signal_new ("handle-simple-method", 1064s # G_TYPE_FROM_INTERFACE (iface), 1064s # G_SIGNAL_RUN_LAST, 1064s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1064s # g_signal_accumulator_true_handled, 1064s # NULL, 1064s # org_project_other_callable_iface_method_marshal_simple_method, 1064s # G_TYPE_BOOLEAN, 1064s # 1, 1064s # G_TYPE_DBUS_METHOD_INVOCATION); 1064s # 1064s # } 1064s # 1064s # /** 1064s # * org_project_other_callable_iface_call_simple_method: 1064s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1064s # * @user_data: User data to pass to @callback. 1064s # * 1064s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1064s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1064s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1064s # * 1064s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1064s # */ 1064s # void 1064s # org_project_other_callable_iface_call_simple_method ( 1064s # OrgProjectOtherCallableIface *proxy, 1064s # GCancellable *cancellable, 1064s # GAsyncReadyCallback callback, 1064s # gpointer user_data) 1064s # { 1064s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1064s # "SimpleMethod", 1064s # g_variant_new ("()"), 1064s # G_DBUS_CALL_FLAGS_NONE, 1064s # -1, 1064s # cancellable, 1064s # callback, 1064s # user_data); 1064s # } 1064s # 1064s # /** 1064s # * org_project_other_callable_iface_call_simple_method_finish: 1064s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1064s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1064s # * @error: Return location for error or %NULL. 1064s # * 1064s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1064s # * 1064s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1064s # */ 1064s # gboolean 1064s # org_project_other_callable_iface_call_simple_method_finish ( 1064s # OrgProjectOtherCallableIface *proxy, 1064s # GAsyncResult *res, 1064s # GError **error) 1064s # { 1064s # GVariant *_ret; 1064s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1064s # if (_ret == NULL) 1064s # goto _out; 1064s # g_variant_get (_ret, 1064s # "()"); 1064s # g_variant_unref (_ret); 1064s # _out: 1064s # return _ret != NULL; 1064s # } 1064s # 1064s # /** 1064s # * org_project_other_callable_iface_call_simple_method_sync: 1064s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @error: Return location for error or %NULL. 1064s # * 1064s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1064s # * 1064s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1064s # * 1064s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1064s # */ 1064s # gboolean 1064s # org_project_other_callable_iface_call_simple_method_sync ( 1064s # OrgProjectOtherCallableIface *proxy, 1064s # GCancellable *cancellable, 1064s # GError **error) 1064s # { 1064s # GVariant *_ret; 1064s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1064s # "SimpleMethod", 1064s # g_variant_new ("()"), 1064s # G_DBUS_CALL_FLAGS_NONE, 1064s # -1, 1064s # cancellable, 1064s # error); 1064s # if (_ret == NULL) 1064s # goto _out; 1064s # g_variant_get (_ret, 1064s # "()"); 1064s # g_variant_unref (_ret); 1064s # _out: 1064s # return _ret != NULL; 1064s # } 1064s # 1064s # /** 1064s # * org_project_other_callable_iface_complete_simple_method: 1064s # * @object: A #OrgProjectOtherCallableIface. 1064s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1064s # * 1064s # * 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. 1064s # * 1064s # * This method will free @invocation, you cannot use it afterwards. 1064s # */ 1064s # void 1064s # org_project_other_callable_iface_complete_simple_method ( 1064s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1064s # GDBusMethodInvocation *invocation) 1064s # { 1064s # g_dbus_method_invocation_return_value (invocation, 1064s # g_variant_new ("()")); 1064s # } 1064s # 1064s # /* ------------------------------------------------------------------------ */ 1064s # 1064s # /** 1064s # * OrgProjectOtherCallableIfaceProxy: 1064s # * 1064s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1064s # */ 1064s # 1064s # /** 1064s # * OrgProjectOtherCallableIfaceProxyClass: 1064s # * @parent_class: The parent class. 1064s # * 1064s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1064s # */ 1064s # 1064s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1064s # { 1064s # GData *qdata; 1064s # }; 1064s # 1064s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1064s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1064s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1064s # 1064s # #else 1064s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1064s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1064s # 1064s # #endif 1064s # static void 1064s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1064s # { 1064s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1064s # g_datalist_clear (&proxy->priv->qdata); 1064s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1064s # } 1064s # 1064s # static void 1064s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1064s # guint prop_id G_GNUC_UNUSED, 1064s # GValue *value G_GNUC_UNUSED, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # } 1064s # 1064s # static void 1064s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1064s # guint prop_id G_GNUC_UNUSED, 1064s # const GValue *value G_GNUC_UNUSED, 1064s # GParamSpec *pspec G_GNUC_UNUSED) 1064s # { 1064s # } 1064s # 1064s # static void 1064s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1064s # const gchar *sender_name G_GNUC_UNUSED, 1064s # const gchar *signal_name, 1064s # GVariant *parameters) 1064s # { 1064s # _ExtendedGDBusSignalInfo *info; 1064s # GVariantIter iter; 1064s # GVariant *child; 1064s # GValue *paramv; 1064s # gsize num_params; 1064s # gsize n; 1064s # guint signal_id; 1064s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1064s # if (info == NULL) 1064s # return; 1064s # num_params = g_variant_n_children (parameters); 1064s # paramv = g_new0 (GValue, num_params + 1); 1064s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1064s # g_value_set_object (¶mv[0], proxy); 1064s # g_variant_iter_init (&iter, parameters); 1064s # n = 1; 1064s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1064s # { 1064s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1064s # if (arg_info->use_gvariant) 1064s # { 1064s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1064s # g_value_set_variant (¶mv[n], child); 1064s # n++; 1064s # } 1064s # else 1064s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1064s # g_variant_unref (child); 1064s # } 1064s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1064s # g_signal_emitv (paramv, signal_id, 0, NULL); 1064s # for (n = 0; n < num_params + 1; n++) 1064s # g_value_unset (¶mv[n]); 1064s # g_free (paramv); 1064s # } 1064s # 1064s # static void 1064s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1064s # GVariant *changed_properties, 1064s # const gchar *const *invalidated_properties) 1064s # { 1064s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1064s # guint n; 1064s # const gchar *key; 1064s # GVariantIter *iter; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # g_variant_get (changed_properties, "a{sv}", &iter); 1064s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1064s # { 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1064s # g_datalist_remove_data (&proxy->priv->qdata, key); 1064s # if (info != NULL) 1064s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1064s # } 1064s # g_variant_iter_free (iter); 1064s # for (n = 0; invalidated_properties[n] != NULL; n++) 1064s # { 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1064s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1064s # if (info != NULL) 1064s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1064s # } 1064s # } 1064s # 1064s # static void 1064s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1064s # { 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1064s # #else 1064s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1064s # #endif 1064s # 1064s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1064s # } 1064s # 1064s # static void 1064s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1064s # { 1064s # GObjectClass *gobject_class; 1064s # GDBusProxyClass *proxy_class; 1064s # 1064s # gobject_class = G_OBJECT_CLASS (klass); 1064s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1064s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1064s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1064s # 1064s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1064s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1064s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1064s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1064s # #endif 1064s # } 1064s # 1064s # static void 1064s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1064s # { 1064s # } 1064s # 1064s # /** 1064s # * org_project_other_callable_iface_proxy_new: 1064s # * @connection: A #GDBusConnection. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1064s # * @user_data: User data to pass to @callback. 1064s # * 1064s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1064s # * 1064s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1064s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1064s # * 1064s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1064s # */ 1064s # void 1064s # org_project_other_callable_iface_proxy_new ( 1064s # GDBusConnection *connection, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GAsyncReadyCallback callback, 1064s # gpointer user_data) 1064s # { 1064s # 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); 1064s # } 1064s # 1064s # /** 1064s # * org_project_other_callable_iface_proxy_new_finish: 1064s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1064s # * 1064s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # OrgProjectOtherCallableIface * 1064s # org_project_other_callable_iface_proxy_new_finish ( 1064s # GAsyncResult *res, 1064s # GError **error) 1064s # { 1064s # GObject *ret; 1064s # GObject *source_object; 1064s # source_object = g_async_result_get_source_object (res); 1064s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1064s # g_object_unref (source_object); 1064s # if (ret != NULL) 1064s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # /** 1064s # * org_project_other_callable_iface_proxy_new_sync: 1064s # * @connection: A #GDBusConnection. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1064s # * 1064s # * The calling thread is blocked until a reply is received. 1064s # * 1064s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1064s # * 1064s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # OrgProjectOtherCallableIface * 1064s # org_project_other_callable_iface_proxy_new_sync ( 1064s # GDBusConnection *connection, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GError **error) 1064s # { 1064s # GInitable *ret; 1064s # 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); 1064s # if (ret != NULL) 1064s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # 1064s # /** 1064s # * org_project_other_callable_iface_proxy_new_for_bus: 1064s # * @bus_type: A #GBusType. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: A bus name (well-known or unique). 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1064s # * @user_data: User data to pass to @callback. 1064s # * 1064s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1064s # * 1064s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1064s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1064s # * 1064s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1064s # */ 1064s # void 1064s # org_project_other_callable_iface_proxy_new_for_bus ( 1064s # GBusType bus_type, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GAsyncReadyCallback callback, 1064s # gpointer user_data) 1064s # { 1064s # 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); 1064s # } 1064s # 1064s # /** 1064s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1064s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1064s # * 1064s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # OrgProjectOtherCallableIface * 1064s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1064s # GAsyncResult *res, 1064s # GError **error) 1064s # { 1064s # GObject *ret; 1064s # GObject *source_object; 1064s # source_object = g_async_result_get_source_object (res); 1064s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1064s # g_object_unref (source_object); 1064s # if (ret != NULL) 1064s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # /** 1064s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1064s # * @bus_type: A #GBusType. 1064s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1064s # * @name: A bus name (well-known or unique). 1064s # * @object_path: An object path. 1064s # * @cancellable: (nullable): A #GCancellable or %NULL. 1064s # * @error: Return location for error or %NULL 1064s # * 1064s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1064s # * 1064s # * The calling thread is blocked until a reply is received. 1064s # * 1064s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1064s # * 1064s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1064s # */ 1064s # OrgProjectOtherCallableIface * 1064s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1064s # GBusType bus_type, 1064s # GDBusProxyFlags flags, 1064s # const gchar *name, 1064s # const gchar *object_path, 1064s # GCancellable *cancellable, 1064s # GError **error) 1064s # { 1064s # GInitable *ret; 1064s # 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); 1064s # if (ret != NULL) 1064s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1064s # else 1064s # return NULL; 1064s # } 1064s # 1064s # 1064s # /* ------------------------------------------------------------------------ */ 1064s # 1064s # /** 1064s # * OrgProjectOtherCallableIfaceSkeleton: 1064s # * 1064s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1064s # */ 1064s # 1064s # /** 1064s # * OrgProjectOtherCallableIfaceSkeletonClass: 1064s # * @parent_class: The parent class. 1064s # * 1064s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1064s # */ 1064s # 1064s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1064s # { 1064s # GValue *properties; 1064s # GList *changed_properties; 1064s # GSource *changed_properties_idle_source; 1064s # GMainContext *context; 1064s # GMutex lock; 1064s # }; 1064s # 1064s # static void 1064s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name, 1064s # const gchar *method_name, 1064s # GVariant *parameters, 1064s # GDBusMethodInvocation *invocation, 1064s # gpointer user_data) 1064s # { 1064s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1064s # _ExtendedGDBusMethodInfo *info; 1064s # GVariantIter iter; 1064s # GVariant *child; 1064s # GValue *paramv; 1064s # gsize num_params; 1064s # guint num_extra; 1064s # gsize n; 1064s # guint signal_id; 1064s # GValue return_value = G_VALUE_INIT; 1064s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1064s # g_assert (info != NULL); 1064s # num_params = g_variant_n_children (parameters); 1064s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1064s # n = 0; 1064s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1064s # g_value_set_object (¶mv[n++], skeleton); 1064s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1064s # g_value_set_object (¶mv[n++], invocation); 1064s # if (info->pass_fdlist) 1064s # { 1064s # #ifdef G_OS_UNIX 1064s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1064s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1064s # #else 1064s # g_assert_not_reached (); 1064s # #endif 1064s # } 1064s # g_variant_iter_init (&iter, parameters); 1064s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1064s # { 1064s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1064s # if (arg_info->use_gvariant) 1064s # { 1064s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1064s # g_value_set_variant (¶mv[n], child); 1064s # n++; 1064s # } 1064s # else 1064s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1064s # g_variant_unref (child); 1064s # } 1064s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1064s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1064s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1064s # if (!g_value_get_boolean (&return_value)) 1064s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1064s # g_value_unset (&return_value); 1064s # for (n = 0; n < num_params + num_extra; n++) 1064s # g_value_unset (¶mv[n]); 1064s # g_free (paramv); 1064s # } 1064s # 1064s # static GVariant * 1064s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name G_GNUC_UNUSED, 1064s # const gchar *property_name, 1064s # GError **error, 1064s # gpointer user_data) 1064s # { 1064s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1064s # GValue value = G_VALUE_INIT; 1064s # GParamSpec *pspec; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # GVariant *ret; 1064s # ret = NULL; 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1064s # g_assert (info != NULL); 1064s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1064s # if (pspec == NULL) 1064s # { 1064s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1064s # } 1064s # else 1064s # { 1064s # g_value_init (&value, pspec->value_type); 1064s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1064s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1064s # g_value_unset (&value); 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # static gboolean 1064s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1064s # GDBusConnection *connection G_GNUC_UNUSED, 1064s # const gchar *sender G_GNUC_UNUSED, 1064s # const gchar *object_path G_GNUC_UNUSED, 1064s # const gchar *interface_name G_GNUC_UNUSED, 1064s # const gchar *property_name, 1064s # GVariant *variant, 1064s # GError **error, 1064s # gpointer user_data) 1064s # { 1064s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1064s # GValue value = G_VALUE_INIT; 1064s # GParamSpec *pspec; 1064s # _ExtendedGDBusPropertyInfo *info; 1064s # gboolean ret; 1064s # ret = FALSE; 1064s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1064s # g_assert (info != NULL); 1064s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1064s # if (pspec == NULL) 1064s # { 1064s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1064s # } 1064s # else 1064s # { 1064s # if (info->use_gvariant) 1064s # g_value_set_variant (&value, variant); 1064s # else 1064s # g_dbus_gvariant_to_gvalue (variant, &value); 1064s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1064s # g_value_unset (&value); 1064s # ret = TRUE; 1064s # } 1064s # return ret; 1064s # } 1064s # 1064s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1064s # { 1064s # _org_project_other_callable_iface_skeleton_handle_method_call, 1064s # _org_project_other_callable_iface_skeleton_handle_get_property, 1064s # _org_project_other_callable_iface_skeleton_handle_set_property, 1064s # {NULL} 1064s # }; 1064s # 1064s # static GDBusInterfaceInfo * 1064s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1064s # { 1064s # return org_project_other_callable_iface_interface_info (); 1064s # } 1064s # 1064s # static GDBusInterfaceVTable * 1064s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1064s # { 1064s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1064s # } 1064s # 1064s # static GVariant * 1064s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1064s # { 1064s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1064s # 1064s # GVariantBuilder builder; 1064s # guint n; 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1064s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # #else 1064s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1064s # #endif 1064s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1064s # goto out; 1064s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1064s # { 1064s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1064s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1064s # { 1064s # GVariant *value; 1064s # 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); 1064s # if (value != NULL) 1064s # { 1064s # g_variant_take_ref (value); 1064s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1064s # g_variant_unref (value); 1064s # } 1064s # } 1064s # } 1064s # out: 1064s # return g_variant_builder_end (&builder); 1064s # } 1064s # 1064s # static void 1064s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1064s # { 1064s # } 1064s # 1064s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1064s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1064s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1064s # 1064s # #else 1064s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1064s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1064s # 1064s # #endif 1064s # static void 1064s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1064s # { 1064s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1064s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1064s # if (skeleton->priv->changed_properties_idle_source != NULL) 1064s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1064s # g_main_context_unref (skeleton->priv->context); 1064s # g_mutex_clear (&skeleton->priv->lock); 1064s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1064s # } 1064s # 1064s # static void 1064s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1064s # { 1064s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1064s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1064s # #else 1064s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1064s # #endif 1064s # 1064s # g_mutex_init (&skeleton->priv->lock); 1064s # skeleton->priv->context = g_main_context_ref_thread_default (); 1064s # } 1064s # 1064s # static void 1064s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1064s # { 1064s # GObjectClass *gobject_class; 1064s # GDBusInterfaceSkeletonClass *skeleton_class; 1064s # 1064s # gobject_class = G_OBJECT_CLASS (klass); 1064s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1064s # 1064s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1064s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1064s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1064s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1064s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1064s # 1064s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1064s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1064s # #endif 1064s # } 1064s # 1064s # static void 1064s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1064s # { 1064s # } 1064s # 1064s # /** 1064s # * org_project_other_callable_iface_skeleton_new: 1064s # * 1064s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1064s # * 1064s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1064s # */ 1064s # OrgProjectOtherCallableIface * 1064s # org_project_other_callable_iface_skeleton_new (void) 1064s # { 1064s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1064s # } 1064s # Error: 1065s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1065s # gdbus-codegen: /usr/bin/gdbus-codegen 1065s # tmpdir: /tmp/tmpq0m_q5r3 1065s # /tmp/tmpq0m_q5r3/tmputk44dfy.xml: 1065s # 1065s # 1065s # 1065s # 1065s # 1065s # 1065s # 1065s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmputk44dfy.xml', '--output', '-', '--body'] 1065s # Return code: 0 1065s # Output: 1065s # /* 1065s # * This file is generated by gdbus-codegen, do not modify it. 1065s # * 1065s # * The license of this code is the same as for the D-Bus interface description 1065s # * it was derived from. Note that it links to GLib, so must comply with the 1065s # * LGPL linking clauses. 1065s # */ 1065s # 1065s # #ifdef HAVE_CONFIG_H 1065s # # include "config.h" 1065s # #endif 1065s # 1065s # #include 1065s # #ifdef G_OS_UNIX 1065s # # include 1065s # #endif 1065s # 1065s # #ifdef G_ENABLE_DEBUG 1065s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1065s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1065s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1065s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1065s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1065s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1065s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1065s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1065s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1065s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1065s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1065s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1065s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1065s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1065s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1065s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1065s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1065s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1065s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1065s # #else /* !G_ENABLE_DEBUG */ 1065s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1065s # * Do not access GValues directly in your code. Instead, use the 1065s # * g_value_get_*() functions 1065s # */ 1065s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1065s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1065s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1065s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1065s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1065s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1065s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1065s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1065s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1065s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1065s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1065s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1065s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1065s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1065s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1065s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1065s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1065s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1065s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1065s # #endif /* !G_ENABLE_DEBUG */ 1065s # 1065s # typedef struct 1065s # { 1065s # GDBusArgInfo parent_struct; 1065s # gboolean use_gvariant; 1065s # } _ExtendedGDBusArgInfo; 1065s # 1065s # typedef struct 1065s # { 1065s # GDBusMethodInfo parent_struct; 1065s # const gchar *signal_name; 1065s # gboolean pass_fdlist; 1065s # } _ExtendedGDBusMethodInfo; 1065s # 1065s # typedef struct 1065s # { 1065s # GDBusSignalInfo parent_struct; 1065s # const gchar *signal_name; 1065s # } _ExtendedGDBusSignalInfo; 1065s # 1065s # typedef struct 1065s # { 1065s # GDBusPropertyInfo parent_struct; 1065s # const gchar *hyphen_name; 1065s # guint use_gvariant : 1; 1065s # guint emits_changed_signal : 1; 1065s # } _ExtendedGDBusPropertyInfo; 1065s # 1065s # typedef struct 1065s # { 1065s # GDBusInterfaceInfo parent_struct; 1065s # const gchar *hyphen_name; 1065s # } _ExtendedGDBusInterfaceInfo; 1065s # 1065s # typedef struct 1065s # { 1065s # const _ExtendedGDBusPropertyInfo *info; 1065s # guint prop_id; 1065s # GValue orig_value; /* the value before the change */ 1065s # } ChangedProperty; 1065s # 1065s # static void 1065s # _changed_property_free (ChangedProperty *data) 1065s # { 1065s # g_value_unset (&data->orig_value); 1065s # g_free (data); 1065s # } 1065s # 1065s # static gboolean 1065s # _g_strv_equal0 (gchar **a, gchar **b) 1065s # { 1065s # gboolean ret = FALSE; 1065s # guint n; 1065s # if (a == NULL && b == NULL) 1065s # { 1065s # ret = TRUE; 1065s # goto out; 1065s # } 1065s # if (a == NULL || b == NULL) 1065s # goto out; 1065s # if (g_strv_length (a) != g_strv_length (b)) 1065s # goto out; 1065s # for (n = 0; a[n] != NULL; n++) 1065s # if (g_strcmp0 (a[n], b[n]) != 0) 1065s # goto out; 1065s # ret = TRUE; 1065s # out: 1065s # return ret; 1065s # } 1065s # 1065s # static gboolean 1065s # _g_variant_equal0 (GVariant *a, GVariant *b) 1065s # { 1065s # gboolean ret = FALSE; 1065s # if (a == NULL && b == NULL) 1065s # { 1065s # ret = TRUE; 1065s # goto out; 1065s # } 1065s # if (a == NULL || b == NULL) 1065s # goto out; 1065s # ret = g_variant_equal (a, b); 1065s # out: 1065s # return ret; 1065s # } 1065s # 1065s # G_GNUC_UNUSED static gboolean 1065s # _g_value_equal (const GValue *a, const GValue *b) 1065s # { 1065s # gboolean ret = FALSE; 1065s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1065s # switch (G_VALUE_TYPE (a)) 1065s # { 1065s # case G_TYPE_BOOLEAN: 1065s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1065s # break; 1065s # case G_TYPE_UCHAR: 1065s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1065s # break; 1065s # case G_TYPE_INT: 1065s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1065s # break; 1065s # case G_TYPE_UINT: 1065s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1065s # break; 1065s # case G_TYPE_INT64: 1065s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1065s # break; 1065s # case G_TYPE_UINT64: 1065s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1065s # break; 1065s # case G_TYPE_DOUBLE: 1065s # { 1065s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1065s # gdouble da = g_value_get_double (a); 1065s # gdouble db = g_value_get_double (b); 1065s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1065s # } 1065s # break; 1065s # case G_TYPE_STRING: 1065s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1065s # break; 1065s # case G_TYPE_VARIANT: 1065s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1065s # break; 1065s # default: 1065s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1065s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1065s # else 1065s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1065s # break; 1065s # } 1065s # return ret; 1065s # } 1065s # 1065s # static void 1065s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1065s # GClosure *closure, 1065s # GValue *return_value, 1065s # unsigned int n_param_values, 1065s # const GValue *param_values, 1065s # void *invocation_hint G_GNUC_UNUSED, 1065s # void *marshal_data) 1065s # { 1065s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1065s # (void *data1, 1065s # GDBusMethodInvocation *arg_method_invocation, 1065s # gboolean arg_arg_b, 1065s # void *data2); 1065s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1065s # GCClosure *cc = (GCClosure*) closure; 1065s # void *data1, *data2; 1065s # gboolean v_return; 1065s # 1065s # g_return_if_fail (return_value != NULL); 1065s # g_return_if_fail (n_param_values == 3); 1065s # 1065s # if (G_CCLOSURE_SWAP_DATA (closure)) 1065s # { 1065s # data1 = closure->data; 1065s # data2 = g_value_peek_pointer (param_values + 0); 1065s # } 1065s # else 1065s # { 1065s # data1 = g_value_peek_pointer (param_values + 0); 1065s # data2 = closure->data; 1065s # } 1065s # 1065s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1065s # (marshal_data ? marshal_data : cc->callback); 1065s # 1065s # v_return = 1065s # callback (data1, 1065s # g_marshal_value_peek_object (param_values + 1), 1065s # g_marshal_value_peek_boolean (param_values + 2), 1065s # data2); 1065s # 1065s # g_value_set_boolean (return_value, v_return); 1065s # } 1065s # 1065s # /* ------------------------------------------------------------------------ 1065s # * Code for interface org.project.UsefulInterface 1065s # * ------------------------------------------------------------------------ 1065s # */ 1065s # 1065s # /** 1065s # * SECTION:OrgProjectUsefulInterface 1065s # * @title: OrgProjectUsefulInterface 1065s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1065s # * 1065s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1065s # */ 1065s # 1065s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1065s # 1065s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1065s # { 1065s # { 1065s # -1, 1065s # (gchar *) "arg_b", 1065s # (gchar *) "b", 1065s # NULL 1065s # }, 1065s # FALSE 1065s # }; 1065s # 1065s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1065s # { 1065s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1065s # NULL 1065s # }; 1065s # 1065s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1065s # { 1065s # { 1065s # -1, 1065s # (gchar *) "SingleArgMethodB", 1065s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1065s # NULL, 1065s # NULL 1065s # }, 1065s # "handle-single-arg-method-b", 1065s # FALSE 1065s # }; 1065s # 1065s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1065s # { 1065s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1065s # NULL 1065s # }; 1065s # 1065s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1065s # { 1065s # { 1065s # -1, 1065s # (gchar *) "org.project.UsefulInterface", 1065s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1065s # NULL, 1065s # NULL, 1065s # NULL 1065s # }, 1065s # "org-project-useful-interface", 1065s # }; 1065s # 1065s # 1065s # /** 1065s # * org_project_useful_interface_interface_info: 1065s # * 1065s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1065s # * 1065s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1065s # */ 1065s # GDBusInterfaceInfo * 1065s # org_project_useful_interface_interface_info (void) 1065s # { 1065s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_override_properties: 1065s # * @klass: The class structure for a #GObject derived class. 1065s # * @property_id_begin: The property id to assign to the first overridden property. 1065s # * 1065s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1065s # * The properties are overridden in the order they are defined. 1065s # * 1065s # * Returns: The last property id. 1065s # */ 1065s # guint 1065s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1065s # { 1065s # return property_id_begin - 1; 1065s # } 1065s # 1065s # 1065s # inline static void 1065s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1065s # GClosure *closure, 1065s # GValue *return_value, 1065s # unsigned int n_param_values, 1065s # const GValue *param_values, 1065s # void *invocation_hint, 1065s # void *marshal_data) 1065s # { 1065s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1065s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1065s # } 1065s # 1065s # 1065s # /** 1065s # * OrgProjectUsefulInterface: 1065s # * 1065s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1065s # */ 1065s # 1065s # /** 1065s # * OrgProjectUsefulInterfaceIface: 1065s # * @parent_iface: The parent interface. 1065s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1065s # * 1065s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1065s # */ 1065s # 1065s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1065s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1065s # 1065s # static void 1065s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1065s # { 1065s # /* GObject signals for incoming D-Bus method calls: */ 1065s # /** 1065s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1065s # * @object: A #OrgProjectUsefulInterface. 1065s # * @invocation: A #GDBusMethodInvocation. 1065s # * @arg_arg_b: Argument passed by remote caller. 1065s # * 1065s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1065s # * 1065s # * If 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. 1065s # * 1065s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1065s # */ 1065s # g_signal_new ("handle-single-arg-method-b", 1065s # G_TYPE_FROM_INTERFACE (iface), 1065s # G_SIGNAL_RUN_LAST, 1065s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1065s # g_signal_accumulator_true_handled, 1065s # NULL, 1065s # org_project_useful_interface_method_marshal_single_arg_method_b, 1065s # G_TYPE_BOOLEAN, 1065s # 2, 1065s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1065s # 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_call_single_arg_method_b: 1065s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1065s # * @arg_arg_b: Argument to pass with the method invocation. 1065s # * @cancellable: (nullable): A #GCancellable or %NULL. 1065s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1065s # * @user_data: User data to pass to @callback. 1065s # * 1065s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1065s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1065s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1065s # * 1065s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1065s # */ 1065s # void 1065s # org_project_useful_interface_call_single_arg_method_b ( 1065s # OrgProjectUsefulInterface *proxy, 1065s # gboolean arg_arg_b, 1065s # GCancellable *cancellable, 1065s # GAsyncReadyCallback callback, 1065s # gpointer user_data) 1065s # { 1065s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1065s # "SingleArgMethodB", 1065s # g_variant_new ("(b)", 1065s # arg_arg_b), 1065s # G_DBUS_CALL_FLAGS_NONE, 1065s # -1, 1065s # cancellable, 1065s # callback, 1065s # user_data); 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_call_single_arg_method_b_finish: 1065s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1065s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1065s # * @error: Return location for error or %NULL. 1065s # * 1065s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1065s # * 1065s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1065s # */ 1065s # gboolean 1065s # org_project_useful_interface_call_single_arg_method_b_finish ( 1065s # OrgProjectUsefulInterface *proxy, 1065s # GAsyncResult *res, 1065s # GError **error) 1065s # { 1065s # GVariant *_ret; 1065s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1065s # if (_ret == NULL) 1065s # goto _out; 1065s # g_variant_get (_ret, 1065s # "()"); 1065s # g_variant_unref (_ret); 1065s # _out: 1065s # return _ret != NULL; 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_call_single_arg_method_b_sync: 1065s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1065s # * @arg_arg_b: Argument to pass with the method invocation. 1065s # * @cancellable: (nullable): A #GCancellable or %NULL. 1065s # * @error: Return location for error or %NULL. 1065s # * 1065s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1065s # * 1065s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1065s # * 1065s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1065s # */ 1065s # gboolean 1065s # org_project_useful_interface_call_single_arg_method_b_sync ( 1065s # OrgProjectUsefulInterface *proxy, 1065s # gboolean arg_arg_b, 1065s # GCancellable *cancellable, 1065s # GError **error) 1065s # { 1065s # GVariant *_ret; 1065s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1065s # "SingleArgMethodB", 1065s # g_variant_new ("(b)", 1065s # arg_arg_b), 1065s # G_DBUS_CALL_FLAGS_NONE, 1065s # -1, 1065s # cancellable, 1065s # error); 1065s # if (_ret == NULL) 1065s # goto _out; 1065s # g_variant_get (_ret, 1065s # "()"); 1065s # g_variant_unref (_ret); 1065s # _out: 1065s # return _ret != NULL; 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_complete_single_arg_method_b: 1065s # * @object: A #OrgProjectUsefulInterface. 1065s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1065s # * 1065s # * 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. 1065s # * 1065s # * This method will free @invocation, you cannot use it afterwards. 1065s # */ 1065s # void 1065s # org_project_useful_interface_complete_single_arg_method_b ( 1065s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1065s # GDBusMethodInvocation *invocation) 1065s # { 1065s # g_dbus_method_invocation_return_value (invocation, 1065s # g_variant_new ("()")); 1065s # } 1065s # 1065s # /* ------------------------------------------------------------------------ */ 1065s # 1065s # /** 1065s # * OrgProjectUsefulInterfaceProxy: 1065s # * 1065s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1065s # */ 1065s # 1065s # /** 1065s # * OrgProjectUsefulInterfaceProxyClass: 1065s # * @parent_class: The parent class. 1065s # * 1065s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1065s # */ 1065s # 1065s # struct _OrgProjectUsefulInterfaceProxyPrivate 1065s # { 1065s # GData *qdata; 1065s # }; 1065s # 1065s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1065s # 1065s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1065s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1065s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1065s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1065s # 1065s # #else 1065s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1065s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1065s # 1065s # #endif 1065s # static void 1065s # org_project_useful_interface_proxy_finalize (GObject *object) 1065s # { 1065s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1065s # g_datalist_clear (&proxy->priv->qdata); 1065s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1065s # } 1065s # 1065s # static void 1065s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1065s # guint prop_id G_GNUC_UNUSED, 1065s # GValue *value G_GNUC_UNUSED, 1065s # GParamSpec *pspec G_GNUC_UNUSED) 1065s # { 1065s # } 1065s # 1065s # static void 1065s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1065s # guint prop_id G_GNUC_UNUSED, 1065s # const GValue *value G_GNUC_UNUSED, 1065s # GParamSpec *pspec G_GNUC_UNUSED) 1065s # { 1065s # } 1065s # 1065s # static void 1065s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1065s # const gchar *sender_name G_GNUC_UNUSED, 1065s # const gchar *signal_name, 1065s # GVariant *parameters) 1065s # { 1065s # _ExtendedGDBusSignalInfo *info; 1065s # GVariantIter iter; 1065s # GVariant *child; 1065s # GValue *paramv; 1065s # gsize num_params; 1065s # gsize n; 1065s # guint signal_id; 1065s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1065s # if (info == NULL) 1065s # return; 1065s # num_params = g_variant_n_children (parameters); 1065s # paramv = g_new0 (GValue, num_params + 1); 1065s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1065s # g_value_set_object (¶mv[0], proxy); 1065s # g_variant_iter_init (&iter, parameters); 1065s # n = 1; 1065s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1065s # { 1065s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1065s # if (arg_info->use_gvariant) 1065s # { 1065s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1065s # g_value_set_variant (¶mv[n], child); 1065s # n++; 1065s # } 1065s # else 1065s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1065s # g_variant_unref (child); 1065s # } 1065s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1065s # g_signal_emitv (paramv, signal_id, 0, NULL); 1065s # for (n = 0; n < num_params + 1; n++) 1065s # g_value_unset (¶mv[n]); 1065s # g_free (paramv); 1065s # } 1065s # 1065s # static void 1065s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1065s # GVariant *changed_properties, 1065s # const gchar *const *invalidated_properties) 1065s # { 1065s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1065s # guint n; 1065s # const gchar *key; 1065s # GVariantIter *iter; 1065s # _ExtendedGDBusPropertyInfo *info; 1065s # g_variant_get (changed_properties, "a{sv}", &iter); 1065s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1065s # { 1065s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1065s # g_datalist_remove_data (&proxy->priv->qdata, key); 1065s # if (info != NULL) 1065s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1065s # } 1065s # g_variant_iter_free (iter); 1065s # for (n = 0; invalidated_properties[n] != NULL; n++) 1065s # { 1065s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1065s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1065s # if (info != NULL) 1065s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1065s # } 1065s # } 1065s # 1065s # static void 1065s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1065s # { 1065s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1065s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1065s # #else 1065s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1065s # #endif 1065s # 1065s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1065s # } 1065s # 1065s # static void 1065s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1065s # { 1065s # GObjectClass *gobject_class; 1065s # GDBusProxyClass *proxy_class; 1065s # 1065s # gobject_class = G_OBJECT_CLASS (klass); 1065s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1065s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1065s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1065s # 1065s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1065s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1065s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1065s # 1065s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1065s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1065s # #endif 1065s # } 1065s # 1065s # static void 1065s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1065s # { 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_proxy_new: 1065s # * @connection: A #GDBusConnection. 1065s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1065s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1065s # * @object_path: An object path. 1065s # * @cancellable: (nullable): A #GCancellable or %NULL. 1065s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1065s # * @user_data: User data to pass to @callback. 1065s # * 1065s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1065s # * 1065s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1065s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1065s # * 1065s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1065s # */ 1065s # void 1065s # org_project_useful_interface_proxy_new ( 1065s # GDBusConnection *connection, 1065s # GDBusProxyFlags flags, 1065s # const gchar *name, 1065s # const gchar *object_path, 1065s # GCancellable *cancellable, 1065s # GAsyncReadyCallback callback, 1065s # gpointer user_data) 1065s # { 1065s # g_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); 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_proxy_new_finish: 1065s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1065s # * @error: Return location for error or %NULL 1065s # * 1065s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1065s # * 1065s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1065s # */ 1065s # OrgProjectUsefulInterface * 1065s # org_project_useful_interface_proxy_new_finish ( 1065s # GAsyncResult *res, 1065s # GError **error) 1065s # { 1065s # GObject *ret; 1065s # GObject *source_object; 1065s # source_object = g_async_result_get_source_object (res); 1065s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1065s # g_object_unref (source_object); 1065s # if (ret != NULL) 1065s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1065s # else 1065s # return NULL; 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_proxy_new_sync: 1065s # * @connection: A #GDBusConnection. 1065s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1065s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1065s # * @object_path: An object path. 1065s # * @cancellable: (nullable): A #GCancellable or %NULL. 1065s # * @error: Return location for error or %NULL 1065s # * 1065s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1065s # * 1065s # * The calling thread is blocked until a reply is received. 1065s # * 1065s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1065s # * 1065s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1065s # */ 1065s # OrgProjectUsefulInterface * 1065s # org_project_useful_interface_proxy_new_sync ( 1065s # GDBusConnection *connection, 1065s # GDBusProxyFlags flags, 1065s # const gchar *name, 1065s # const gchar *object_path, 1065s # GCancellable *cancellable, 1065s # GError **error) 1065s # { 1065s # GInitable *ret; 1065s # 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); 1065s # if (ret != NULL) 1065s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1065s # else 1065s # return NULL; 1065s # } 1065s # 1065s # 1065s # /** 1065s # * org_project_useful_interface_proxy_new_for_bus: 1065s # * @bus_type: A #GBusType. 1065s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1065s # * @name: A bus name (well-known or unique). 1065s # * @object_path: An object path. 1065s # * @cancellable: (nullable): A #GCancellable or %NULL. 1065s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1065s # * @user_data: User data to pass to @callback. 1065s # * 1065s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1065s # * 1065s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1065s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1065s # * 1065s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1065s # */ 1065s # void 1065s # org_project_useful_interface_proxy_new_for_bus ( 1065s # GBusType bus_type, 1065s # GDBusProxyFlags flags, 1065s # const gchar *name, 1065s # const gchar *object_path, 1065s # GCancellable *cancellable, 1065s # GAsyncReadyCallback callback, 1065s # gpointer user_data) 1065s # { 1065s # g_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); 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_proxy_new_for_bus_finish: 1065s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1065s # * @error: Return location for error or %NULL 1065s # * 1065s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1065s # * 1065s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1065s # */ 1065s # OrgProjectUsefulInterface * 1065s # org_project_useful_interface_proxy_new_for_bus_finish ( 1065s # GAsyncResult *res, 1065s # GError **error) 1065s # { 1065s # GObject *ret; 1065s # GObject *source_object; 1065s # source_object = g_async_result_get_source_object (res); 1065s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1065s # g_object_unref (source_object); 1065s # if (ret != NULL) 1065s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1065s # else 1065s # return NULL; 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_proxy_new_for_bus_sync: 1065s # * @bus_type: A #GBusType. 1065s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1065s # * @name: A bus name (well-known or unique). 1065s # * @object_path: An object path. 1065s # * @cancellable: (nullable): A #GCancellable or %NULL. 1065s # * @error: Return location for error or %NULL 1065s # * 1065s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1065s # * 1065s # * The calling thread is blocked until a reply is received. 1065s # * 1065s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1065s # * 1065s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1065s # */ 1065s # OrgProjectUsefulInterface * 1065s # org_project_useful_interface_proxy_new_for_bus_sync ( 1065s # GBusType bus_type, 1065s # GDBusProxyFlags flags, 1065s # const gchar *name, 1065s # const gchar *object_path, 1065s # GCancellable *cancellable, 1065s # GError **error) 1065s # { 1065s # GInitable *ret; 1065s # 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); 1065s # if (ret != NULL) 1065s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1065s # else 1065s # return NULL; 1065s # } 1065s # 1065s # 1065s # /* ------------------------------------------------------------------------ */ 1065s # 1065s # /** 1065s # * OrgProjectUsefulInterfaceSkeleton: 1065s # * 1065s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1065s # */ 1065s # 1065s # /** 1065s # * OrgProjectUsefulInterfaceSkeletonClass: 1065s # * @parent_class: The parent class. 1065s # * 1065s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1065s # */ 1065s # 1065s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1065s # { 1065s # GValue *properties; 1065s # GList *changed_properties; 1065s # GSource *changed_properties_idle_source; 1065s # GMainContext *context; 1065s # GMutex lock; 1065s # }; 1065s # 1065s # static void 1065s # _org_project_useful_interface_skeleton_handle_method_call ( 1065s # GDBusConnection *connection G_GNUC_UNUSED, 1065s # const gchar *sender G_GNUC_UNUSED, 1065s # const gchar *object_path G_GNUC_UNUSED, 1065s # const gchar *interface_name, 1065s # const gchar *method_name, 1065s # GVariant *parameters, 1065s # GDBusMethodInvocation *invocation, 1065s # gpointer user_data) 1065s # { 1065s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1065s # _ExtendedGDBusMethodInfo *info; 1065s # GVariantIter iter; 1065s # GVariant *child; 1065s # GValue *paramv; 1065s # gsize num_params; 1065s # guint num_extra; 1065s # gsize n; 1065s # guint signal_id; 1065s # GValue return_value = G_VALUE_INIT; 1065s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1065s # g_assert (info != NULL); 1065s # num_params = g_variant_n_children (parameters); 1065s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1065s # n = 0; 1065s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1065s # g_value_set_object (¶mv[n++], skeleton); 1065s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1065s # g_value_set_object (¶mv[n++], invocation); 1065s # if (info->pass_fdlist) 1065s # { 1065s # #ifdef G_OS_UNIX 1065s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1065s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1065s # #else 1065s # g_assert_not_reached (); 1065s # #endif 1065s # } 1065s # g_variant_iter_init (&iter, parameters); 1065s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1065s # { 1065s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1065s # if (arg_info->use_gvariant) 1065s # { 1065s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1065s # g_value_set_variant (¶mv[n], child); 1065s # n++; 1065s # } 1065s # else 1065s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1065s # g_variant_unref (child); 1065s # } 1065s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1065s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1065s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1065s # if (!g_value_get_boolean (&return_value)) 1065s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1065s # g_value_unset (&return_value); 1065s # for (n = 0; n < num_params + num_extra; n++) 1065s # g_value_unset (¶mv[n]); 1065s # g_free (paramv); 1065s # } 1065s # 1065s # static GVariant * 1065s # _org_project_useful_interface_skeleton_handle_get_property ( 1065s # GDBusConnection *connection G_GNUC_UNUSED, 1065s # const gchar *sender G_GNUC_UNUSED, 1065s # const gchar *object_path G_GNUC_UNUSED, 1065s # const gchar *interface_name G_GNUC_UNUSED, 1065s # const gchar *property_name, 1065s # GError **error, 1065s # gpointer user_data) 1065s # { 1065s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1065s # GValue value = G_VALUE_INIT; 1065s # GParamSpec *pspec; 1065s # _ExtendedGDBusPropertyInfo *info; 1065s # GVariant *ret; 1065s # ret = NULL; 1065s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1065s # g_assert (info != NULL); 1065s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1065s # if (pspec == NULL) 1065s # { 1065s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1065s # } 1065s # else 1065s # { 1065s # g_value_init (&value, pspec->value_type); 1065s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1065s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1065s # g_value_unset (&value); 1065s # } 1065s # return ret; 1065s # } 1065s # 1065s # static gboolean 1065s # _org_project_useful_interface_skeleton_handle_set_property ( 1065s # GDBusConnection *connection G_GNUC_UNUSED, 1065s # const gchar *sender G_GNUC_UNUSED, 1065s # const gchar *object_path G_GNUC_UNUSED, 1065s # const gchar *interface_name G_GNUC_UNUSED, 1065s # const gchar *property_name, 1065s # GVariant *variant, 1065s # GError **error, 1065s # gpointer user_data) 1065s # { 1065s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1065s # GValue value = G_VALUE_INIT; 1065s # GParamSpec *pspec; 1065s # _ExtendedGDBusPropertyInfo *info; 1065s # gboolean ret; 1065s # ret = FALSE; 1065s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1065s # g_assert (info != NULL); 1065s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1065s # if (pspec == NULL) 1065s # { 1065s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1065s # } 1065s # else 1065s # { 1065s # if (info->use_gvariant) 1065s # g_value_set_variant (&value, variant); 1065s # else 1065s # g_dbus_gvariant_to_gvalue (variant, &value); 1065s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1065s # g_value_unset (&value); 1065s # ret = TRUE; 1065s # } 1065s # return ret; 1065s # } 1065s # 1065s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1065s # { 1065s # _org_project_useful_interface_skeleton_handle_method_call, 1065s # _org_project_useful_interface_skeleton_handle_get_property, 1065s # _org_project_useful_interface_skeleton_handle_set_property, 1065s # {NULL} 1065s # }; 1065s # 1065s # static GDBusInterfaceInfo * 1065s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1065s # { 1065s # return org_project_useful_interface_interface_info (); 1065s # } 1065s # 1065s # static GDBusInterfaceVTable * 1065s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1065s # { 1065s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1065s # } 1065s # 1065s # static GVariant * 1065s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1065s # { 1065s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1065s # 1065s # GVariantBuilder builder; 1065s # guint n; 1065s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1065s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1065s # #else 1065s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1065s # #endif 1065s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1065s # goto out; 1065s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1065s # { 1065s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1065s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1065s # { 1065s # GVariant *value; 1065s # 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); 1065s # if (value != NULL) 1065s # { 1065s # g_variant_take_ref (value); 1065s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1065s # g_variant_unref (value); 1065s # } 1065s # } 1065s # } 1065s # out: 1065s # return g_variant_builder_end (&builder); 1065s # } 1065s # 1065s # static void 1065s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1065s # { 1065s # } 1065s # 1065s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1065s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1065s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1065s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1065s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1065s # 1065s # #else 1065s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1065s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1065s # 1065s # #endif 1065s # static void 1065s # org_project_useful_interface_skeleton_finalize (GObject *object) 1065s # { 1065s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1065s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1065s # if (skeleton->priv->changed_properties_idle_source != NULL) 1065s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1065s # g_main_context_unref (skeleton->priv->context); 1065s # g_mutex_clear (&skeleton->priv->lock); 1065s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1065s # } 1065s # 1065s # static void 1065s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1065s # { 1065s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1065s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1065s # #else 1065s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1065s # #endif 1065s # 1065s # g_mutex_init (&skeleton->priv->lock); 1065s # skeleton->priv->context = g_main_context_ref_thread_default (); 1065s # } 1065s # 1065s # static void 1065s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1065s # { 1065s # GObjectClass *gobject_class; 1065s # GDBusInterfaceSkeletonClass *skeleton_class; 1065s # 1065s # gobject_class = G_OBJECT_CLASS (klass); 1065s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1065s # 1065s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1065s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1065s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1065s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1065s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1065s # 1065s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1065s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1065s # #endif 1065s # } 1065s # 1065s # static void 1065s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1065s # { 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_skeleton_new: 1065s # * 1065s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1065s # * 1065s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1065s # */ 1065s # OrgProjectUsefulInterface * 1065s # org_project_useful_interface_skeleton_new (void) 1065s # { 1065s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1065s # } 1065s # Error: 1065s # 1065s # /tmp/tmpq0m_q5r3/tmpgymb1oui.xml: 1065s # 1065s # 1065s # 1065s # 1065s # 1065s # 1065s # 1065s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpgymb1oui.xml', '--output', '-', '--body'] 1065s # Return code: 0 1065s # Output: 1065s # /* 1065s # * This file is generated by gdbus-codegen, do not modify it. 1065s # * 1065s # * The license of this code is the same as for the D-Bus interface description 1065s # * it was derived from. Note that it links to GLib, so must comply with the 1065s # * LGPL linking clauses. 1065s # */ 1065s # 1065s # #ifdef HAVE_CONFIG_H 1065s # # include "config.h" 1065s # #endif 1065s # 1065s # #include 1065s # #ifdef G_OS_UNIX 1065s # # include 1065s # #endif 1065s # 1065s # #ifdef G_ENABLE_DEBUG 1065s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1065s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1065s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1065s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1065s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1065s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1065s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1065s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1065s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1065s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1065s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1065s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1065s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1065s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1065s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1065s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1065s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1065s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1065s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1065s # #else /* !G_ENABLE_DEBUG */ 1065s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1065s # * Do not access GValues directly in your code. Instead, use the 1065s # * g_value_get_*() functions 1065s # */ 1065s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1065s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1065s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1065s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1065s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1065s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1065s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1065s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1065s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1065s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1065s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1065s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1065s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1065s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1065s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1065s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1065s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1065s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1065s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1065s # #endif /* !G_ENABLE_DEBUG */ 1065s # 1065s # typedef struct 1065s # { 1065s # GDBusArgInfo parent_struct; 1065s # gboolean use_gvariant; 1065s # } _ExtendedGDBusArgInfo; 1065s # 1065s # typedef struct 1065s # { 1065s # GDBusMethodInfo parent_struct; 1065s # const gchar *signal_name; 1065s # gboolean pass_fdlist; 1065s # } _ExtendedGDBusMethodInfo; 1065s # 1065s # typedef struct 1065s # { 1065s # GDBusSignalInfo parent_struct; 1065s # const gchar *signal_name; 1065s # } _ExtendedGDBusSignalInfo; 1065s # 1065s # typedef struct 1065s # { 1065s # GDBusPropertyInfo parent_struct; 1065s # const gchar *hyphen_name; 1065s # guint use_gvariant : 1; 1065s # guint emits_changed_signal : 1; 1065s # } _ExtendedGDBusPropertyInfo; 1065s # 1065s # typedef struct 1065s # { 1065s # GDBusInterfaceInfo parent_struct; 1065s # const gchar *hyphen_name; 1065s # } _ExtendedGDBusInterfaceInfo; 1065s # 1065s # typedef struct 1065s # { 1065s # const _ExtendedGDBusPropertyInfo *info; 1065s # guint prop_id; 1065s # GValue orig_value; /* the value before the change */ 1065s # } ChangedProperty; 1065s # 1065s # static void 1065s # _changed_property_free (ChangedProperty *data) 1065s # { 1065s # g_value_unset (&data->orig_value); 1065s # g_free (data); 1065s # } 1065s # 1065s # static gboolean 1065s # _g_strv_equal0 (gchar **a, gchar **b) 1065s # { 1065s # gboolean ret = FALSE; 1065s # guint n; 1065s # if (a == NULL && b == NULL) 1065s # { 1065s # ret = TRUE; 1065s # goto out; 1065s # } 1065s # if (a == NULL || b == NULL) 1065s # goto out; 1065s # if (g_strv_length (a) != g_strv_length (b)) 1065s # goto out; 1065s # for (n = 0; a[n] != NULL; n++) 1065s # if (g_strcmp0 (a[n], b[n]) != 0) 1065s # goto out; 1065s # ret = TRUE; 1065s # out: 1065s # return ret; 1065s # } 1065s # 1065s # static gboolean 1065s # _g_variant_equal0 (GVariant *a, GVariant *b) 1065s # { 1065s # gboolean ret = FALSE; 1065s # if (a == NULL && b == NULL) 1065s # { 1065s # ret = TRUE; 1065s # goto out; 1065s # } 1065s # if (a == NULL || b == NULL) 1065s # goto out; 1065s # ret = g_variant_equal (a, b); 1065s # out: 1065s # return ret; 1065s # } 1065s # 1065s # G_GNUC_UNUSED static gboolean 1065s # _g_value_equal (const GValue *a, const GValue *b) 1065s # { 1065s # gboolean ret = FALSE; 1065s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1065s # switch (G_VALUE_TYPE (a)) 1065s # { 1065s # case G_TYPE_BOOLEAN: 1065s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1065s # break; 1065s # case G_TYPE_UCHAR: 1065s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1065s # break; 1065s # case G_TYPE_INT: 1065s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1065s # break; 1065s # case G_TYPE_UINT: 1065s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1065s # break; 1065s # case G_TYPE_INT64: 1065s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1065s # break; 1065s # case G_TYPE_UINT64: 1065s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1065s # break; 1065s # case G_TYPE_DOUBLE: 1065s # { 1065s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1065s # gdouble da = g_value_get_double (a); 1065s # gdouble db = g_value_get_double (b); 1065s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1065s # } 1065s # break; 1065s # case G_TYPE_STRING: 1065s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1065s # break; 1065s # case G_TYPE_VARIANT: 1065s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1065s # break; 1065s # default: 1065s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1065s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1065s # else 1065s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1065s # break; 1065s # } 1065s # return ret; 1065s # } 1065s # 1065s # static void 1065s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1065s # GClosure *closure, 1065s # GValue *return_value, 1065s # unsigned int n_param_values, 1065s # const GValue *param_values, 1065s # void *invocation_hint G_GNUC_UNUSED, 1065s # void *marshal_data) 1065s # { 1065s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1065s # (void *data1, 1065s # GDBusMethodInvocation *arg_method_invocation, 1065s # guchar arg_arg_y, 1065s # void *data2); 1065s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1065s # GCClosure *cc = (GCClosure*) closure; 1065s # void *data1, *data2; 1065s # gboolean v_return; 1065s # 1065s # g_return_if_fail (return_value != NULL); 1065s # g_return_if_fail (n_param_values == 3); 1065s # 1065s # if (G_CCLOSURE_SWAP_DATA (closure)) 1065s # { 1065s # data1 = closure->data; 1065s # data2 = g_value_peek_pointer (param_values + 0); 1065s # } 1065s # else 1065s # { 1065s # data1 = g_value_peek_pointer (param_values + 0); 1065s # data2 = closure->data; 1065s # } 1065s # 1065s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1065s # (marshal_data ? marshal_data : cc->callback); 1065s # 1065s # v_return = 1065s # callback (data1, 1065s # g_marshal_value_peek_object (param_values + 1), 1065s # g_marshal_value_peek_uchar (param_values + 2), 1065s # data2); 1065s # 1065s # g_value_set_boolean (return_value, v_return); 1065s # } 1065s # 1065s # /* ------------------------------------------------------------------------ 1065s # * Code for interface org.project.UsefulInterface 1065s # * ------------------------------------------------------------------------ 1065s # */ 1065s # 1065s # /** 1065s # * SECTION:OrgProjectUsefulInterface 1065s # * @title: OrgProjectUsefulInterface 1065s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1065s # * 1065s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1065s # */ 1065s # 1065s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1065s # 1065s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1065s # { 1065s # { 1065s # -1, 1065s # (gchar *) "arg_y", 1065s # (gchar *) "y", 1065s # NULL 1065s # }, 1065s # FALSE 1065s # }; 1065s # 1065s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1065s # { 1065s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1065s # NULL 1065s # }; 1065s # 1065s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1065s # { 1065s # { 1065s # -1, 1065s # (gchar *) "SingleArgMethodY", 1065s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1065s # NULL, 1065s # NULL 1065s # }, 1065s # "handle-single-arg-method-y", 1065s # FALSE 1065s # }; 1065s # 1065s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1065s # { 1065s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1065s # NULL 1065s # }; 1065s # 1065s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1065s # { 1065s # { 1065s # -1, 1065s # (gchar *) "org.project.UsefulInterface", 1065s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1065s # NULL, 1065s # NULL, 1065s # NULL 1065s # }, 1065s # "org-project-useful-interface", 1065s # }; 1065s # 1065s # 1065s # /** 1065s # * org_project_useful_interface_interface_info: 1065s # * 1065s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1065s # * 1065s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1065s # */ 1065s # GDBusInterfaceInfo * 1065s # org_project_useful_interface_interface_info (void) 1065s # { 1065s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_override_properties: 1065s # * @klass: The class structure for a #GObject derived class. 1065s # * @property_id_begin: The property id to assign to the first overridden property. 1065s # * 1065s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1065s # * The properties are overridden in the order they are defined. 1065s # * 1065s # * Returns: The last property id. 1065s # */ 1065s # guint 1065s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1065s # { 1065s # return property_id_begin - 1; 1065s # } 1065s # 1065s # 1065s # inline static void 1065s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1065s # GClosure *closure, 1065s # GValue *return_value, 1065s # unsigned int n_param_values, 1065s # const GValue *param_values, 1065s # void *invocation_hint, 1065s # void *marshal_data) 1065s # { 1065s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1065s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1065s # } 1065s # 1065s # 1065s # /** 1065s # * OrgProjectUsefulInterface: 1065s # * 1065s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1065s # */ 1065s # 1065s # /** 1065s # * OrgProjectUsefulInterfaceIface: 1065s # * @parent_iface: The parent interface. 1065s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1065s # * 1065s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1065s # */ 1065s # 1065s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1065s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1065s # 1065s # static void 1065s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1065s # { 1065s # /* GObject signals for incoming D-Bus method calls: */ 1065s # /** 1065s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1065s # * @object: A #OrgProjectUsefulInterface. 1065s # * @invocation: A #GDBusMethodInvocation. 1065s # * @arg_arg_y: Argument passed by remote caller. 1065s # * 1065s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1065s # * 1065s # * If 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. 1065s # * 1065s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1065s # */ 1065s # g_signal_new ("handle-single-arg-method-y", 1065s # G_TYPE_FROM_INTERFACE (iface), 1065s # G_SIGNAL_RUN_LAST, 1065s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1065s # g_signal_accumulator_true_handled, 1065s # NULL, 1065s # org_project_useful_interface_method_marshal_single_arg_method_y, 1065s # G_TYPE_BOOLEAN, 1065s # 2, 1065s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1065s # 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_call_single_arg_method_y: 1065s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1065s # * @arg_arg_y: Argument to pass with the method invocation. 1065s # * @cancellable: (nullable): A #GCancellable or %NULL. 1065s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1065s # * @user_data: User data to pass to @callback. 1065s # * 1065s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1065s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1065s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1065s # * 1065s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1065s # */ 1065s # void 1065s # org_project_useful_interface_call_single_arg_method_y ( 1065s # OrgProjectUsefulInterface *proxy, 1065s # guchar arg_arg_y, 1065s # GCancellable *cancellable, 1065s # GAsyncReadyCallback callback, 1065s # gpointer user_data) 1065s # { 1065s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1065s # "SingleArgMethodY", 1065s # g_variant_new ("(y)", 1065s # arg_arg_y), 1065s # G_DBUS_CALL_FLAGS_NONE, 1065s # -1, 1065s # cancellable, 1065s # callback, 1065s # user_data); 1065s # } 1065s # 1065s # /** 1065s # * org_project_useful_interface_call_single_arg_method_y_finish: 1065s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1065s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1065s # * @error: Return location for error or %NULL. 1065s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_y_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_y_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_y: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_y_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # guchar arg_arg_y, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodY", 1066s # g_variant_new ("(y)", 1066s # arg_arg_y), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_y: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_y ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmpr66er9vz.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpr66er9vz.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # gint16 arg_arg_n, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_int (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_n", 1066s # (gchar *) "n", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodN", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-n", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_n: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-n", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_n, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_n: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_n: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_n ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # gint16 arg_arg_n, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodN", 1066s # g_variant_new ("(n)", 1066s # arg_arg_n), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_n_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_n_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_n_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_n: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_n_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # gint16 arg_arg_n, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodN", 1066s # g_variant_new ("(n)", 1066s # arg_arg_n), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_n: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_n ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmpl36y9_q0.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpl36y9_q0.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # guint16 arg_arg_q, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_uint (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_q", 1066s # (gchar *) "q", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodQ", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-q", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_q: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-q", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_q, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_q: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_q: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_q ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # guint16 arg_arg_q, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodQ", 1066s # g_variant_new ("(q)", 1066s # arg_arg_q), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_q_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_q_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_q_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_q: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_q_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # guint16 arg_arg_q, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodQ", 1066s # g_variant_new ("(q)", 1066s # arg_arg_q), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_q: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_q ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmpyorwf6wo.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpyorwf6wo.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # gint arg_arg_i, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_int (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_i", 1066s # (gchar *) "i", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodI", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-i", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_i: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-i", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_i, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_i: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_i: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_i ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # gint arg_arg_i, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodI", 1066s # g_variant_new ("(i)", 1066s # arg_arg_i), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_i_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_i_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_i_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_i: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_i_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # gint arg_arg_i, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodI", 1066s # g_variant_new ("(i)", 1066s # arg_arg_i), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_i: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_i ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmp0_jmvqeo.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmp0_jmvqeo.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # guint arg_arg_u, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_uint (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_u", 1066s # (gchar *) "u", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodU", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-u", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_u: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-u", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_u, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_u: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_u: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_u ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # guint arg_arg_u, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodU", 1066s # g_variant_new ("(u)", 1066s # arg_arg_u), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_u_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_u_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_u_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_u: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_u_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # guint arg_arg_u, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodU", 1066s # g_variant_new ("(u)", 1066s # arg_arg_u), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_u: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_u ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmpe3ml6les.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpe3ml6les.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # gint64 arg_arg_x, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_int64 (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_x", 1066s # (gchar *) "x", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodX", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-x", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_x: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-x", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_x, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_x: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_x: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_x ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # gint64 arg_arg_x, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodX", 1066s # g_variant_new ("(x)", 1066s # arg_arg_x), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_x_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_x_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_x_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_x: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_x_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # gint64 arg_arg_x, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodX", 1066s # g_variant_new ("(x)", 1066s # arg_arg_x), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_x: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_x ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmpuehyg30_.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpuehyg30_.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # guint64 arg_arg_t, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_uint64 (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_t", 1066s # (gchar *) "t", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodT", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-t", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_t: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-t", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_t, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_t: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_t: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_t ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # guint64 arg_arg_t, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodT", 1066s # g_variant_new ("(t)", 1066s # arg_arg_t), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_t_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_t_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_t_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_t: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_t_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # guint64 arg_arg_t, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodT", 1066s # g_variant_new ("(t)", 1066s # arg_arg_t), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_t: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_t ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmpwy4cwg1j.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpwy4cwg1j.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # gdouble arg_arg_d, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_double (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_d", 1066s # (gchar *) "d", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodD", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-d", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_d: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-d", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_d, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_d: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_d: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_d ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # gdouble arg_arg_d, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodD", 1066s # g_variant_new ("(d)", 1066s # arg_arg_d), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_d_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_d_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_d_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_d: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_d_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # gdouble arg_arg_d, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodD", 1066s # g_variant_new ("(d)", 1066s # arg_arg_d), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_d: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_d ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmpvkedk5ad.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpvkedk5ad.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # const gchar *arg_arg_s, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_string (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_s", 1066s # (gchar *) "s", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodS", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-s", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_s: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-s", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_s, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_s: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_s: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_s ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *arg_arg_s, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodS", 1066s # g_variant_new ("(s)", 1066s # arg_arg_s), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_s_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_s_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_s_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_s: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_s_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *arg_arg_s, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodS", 1066s # g_variant_new ("(s)", 1066s # arg_arg_s), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_s: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_s ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmp76y65wqx.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmp76y65wqx.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # const gchar *arg_arg_o, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_string (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_o", 1066s # (gchar *) "o", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodO", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-o", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_o: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-o", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_o, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_o: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_o: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_o ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *arg_arg_o, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodO", 1066s # g_variant_new ("(o)", 1066s # arg_arg_o), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_o_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_o_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_o_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_o: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_o_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *arg_arg_o, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodO", 1066s # g_variant_new ("(o)", 1066s # arg_arg_o), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_o: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_o ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmpckphqucc.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpckphqucc.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # const gchar *arg_arg_g, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_string (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_g", 1066s # (gchar *) "g", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodG", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-g", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_g: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-g", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_g, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_g: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_g: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_g ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *arg_arg_g, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodG", 1066s # g_variant_new ("(g)", 1066s # arg_arg_g), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_g_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_g_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_g_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_g: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_g_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *arg_arg_g, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodG", 1066s # g_variant_new ("(g)", 1066s # arg_arg_g), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_g: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_g ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmpt0m2ue_3.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpt0m2ue_3.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # GVariant *arg_arg_h, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_variant (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_h", 1066s # (gchar *) "h", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodH", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-h", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_h: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-h", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_h, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_h: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_h: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_h ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GVariant *arg_arg_h, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodH", 1066s # g_variant_new ("(@h)", 1066s # arg_arg_h), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_h_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_h_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_h_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_h: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_h_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GVariant *arg_arg_h, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodH", 1066s # g_variant_new ("(@h)", 1066s # arg_arg_h), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_h: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_h ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmp0u_fy033.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmp0u_fy033.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # const gchar *arg_arg_ay, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_string (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_ay", 1066s # (gchar *) "ay", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodAy", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-ay", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_ay: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-ay", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_ay: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_ay: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_ay ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *arg_arg_ay, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodAy", 1066s # g_variant_new ("(^ay)", 1066s # arg_arg_ay), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_ay: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *arg_arg_ay, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodAy", 1066s # g_variant_new ("(^ay)", 1066s # arg_arg_ay), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_ay: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_ay ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmpjfh_9yvg.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpjfh_9yvg.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # const gchar *const *arg_arg_as, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_boxed (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_as", 1066s # (gchar *) "as", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodAs", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-as", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_as: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-as", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_as, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_as: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_as: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_as ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *const *arg_arg_as, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodAs", 1066s # g_variant_new ("(^as)", 1066s # arg_arg_as), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_as_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_as_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_as_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_as: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_as_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *const *arg_arg_as, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodAs", 1066s # g_variant_new ("(^as)", 1066s # arg_arg_as), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_as: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_as ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmpj946uh0b.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpj946uh0b.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # const gchar *const *arg_arg_ao, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_boxed (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_ao", 1066s # (gchar *) "ao", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodAo", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-ao", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_ao: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-ao", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_ao: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_ao: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_ao ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *const *arg_arg_ao, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodAo", 1066s # g_variant_new ("(^ao)", 1066s # arg_arg_ao), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_ao: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *const *arg_arg_ao, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodAo", 1066s # g_variant_new ("(^ao)", 1066s # arg_arg_ao), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_ao: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_ao ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmpvwkc6hhk.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpvwkc6hhk.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # const gchar *const *arg_arg_aay, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_boxed (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_aay", 1066s # (gchar *) "aay", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodAay", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-aay", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_aay: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-aay", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_aay: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_aay: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_aay ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *const *arg_arg_aay, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodAay", 1066s # g_variant_new ("(^aay)", 1066s # arg_arg_aay), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_aay: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # const gchar *const *arg_arg_aay, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodAay", 1066s # g_variant_new ("(^aay)", 1066s # arg_arg_aay), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_aay: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_aay ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1066s # 1066s # /tmp/tmpq0m_q5r3/tmpqjnbu9b6.xml: 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # 1066s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0m_q5r3/tmpqjnbu9b6.xml', '--output', '-', '--body'] 1066s # Return code: 0 1066s # Output: 1066s # /* 1066s # * This file is generated by gdbus-codegen, do not modify it. 1066s # * 1066s # * The license of this code is the same as for the D-Bus interface description 1066s # * it was derived from. Note that it links to GLib, so must comply with the 1066s # * LGPL linking clauses. 1066s # */ 1066s # 1066s # #ifdef HAVE_CONFIG_H 1066s # # include "config.h" 1066s # #endif 1066s # 1066s # #include 1066s # #ifdef G_OS_UNIX 1066s # # include 1066s # #endif 1066s # 1066s # #ifdef G_ENABLE_DEBUG 1066s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1066s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1066s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1066s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1066s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1066s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1066s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1066s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1066s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1066s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1066s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1066s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1066s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1066s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1066s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1066s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1066s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1066s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1066s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1066s # #else /* !G_ENABLE_DEBUG */ 1066s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1066s # * Do not access GValues directly in your code. Instead, use the 1066s # * g_value_get_*() functions 1066s # */ 1066s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1066s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1066s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1066s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1066s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1066s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1066s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1066s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1066s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1066s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1066s # #endif /* !G_ENABLE_DEBUG */ 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusArgInfo parent_struct; 1066s # gboolean use_gvariant; 1066s # } _ExtendedGDBusArgInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusMethodInfo parent_struct; 1066s # const gchar *signal_name; 1066s # gboolean pass_fdlist; 1066s # } _ExtendedGDBusMethodInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusSignalInfo parent_struct; 1066s # const gchar *signal_name; 1066s # } _ExtendedGDBusSignalInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusPropertyInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # guint use_gvariant : 1; 1066s # guint emits_changed_signal : 1; 1066s # } _ExtendedGDBusPropertyInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # GDBusInterfaceInfo parent_struct; 1066s # const gchar *hyphen_name; 1066s # } _ExtendedGDBusInterfaceInfo; 1066s # 1066s # typedef struct 1066s # { 1066s # const _ExtendedGDBusPropertyInfo *info; 1066s # guint prop_id; 1066s # GValue orig_value; /* the value before the change */ 1066s # } ChangedProperty; 1066s # 1066s # static void 1066s # _changed_property_free (ChangedProperty *data) 1066s # { 1066s # g_value_unset (&data->orig_value); 1066s # g_free (data); 1066s # } 1066s # 1066s # static gboolean 1066s # _g_strv_equal0 (gchar **a, gchar **b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # guint n; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # if (g_strv_length (a) != g_strv_length (b)) 1066s # goto out; 1066s # for (n = 0; a[n] != NULL; n++) 1066s # if (g_strcmp0 (a[n], b[n]) != 0) 1066s # goto out; 1066s # ret = TRUE; 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _g_variant_equal0 (GVariant *a, GVariant *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # if (a == NULL && b == NULL) 1066s # { 1066s # ret = TRUE; 1066s # goto out; 1066s # } 1066s # if (a == NULL || b == NULL) 1066s # goto out; 1066s # ret = g_variant_equal (a, b); 1066s # out: 1066s # return ret; 1066s # } 1066s # 1066s # G_GNUC_UNUSED static gboolean 1066s # _g_value_equal (const GValue *a, const GValue *b) 1066s # { 1066s # gboolean ret = FALSE; 1066s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1066s # switch (G_VALUE_TYPE (a)) 1066s # { 1066s # case G_TYPE_BOOLEAN: 1066s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1066s # break; 1066s # case G_TYPE_UCHAR: 1066s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1066s # break; 1066s # case G_TYPE_INT: 1066s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1066s # break; 1066s # case G_TYPE_UINT: 1066s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1066s # break; 1066s # case G_TYPE_INT64: 1066s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1066s # break; 1066s # case G_TYPE_UINT64: 1066s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1066s # break; 1066s # case G_TYPE_DOUBLE: 1066s # { 1066s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1066s # gdouble da = g_value_get_double (a); 1066s # gdouble db = g_value_get_double (b); 1066s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1066s # } 1066s # break; 1066s # case G_TYPE_STRING: 1066s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1066s # break; 1066s # case G_TYPE_VARIANT: 1066s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1066s # break; 1066s # default: 1066s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1066s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1066s # else 1066s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1066s # break; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static void 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint G_GNUC_UNUSED, 1066s # void *marshal_data) 1066s # { 1066s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1066s # (void *data1, 1066s # GDBusMethodInvocation *arg_method_invocation, 1066s # GVariant *arg_arg_asv, 1066s # void *data2); 1066s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1066s # GCClosure *cc = (GCClosure*) closure; 1066s # void *data1, *data2; 1066s # gboolean v_return; 1066s # 1066s # g_return_if_fail (return_value != NULL); 1066s # g_return_if_fail (n_param_values == 3); 1066s # 1066s # if (G_CCLOSURE_SWAP_DATA (closure)) 1066s # { 1066s # data1 = closure->data; 1066s # data2 = g_value_peek_pointer (param_values + 0); 1066s # } 1066s # else 1066s # { 1066s # data1 = g_value_peek_pointer (param_values + 0); 1066s # data2 = closure->data; 1066s # } 1066s # 1066s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1066s # (marshal_data ? marshal_data : cc->callback); 1066s # 1066s # v_return = 1066s # callback (data1, 1066s # g_marshal_value_peek_object (param_values + 1), 1066s # g_marshal_value_peek_variant (param_values + 2), 1066s # data2); 1066s # 1066s # g_value_set_boolean (return_value, v_return); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ 1066s # * Code for interface org.project.UsefulInterface 1066s # * ------------------------------------------------------------------------ 1066s # */ 1066s # 1066s # /** 1066s # * SECTION:OrgProjectUsefulInterface 1066s # * @title: OrgProjectUsefulInterface 1066s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1066s # * 1066s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1066s # */ 1066s # 1066s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1066s # 1066s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "arg_asv", 1066s # (gchar *) "a{sv}", 1066s # NULL 1066s # }, 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "SingleArgMethodAsv", 1066s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "handle-single-arg-method-asv", 1066s # FALSE 1066s # }; 1066s # 1066s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1066s # { 1066s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1066s # NULL 1066s # }; 1066s # 1066s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1066s # { 1066s # { 1066s # -1, 1066s # (gchar *) "org.project.UsefulInterface", 1066s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1066s # NULL, 1066s # NULL, 1066s # NULL 1066s # }, 1066s # "org-project-useful-interface", 1066s # }; 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_interface_info: 1066s # * 1066s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1066s # * 1066s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1066s # */ 1066s # GDBusInterfaceInfo * 1066s # org_project_useful_interface_interface_info (void) 1066s # { 1066s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_override_properties: 1066s # * @klass: The class structure for a #GObject derived class. 1066s # * @property_id_begin: The property id to assign to the first overridden property. 1066s # * 1066s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1066s # * The properties are overridden in the order they are defined. 1066s # * 1066s # * Returns: The last property id. 1066s # */ 1066s # guint 1066s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1066s # { 1066s # return property_id_begin - 1; 1066s # } 1066s # 1066s # 1066s # inline static void 1066s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1066s # GClosure *closure, 1066s # GValue *return_value, 1066s # unsigned int n_param_values, 1066s # const GValue *param_values, 1066s # void *invocation_hint, 1066s # void *marshal_data) 1066s # { 1066s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1066s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1066s # } 1066s # 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterface: 1066s # * 1066s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceIface: 1066s # * @parent_iface: The parent interface. 1066s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1066s # * 1066s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1066s # */ 1066s # 1066s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1066s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1066s # 1066s # static void 1066s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1066s # { 1066s # /* GObject signals for incoming D-Bus method calls: */ 1066s # /** 1066s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: A #GDBusMethodInvocation. 1066s # * @arg_arg_asv: Argument passed by remote caller. 1066s # * 1066s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1066s # * 1066s # * If 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. 1066s # * 1066s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1066s # */ 1066s # g_signal_new ("handle-single-arg-method-asv", 1066s # G_TYPE_FROM_INTERFACE (iface), 1066s # G_SIGNAL_RUN_LAST, 1066s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1066s # g_signal_accumulator_true_handled, 1066s # NULL, 1066s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1066s # G_TYPE_BOOLEAN, 1066s # 2, 1066s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1066s # 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_asv: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_asv: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1066s # */ 1066s # void 1066s # org_project_useful_interface_call_single_arg_method_asv ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GVariant *arg_arg_asv, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodAsv", 1066s # g_variant_new ("(@a{sv})", 1066s # arg_arg_asv), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # callback, 1066s # user_data); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1066s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1066s # * @arg_arg_asv: Argument to pass with the method invocation. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL. 1066s # * 1066s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1066s # * 1066s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1066s # */ 1066s # gboolean 1066s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1066s # OrgProjectUsefulInterface *proxy, 1066s # GVariant *arg_arg_asv, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GVariant *_ret; 1066s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1066s # "SingleArgMethodAsv", 1066s # g_variant_new ("(@a{sv})", 1066s # arg_arg_asv), 1066s # G_DBUS_CALL_FLAGS_NONE, 1066s # -1, 1066s # cancellable, 1066s # error); 1066s # if (_ret == NULL) 1066s # goto _out; 1066s # g_variant_get (_ret, 1066s # "()"); 1066s # g_variant_unref (_ret); 1066s # _out: 1066s # return _ret != NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_complete_single_arg_method_asv: 1066s # * @object: A #OrgProjectUsefulInterface. 1066s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1066s # * 1066s # * 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. 1066s # * 1066s # * This method will free @invocation, you cannot use it afterwards. 1066s # */ 1066s # void 1066s # org_project_useful_interface_complete_single_arg_method_asv ( 1066s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1066s # GDBusMethodInvocation *invocation) 1066s # { 1066s # g_dbus_method_invocation_return_value (invocation, 1066s # g_variant_new ("()")); 1066s # } 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxy: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceProxyClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceProxyPrivate 1066s # { 1066s # GData *qdata; 1066s # }; 1066s # 1066s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_proxy_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1066s # g_datalist_clear (&proxy->priv->qdata); 1066s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1066s # guint prop_id G_GNUC_UNUSED, 1066s # const GValue *value G_GNUC_UNUSED, 1066s # GParamSpec *pspec G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1066s # const gchar *sender_name G_GNUC_UNUSED, 1066s # const gchar *signal_name, 1066s # GVariant *parameters) 1066s # { 1066s # _ExtendedGDBusSignalInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # gsize n; 1066s # guint signal_id; 1066s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1066s # if (info == NULL) 1066s # return; 1066s # num_params = g_variant_n_children (parameters); 1066s # paramv = g_new0 (GValue, num_params + 1); 1066s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[0], proxy); 1066s # g_variant_iter_init (&iter, parameters); 1066s # n = 1; 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_signal_emitv (paramv, signal_id, 0, NULL); 1066s # for (n = 0; n < num_params + 1; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1066s # GVariant *changed_properties, 1066s # const gchar *const *invalidated_properties) 1066s # { 1066s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1066s # guint n; 1066s # const gchar *key; 1066s # GVariantIter *iter; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # g_variant_get (changed_properties, "a{sv}", &iter); 1066s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1066s # g_datalist_remove_data (&proxy->priv->qdata, key); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # g_variant_iter_free (iter); 1066s # for (n = 0; invalidated_properties[n] != NULL; n++) 1066s # { 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1066s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1066s # if (info != NULL) 1066s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1066s # } 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1066s # #else 1066s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1066s # #endif 1066s # 1066s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusProxyClass *proxy_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1066s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1066s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1066s # 1066s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1066s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1066s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_sync: 1066s # * @connection: A #GDBusConnection. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_sync ( 1066s # GDBusConnection *connection, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1066s # * @user_data: User data to pass to @callback. 1066s # * 1066s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1066s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1066s # */ 1066s # void 1066s # org_project_useful_interface_proxy_new_for_bus ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GAsyncReadyCallback callback, 1066s # gpointer user_data) 1066s # { 1066s # g_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); 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_finish: 1066s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_finish ( 1066s # GAsyncResult *res, 1066s # GError **error) 1066s # { 1066s # GObject *ret; 1066s # GObject *source_object; 1066s # source_object = g_async_result_get_source_object (res); 1066s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1066s # g_object_unref (source_object); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_proxy_new_for_bus_sync: 1066s # * @bus_type: A #GBusType. 1066s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1066s # * @name: A bus name (well-known or unique). 1066s # * @object_path: An object path. 1066s # * @cancellable: (nullable): A #GCancellable or %NULL. 1066s # * @error: Return location for error or %NULL 1066s # * 1066s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1066s # * 1066s # * The calling thread is blocked until a reply is received. 1066s # * 1066s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_proxy_new_for_bus_sync ( 1066s # GBusType bus_type, 1066s # GDBusProxyFlags flags, 1066s # const gchar *name, 1066s # const gchar *object_path, 1066s # GCancellable *cancellable, 1066s # GError **error) 1066s # { 1066s # GInitable *ret; 1066s # 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); 1066s # if (ret != NULL) 1066s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1066s # else 1066s # return NULL; 1066s # } 1066s # 1066s # 1066s # /* ------------------------------------------------------------------------ */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeleton: 1066s # * 1066s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1066s # */ 1066s # 1066s # /** 1066s # * OrgProjectUsefulInterfaceSkeletonClass: 1066s # * @parent_class: The parent class. 1066s # * 1066s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1066s # */ 1066s # 1066s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1066s # { 1066s # GValue *properties; 1066s # GList *changed_properties; 1066s # GSource *changed_properties_idle_source; 1066s # GMainContext *context; 1066s # GMutex lock; 1066s # }; 1066s # 1066s # static void 1066s # _org_project_useful_interface_skeleton_handle_method_call ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name, 1066s # const gchar *method_name, 1066s # GVariant *parameters, 1066s # GDBusMethodInvocation *invocation, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # _ExtendedGDBusMethodInfo *info; 1066s # GVariantIter iter; 1066s # GVariant *child; 1066s # GValue *paramv; 1066s # gsize num_params; 1066s # guint num_extra; 1066s # gsize n; 1066s # guint signal_id; 1066s # GValue return_value = G_VALUE_INIT; 1066s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1066s # g_assert (info != NULL); 1066s # num_params = g_variant_n_children (parameters); 1066s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1066s # n = 0; 1066s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_set_object (¶mv[n++], skeleton); 1066s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1066s # g_value_set_object (¶mv[n++], invocation); 1066s # if (info->pass_fdlist) 1066s # { 1066s # #ifdef G_OS_UNIX 1066s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1066s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1066s # #else 1066s # g_assert_not_reached (); 1066s # #endif 1066s # } 1066s # g_variant_iter_init (&iter, parameters); 1066s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1066s # { 1066s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1066s # if (arg_info->use_gvariant) 1066s # { 1066s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1066s # g_value_set_variant (¶mv[n], child); 1066s # n++; 1066s # } 1066s # else 1066s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1066s # g_variant_unref (child); 1066s # } 1066s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1066s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1066s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1066s # if (!g_value_get_boolean (&return_value)) 1066s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1066s # g_value_unset (&return_value); 1066s # for (n = 0; n < num_params + num_extra; n++) 1066s # g_value_unset (¶mv[n]); 1066s # g_free (paramv); 1066s # } 1066s # 1066s # static GVariant * 1066s # _org_project_useful_interface_skeleton_handle_get_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # GVariant *ret; 1066s # ret = NULL; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # g_value_init (&value, pspec->value_type); 1066s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1066s # g_value_unset (&value); 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static gboolean 1066s # _org_project_useful_interface_skeleton_handle_set_property ( 1066s # GDBusConnection *connection G_GNUC_UNUSED, 1066s # const gchar *sender G_GNUC_UNUSED, 1066s # const gchar *object_path G_GNUC_UNUSED, 1066s # const gchar *interface_name G_GNUC_UNUSED, 1066s # const gchar *property_name, 1066s # GVariant *variant, 1066s # GError **error, 1066s # gpointer user_data) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1066s # GValue value = G_VALUE_INIT; 1066s # GParamSpec *pspec; 1066s # _ExtendedGDBusPropertyInfo *info; 1066s # gboolean ret; 1066s # ret = FALSE; 1066s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1066s # g_assert (info != NULL); 1066s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1066s # if (pspec == NULL) 1066s # { 1066s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1066s # } 1066s # else 1066s # { 1066s # if (info->use_gvariant) 1066s # g_value_set_variant (&value, variant); 1066s # else 1066s # g_dbus_gvariant_to_gvalue (variant, &value); 1066s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1066s # g_value_unset (&value); 1066s # ret = TRUE; 1066s # } 1066s # return ret; 1066s # } 1066s # 1066s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1066s # { 1066s # _org_project_useful_interface_skeleton_handle_method_call, 1066s # _org_project_useful_interface_skeleton_handle_get_property, 1066s # _org_project_useful_interface_skeleton_handle_set_property, 1066s # {NULL} 1066s # }; 1066s # 1066s # static GDBusInterfaceInfo * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return org_project_useful_interface_interface_info (); 1066s # } 1066s # 1066s # static GDBusInterfaceVTable * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1066s # { 1066s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1066s # } 1066s # 1066s # static GVariant * 1066s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1066s # 1066s # GVariantBuilder builder; 1066s # guint n; 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1066s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #else 1066s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1066s # #endif 1066s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1066s # goto out; 1066s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1066s # { 1066s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1066s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1066s # { 1066s # GVariant *value; 1066s # 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); 1066s # if (value != NULL) 1066s # { 1066s # g_variant_take_ref (value); 1066s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1066s # g_variant_unref (value); 1066s # } 1066s # } 1066s # } 1066s # out: 1066s # return g_variant_builder_end (&builder); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #else 1066s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1066s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1066s # 1066s # #endif 1066s # static void 1066s # org_project_useful_interface_skeleton_finalize (GObject *object) 1066s # { 1066s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1066s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1066s # if (skeleton->priv->changed_properties_idle_source != NULL) 1066s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1066s # g_main_context_unref (skeleton->priv->context); 1066s # g_mutex_clear (&skeleton->priv->lock); 1066s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1066s # { 1066s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1066s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1066s # #else 1066s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1066s # #endif 1066s # 1066s # g_mutex_init (&skeleton->priv->lock); 1066s # skeleton->priv->context = g_main_context_ref_thread_default (); 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1066s # { 1066s # GObjectClass *gobject_class; 1066s # GDBusInterfaceSkeletonClass *skeleton_class; 1066s # 1066s # gobject_class = G_OBJECT_CLASS (klass); 1066s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1066s # 1066s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1066s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1066s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1066s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1066s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1066s # 1066s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1066s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1066s # #endif 1066s # } 1066s # 1066s # static void 1066s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1066s # { 1066s # } 1066s # 1066s # /** 1066s # * org_project_useful_interface_skeleton_new: 1066s # * 1066s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1066s # * 1066s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1066s # */ 1066s # OrgProjectUsefulInterface * 1066s # org_project_useful_interface_skeleton_new (void) 1066s # { 1066s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1066s # } 1066s # Error: 1067s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1067s # gdbus-codegen: /usr/bin/gdbus-codegen 1067s # tmpdir: /tmp/tmps9hb28wy 1067s # /tmp/tmps9hb28wy/tmpkz0l6c6r.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmpkz0l6c6r.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_b", 1067s # (gchar *) "b", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodB", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-b", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-b", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_b, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_b: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_b ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodB", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_b_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_b_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gboolean *out_arg_b, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(b)", 1067s # out_arg_b); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_b_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_b_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gboolean *out_arg_b, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodB", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(b)", 1067s # out_arg_b); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_b: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_b: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_b ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # gboolean arg_b) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(b)", 1067s # arg_b)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmpiea3uiys.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmpiea3uiys.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_y", 1067s # (gchar *) "y", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodY", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-y", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-y", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_y, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_y: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_y ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodY", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_y_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_y_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # guchar *out_arg_y, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(y)", 1067s # out_arg_y); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_y_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_y_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # guchar *out_arg_y, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodY", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(y)", 1067s # out_arg_y); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_y: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_y: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_y ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # guchar arg_y) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(y)", 1067s # arg_y)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmpv83324sd.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmpv83324sd.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_n", 1067s # (gchar *) "n", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodN", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-n", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-n", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_n, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_n: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_n ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodN", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_n_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_n_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gint16 *out_arg_n, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(n)", 1067s # out_arg_n); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_n_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_n_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gint16 *out_arg_n, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodN", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(n)", 1067s # out_arg_n); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_n: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_n: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_n ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # gint16 arg_n) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(n)", 1067s # arg_n)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmpyvaqb8ih.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmpyvaqb8ih.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_q", 1067s # (gchar *) "q", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodQ", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-q", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-q", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_q, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_q: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_q ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodQ", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_q_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_q_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # guint16 *out_arg_q, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(q)", 1067s # out_arg_q); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_q_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_q_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # guint16 *out_arg_q, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodQ", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(q)", 1067s # out_arg_q); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_q: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_q: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_q ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # guint16 arg_q) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(q)", 1067s # arg_q)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmpad1to4re.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmpad1to4re.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_i", 1067s # (gchar *) "i", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodI", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-i", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-i", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_i, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_i: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_i ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodI", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_i_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_i_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gint *out_arg_i, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(i)", 1067s # out_arg_i); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_i_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_i_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gint *out_arg_i, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodI", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(i)", 1067s # out_arg_i); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_i: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_i: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_i ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # gint arg_i) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(i)", 1067s # arg_i)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmpzs2wy8o7.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmpzs2wy8o7.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_u", 1067s # (gchar *) "u", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodU", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-u", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-u", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_u, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_u: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_u ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodU", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_u_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_u_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # guint *out_arg_u, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(u)", 1067s # out_arg_u); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_u_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_u_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # guint *out_arg_u, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodU", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(u)", 1067s # out_arg_u); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_u: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_u: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_u ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # guint arg_u) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(u)", 1067s # arg_u)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmpe7oyuvol.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmpe7oyuvol.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_x", 1067s # (gchar *) "x", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodX", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-x", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-x", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_x, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_x: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_x ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodX", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_x_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_x_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gint64 *out_arg_x, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(x)", 1067s # out_arg_x); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_x_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_x_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gint64 *out_arg_x, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodX", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(x)", 1067s # out_arg_x); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_x: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_x: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_x ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # gint64 arg_x) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(x)", 1067s # arg_x)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmp4blu_4lj.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmp4blu_4lj.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_t", 1067s # (gchar *) "t", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodT", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-t", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-t", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_t, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_t: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_t ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodT", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_t_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_t_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # guint64 *out_arg_t, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(t)", 1067s # out_arg_t); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_t_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_t_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # guint64 *out_arg_t, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodT", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(t)", 1067s # out_arg_t); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_t: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_t: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_t ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # guint64 arg_t) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(t)", 1067s # arg_t)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmpdpr20jdp.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmpdpr20jdp.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_d", 1067s # (gchar *) "d", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodD", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-d", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-d", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_d, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_d: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_d ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodD", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_d_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_d_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gdouble *out_arg_d, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(d)", 1067s # out_arg_d); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_d_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_d_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gdouble *out_arg_d, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodD", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(d)", 1067s # out_arg_d); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_d: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_d: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_d ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # gdouble arg_d) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(d)", 1067s # arg_d)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmpzp_x3ugd.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmpzp_x3ugd.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_s", 1067s # (gchar *) "s", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodS", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-s", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-s", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_s, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_s: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_s ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodS", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_s_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_s_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar **out_arg_s, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(s)", 1067s # out_arg_s); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_s_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_s_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar **out_arg_s, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodS", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(s)", 1067s # out_arg_s); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_s: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_s: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_s ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # const gchar *arg_s) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(s)", 1067s # arg_s)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmpae9f020q.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmpae9f020q.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_o", 1067s # (gchar *) "o", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodO", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-o", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-o", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_o, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_o: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_o ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodO", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_o_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_o_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar **out_arg_o, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(o)", 1067s # out_arg_o); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_o_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_o_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar **out_arg_o, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodO", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(o)", 1067s # out_arg_o); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_o: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_o: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_o ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # const gchar *arg_o) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(o)", 1067s # arg_o)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmp3p4ssam5.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmp3p4ssam5.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_g", 1067s # (gchar *) "g", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodG", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-g", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-g", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_g, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_g: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_g ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodG", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_g_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_g_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar **out_arg_g, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(g)", 1067s # out_arg_g); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_g_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_g_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar **out_arg_g, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodG", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(g)", 1067s # out_arg_g); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_g: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_g: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_g ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # const gchar *arg_g) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(g)", 1067s # arg_g)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmpl0v_eyyq.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmpl0v_eyyq.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_h", 1067s # (gchar *) "h", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodH", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-h", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-h", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_h, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_h: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_h ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodH", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_h_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_h_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GVariant **out_arg_h, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(@h)", 1067s # out_arg_h); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_h_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_h_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GVariant **out_arg_h, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodH", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(@h)", 1067s # out_arg_h); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_h: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_h: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_h ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # GVariant *arg_h) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(@h)", 1067s # arg_h)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmpbfg4hvzw.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmpbfg4hvzw.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_ay", 1067s # (gchar *) "ay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodAy", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-ay", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-ay", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_ay: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_ay ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodAy", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar **out_arg_ay, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(^ay)", 1067s # out_arg_ay); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar **out_arg_ay, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodAy", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(^ay)", 1067s # out_arg_ay); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_ay: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_ay: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_ay ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # const gchar *arg_ay) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(^ay)", 1067s # arg_ay)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmprytao9fc.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmprytao9fc.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_as", 1067s # (gchar *) "as", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodAs", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-as", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-as", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_as, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_as: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_as ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodAs", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_as_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_as_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar ***out_arg_as, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(^as)", 1067s # out_arg_as); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_as_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_as_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar ***out_arg_as, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodAs", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(^as)", 1067s # out_arg_as); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_as: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_as: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_as ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # const gchar *const *arg_as) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(^as)", 1067s # arg_as)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmpzimdt7dx.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmpzimdt7dx.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_ao", 1067s # (gchar *) "ao", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodAo", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-ao", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-ao", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_ao: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_ao ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodAo", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar ***out_arg_ao, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(^ao)", 1067s # out_arg_ao); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar ***out_arg_ao, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodAo", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(^ao)", 1067s # out_arg_ao); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_ao: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_ao: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_ao ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # const gchar *const *arg_ao) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(^ao)", 1067s # arg_ao)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmp_7vg0wxs.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmp_7vg0wxs.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_aay", 1067s # (gchar *) "aay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodAay", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-aay", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-aay", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_aay: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_aay ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodAay", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar ***out_arg_aay, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(^aay)", 1067s # out_arg_aay); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # gchar ***out_arg_aay, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodAay", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(^aay)", 1067s # out_arg_aay); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_aay: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_aay: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_aay ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # const gchar *const *arg_aay) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(^aay)", 1067s # arg_aay)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s # 1067s # /tmp/tmps9hb28wy/tmp5727051l.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9hb28wy/tmp5727051l.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "arg_asv", 1067s # (gchar *) "a{sv}", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgMethodAsv", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-single-arg-method-asv", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-single-arg-method-asv", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_asv: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_useful_interface_call_single_arg_method_asv ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodAsv", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GVariant **out_arg_asv, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(@a{sv})", 1067s # out_arg_asv); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1067s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1067s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1067s # OrgProjectUsefulInterface *proxy, 1067s # GVariant **out_arg_asv, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SingleArgMethodAsv", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(@a{sv})", 1067s # out_arg_asv); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_complete_single_arg_method_asv: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @arg_asv: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_useful_interface_complete_single_arg_method_asv ( 1067s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # GVariant *arg_asv) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(@a{sv})", 1067s # arg_asv)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1067s # gdbus-codegen: /usr/bin/gdbus-codegen 1067s # tmpdir: /tmp/tmpz535e8ih 1067s # /tmp/tmpz535e8ih/tmpj7cfsj4q.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz535e8ih/tmpj7cfsj4q.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # gboolean arg_an_b, 1067s # guchar arg_an_y, 1067s # gint16 arg_an_n, 1067s # guint16 arg_an_q, 1067s # gint arg_an_i, 1067s # guint arg_an_u, 1067s # gint64 arg_an_x, 1067s # guint64 arg_an_t, 1067s # gdouble arg_an_d, 1067s # const gchar *arg_an_s, 1067s # const gchar *arg_an_o, 1067s # const gchar *arg_an_g, 1067s # GVariant *arg_an_h, 1067s # const gchar *arg_an_ay, 1067s # const gchar *const *arg_an_as, 1067s # const gchar *const *arg_an_ao, 1067s # const gchar *const *arg_an_aay, 1067s # GVariant *arg_an_asv, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 20); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # g_marshal_value_peek_boolean (param_values + 2), 1067s # g_marshal_value_peek_uchar (param_values + 3), 1067s # g_marshal_value_peek_int (param_values + 4), 1067s # g_marshal_value_peek_uint (param_values + 5), 1067s # g_marshal_value_peek_int (param_values + 6), 1067s # g_marshal_value_peek_uint (param_values + 7), 1067s # g_marshal_value_peek_int64 (param_values + 8), 1067s # g_marshal_value_peek_uint64 (param_values + 9), 1067s # g_marshal_value_peek_double (param_values + 10), 1067s # g_marshal_value_peek_string (param_values + 11), 1067s # g_marshal_value_peek_string (param_values + 12), 1067s # g_marshal_value_peek_string (param_values + 13), 1067s # g_marshal_value_peek_variant (param_values + 14), 1067s # g_marshal_value_peek_string (param_values + 15), 1067s # g_marshal_value_peek_boxed (param_values + 16), 1067s # g_marshal_value_peek_boxed (param_values + 17), 1067s # g_marshal_value_peek_boxed (param_values + 18), 1067s # g_marshal_value_peek_variant (param_values + 19), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.CallableIface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectCallableIface 1067s # * @title: OrgProjectCallableIface 1067s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.CallableIface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_b", 1067s # (gchar *) "b", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_y", 1067s # (gchar *) "y", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_n", 1067s # (gchar *) "n", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_q", 1067s # (gchar *) "q", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_i", 1067s # (gchar *) "i", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_u", 1067s # (gchar *) "u", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_x", 1067s # (gchar *) "x", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_t", 1067s # (gchar *) "t", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_d", 1067s # (gchar *) "d", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_s", 1067s # (gchar *) "s", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_o", 1067s # (gchar *) "o", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_g", 1067s # (gchar *) "g", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_h", 1067s # (gchar *) "h", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_ay", 1067s # (gchar *) "ay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_as", 1067s # (gchar *) "as", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_ao", 1067s # (gchar *) "ao", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_aay", 1067s # (gchar *) "aay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_asv", 1067s # (gchar *) "a{sv}", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1067s # { 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "MethodWithManyArgs", 1067s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "handle-method-with-many-args", 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_b", 1067s # (gchar *) "b", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_y", 1067s # (gchar *) "y", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_n", 1067s # (gchar *) "n", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_q", 1067s # (gchar *) "q", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_i", 1067s # (gchar *) "i", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_u", 1067s # (gchar *) "u", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_x", 1067s # (gchar *) "x", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_t", 1067s # (gchar *) "t", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_d", 1067s # (gchar *) "d", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_s", 1067s # (gchar *) "s", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_o", 1067s # (gchar *) "o", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_g", 1067s # (gchar *) "g", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_h", 1067s # (gchar *) "h", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_ay", 1067s # (gchar *) "ay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_as", 1067s # (gchar *) "as", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_ao", 1067s # (gchar *) "ao", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_aay", 1067s # (gchar *) "aay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_asv", 1067s # (gchar *) "a{sv}", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1067s # { 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SameMethodWithManyArgs", 1067s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "handle-same-method-with-many-args", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1067s # { 1067s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1067s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.CallableIface", 1067s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-callable-iface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_callable_iface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_callable_iface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_callable_iface_method_marshal_method_with_many_args ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _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, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _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, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectCallableIface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectCallableIfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1067s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.CallableIface. 1067s # */ 1067s # 1067s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectCallableIface::handle-method-with-many-args: 1067s # * @object: A #OrgProjectCallableIface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * @arg_an_b: Argument passed by remote caller. 1067s # * @arg_an_y: Argument passed by remote caller. 1067s # * @arg_an_n: Argument passed by remote caller. 1067s # * @arg_an_q: Argument passed by remote caller. 1067s # * @arg_an_i: Argument passed by remote caller. 1067s # * @arg_an_u: Argument passed by remote caller. 1067s # * @arg_an_x: Argument passed by remote caller. 1067s # * @arg_an_t: Argument passed by remote caller. 1067s # * @arg_an_d: Argument passed by remote caller. 1067s # * @arg_an_s: Argument passed by remote caller. 1067s # * @arg_an_o: Argument passed by remote caller. 1067s # * @arg_an_g: Argument passed by remote caller. 1067s # * @arg_an_h: Argument passed by remote caller. 1067s # * @arg_an_ay: Argument passed by remote caller. 1067s # * @arg_an_as: Argument passed by remote caller. 1067s # * @arg_an_ao: Argument passed by remote caller. 1067s # * @arg_an_aay: Argument passed by remote caller. 1067s # * @arg_an_asv: Argument passed by remote caller. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-method-with-many-args", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_callable_iface_method_marshal_method_with_many_args, 1067s # G_TYPE_BOOLEAN, 1067s # 19, 1067s # 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); 1067s # 1067s # /** 1067s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1067s # * @object: A #OrgProjectCallableIface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * @arg_an_b: Argument passed by remote caller. 1067s # * @arg_an_y: Argument passed by remote caller. 1067s # * @arg_an_n: Argument passed by remote caller. 1067s # * @arg_an_q: Argument passed by remote caller. 1067s # * @arg_an_i: Argument passed by remote caller. 1067s # * @arg_an_u: Argument passed by remote caller. 1067s # * @arg_an_x: Argument passed by remote caller. 1067s # * @arg_an_t: Argument passed by remote caller. 1067s # * @arg_an_d: Argument passed by remote caller. 1067s # * @arg_an_s: Argument passed by remote caller. 1067s # * @arg_an_o: Argument passed by remote caller. 1067s # * @arg_an_g: Argument passed by remote caller. 1067s # * @arg_an_h: Argument passed by remote caller. 1067s # * @arg_an_ay: Argument passed by remote caller. 1067s # * @arg_an_as: Argument passed by remote caller. 1067s # * @arg_an_ao: Argument passed by remote caller. 1067s # * @arg_an_aay: Argument passed by remote caller. 1067s # * @arg_an_asv: Argument passed by remote caller. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-same-method-with-many-args", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1067s # G_TYPE_BOOLEAN, 1067s # 19, 1067s # 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); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_call_method_with_many_args: 1067s # * @proxy: A #OrgProjectCallableIfaceProxy. 1067s # * @arg_an_b: Argument to pass with the method invocation. 1067s # * @arg_an_y: Argument to pass with the method invocation. 1067s # * @arg_an_n: Argument to pass with the method invocation. 1067s # * @arg_an_q: Argument to pass with the method invocation. 1067s # * @arg_an_i: Argument to pass with the method invocation. 1067s # * @arg_an_u: Argument to pass with the method invocation. 1067s # * @arg_an_x: Argument to pass with the method invocation. 1067s # * @arg_an_t: Argument to pass with the method invocation. 1067s # * @arg_an_d: Argument to pass with the method invocation. 1067s # * @arg_an_s: Argument to pass with the method invocation. 1067s # * @arg_an_o: Argument to pass with the method invocation. 1067s # * @arg_an_g: Argument to pass with the method invocation. 1067s # * @arg_an_h: Argument to pass with the method invocation. 1067s # * @arg_an_ay: Argument to pass with the method invocation. 1067s # * @arg_an_as: Argument to pass with the method invocation. 1067s # * @arg_an_ao: Argument to pass with the method invocation. 1067s # * @arg_an_aay: Argument to pass with the method invocation. 1067s # * @arg_an_asv: Argument to pass with the method invocation. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_callable_iface_call_method_with_many_args ( 1067s # OrgProjectCallableIface *proxy, 1067s # gboolean arg_an_b, 1067s # guchar arg_an_y, 1067s # gint16 arg_an_n, 1067s # guint16 arg_an_q, 1067s # gint arg_an_i, 1067s # guint arg_an_u, 1067s # gint64 arg_an_x, 1067s # guint64 arg_an_t, 1067s # gdouble arg_an_d, 1067s # const gchar *arg_an_s, 1067s # const gchar *arg_an_o, 1067s # const gchar *arg_an_g, 1067s # GVariant *arg_an_h, 1067s # const gchar *arg_an_ay, 1067s # const gchar *const *arg_an_as, 1067s # const gchar *const *arg_an_ao, 1067s # const gchar *const *arg_an_aay, 1067s # GVariant *arg_an_asv, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "MethodWithManyArgs", 1067s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1067s # arg_an_b, 1067s # arg_an_y, 1067s # arg_an_n, 1067s # arg_an_q, 1067s # arg_an_i, 1067s # arg_an_u, 1067s # arg_an_x, 1067s # arg_an_t, 1067s # arg_an_d, 1067s # arg_an_s, 1067s # arg_an_o, 1067s # arg_an_g, 1067s # arg_an_h, 1067s # arg_an_ay, 1067s # arg_an_as, 1067s # arg_an_ao, 1067s # arg_an_aay, 1067s # arg_an_asv), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_call_method_with_many_args_finish: 1067s # * @proxy: A #OrgProjectCallableIfaceProxy. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_callable_iface_call_method_with_many_args_finish ( 1067s # OrgProjectCallableIface *proxy, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "()"); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_call_method_with_many_args_sync: 1067s # * @proxy: A #OrgProjectCallableIfaceProxy. 1067s # * @arg_an_b: Argument to pass with the method invocation. 1067s # * @arg_an_y: Argument to pass with the method invocation. 1067s # * @arg_an_n: Argument to pass with the method invocation. 1067s # * @arg_an_q: Argument to pass with the method invocation. 1067s # * @arg_an_i: Argument to pass with the method invocation. 1067s # * @arg_an_u: Argument to pass with the method invocation. 1067s # * @arg_an_x: Argument to pass with the method invocation. 1067s # * @arg_an_t: Argument to pass with the method invocation. 1067s # * @arg_an_d: Argument to pass with the method invocation. 1067s # * @arg_an_s: Argument to pass with the method invocation. 1067s # * @arg_an_o: Argument to pass with the method invocation. 1067s # * @arg_an_g: Argument to pass with the method invocation. 1067s # * @arg_an_h: Argument to pass with the method invocation. 1067s # * @arg_an_ay: Argument to pass with the method invocation. 1067s # * @arg_an_as: Argument to pass with the method invocation. 1067s # * @arg_an_ao: Argument to pass with the method invocation. 1067s # * @arg_an_aay: Argument to pass with the method invocation. 1067s # * @arg_an_asv: Argument to pass with the method invocation. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_callable_iface_call_method_with_many_args_sync ( 1067s # OrgProjectCallableIface *proxy, 1067s # gboolean arg_an_b, 1067s # guchar arg_an_y, 1067s # gint16 arg_an_n, 1067s # guint16 arg_an_q, 1067s # gint arg_an_i, 1067s # guint arg_an_u, 1067s # gint64 arg_an_x, 1067s # guint64 arg_an_t, 1067s # gdouble arg_an_d, 1067s # const gchar *arg_an_s, 1067s # const gchar *arg_an_o, 1067s # const gchar *arg_an_g, 1067s # GVariant *arg_an_h, 1067s # const gchar *arg_an_ay, 1067s # const gchar *const *arg_an_as, 1067s # const gchar *const *arg_an_ao, 1067s # const gchar *const *arg_an_aay, 1067s # GVariant *arg_an_asv, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "MethodWithManyArgs", 1067s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1067s # arg_an_b, 1067s # arg_an_y, 1067s # arg_an_n, 1067s # arg_an_q, 1067s # arg_an_i, 1067s # arg_an_u, 1067s # arg_an_x, 1067s # arg_an_t, 1067s # arg_an_d, 1067s # arg_an_s, 1067s # arg_an_o, 1067s # arg_an_g, 1067s # arg_an_h, 1067s # arg_an_ay, 1067s # arg_an_as, 1067s # arg_an_ao, 1067s # arg_an_aay, 1067s # arg_an_asv), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "()"); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_call_same_method_with_many_args: 1067s # * @proxy: A #OrgProjectCallableIfaceProxy. 1067s # * @arg_an_b: Argument to pass with the method invocation. 1067s # * @arg_an_y: Argument to pass with the method invocation. 1067s # * @arg_an_n: Argument to pass with the method invocation. 1067s # * @arg_an_q: Argument to pass with the method invocation. 1067s # * @arg_an_i: Argument to pass with the method invocation. 1067s # * @arg_an_u: Argument to pass with the method invocation. 1067s # * @arg_an_x: Argument to pass with the method invocation. 1067s # * @arg_an_t: Argument to pass with the method invocation. 1067s # * @arg_an_d: Argument to pass with the method invocation. 1067s # * @arg_an_s: Argument to pass with the method invocation. 1067s # * @arg_an_o: Argument to pass with the method invocation. 1067s # * @arg_an_g: Argument to pass with the method invocation. 1067s # * @arg_an_h: Argument to pass with the method invocation. 1067s # * @arg_an_ay: Argument to pass with the method invocation. 1067s # * @arg_an_as: Argument to pass with the method invocation. 1067s # * @arg_an_ao: Argument to pass with the method invocation. 1067s # * @arg_an_aay: Argument to pass with the method invocation. 1067s # * @arg_an_asv: Argument to pass with the method invocation. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_callable_iface_call_same_method_with_many_args ( 1067s # OrgProjectCallableIface *proxy, 1067s # gboolean arg_an_b, 1067s # guchar arg_an_y, 1067s # gint16 arg_an_n, 1067s # guint16 arg_an_q, 1067s # gint arg_an_i, 1067s # guint arg_an_u, 1067s # gint64 arg_an_x, 1067s # guint64 arg_an_t, 1067s # gdouble arg_an_d, 1067s # const gchar *arg_an_s, 1067s # const gchar *arg_an_o, 1067s # const gchar *arg_an_g, 1067s # GVariant *arg_an_h, 1067s # const gchar *arg_an_ay, 1067s # const gchar *const *arg_an_as, 1067s # const gchar *const *arg_an_ao, 1067s # const gchar *const *arg_an_aay, 1067s # GVariant *arg_an_asv, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "SameMethodWithManyArgs", 1067s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1067s # arg_an_b, 1067s # arg_an_y, 1067s # arg_an_n, 1067s # arg_an_q, 1067s # arg_an_i, 1067s # arg_an_u, 1067s # arg_an_x, 1067s # arg_an_t, 1067s # arg_an_d, 1067s # arg_an_s, 1067s # arg_an_o, 1067s # arg_an_g, 1067s # arg_an_h, 1067s # arg_an_ay, 1067s # arg_an_as, 1067s # arg_an_ao, 1067s # arg_an_aay, 1067s # arg_an_asv), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1067s # * @proxy: A #OrgProjectCallableIfaceProxy. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1067s # OrgProjectCallableIface *proxy, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "()"); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1067s # * @proxy: A #OrgProjectCallableIfaceProxy. 1067s # * @arg_an_b: Argument to pass with the method invocation. 1067s # * @arg_an_y: Argument to pass with the method invocation. 1067s # * @arg_an_n: Argument to pass with the method invocation. 1067s # * @arg_an_q: Argument to pass with the method invocation. 1067s # * @arg_an_i: Argument to pass with the method invocation. 1067s # * @arg_an_u: Argument to pass with the method invocation. 1067s # * @arg_an_x: Argument to pass with the method invocation. 1067s # * @arg_an_t: Argument to pass with the method invocation. 1067s # * @arg_an_d: Argument to pass with the method invocation. 1067s # * @arg_an_s: Argument to pass with the method invocation. 1067s # * @arg_an_o: Argument to pass with the method invocation. 1067s # * @arg_an_g: Argument to pass with the method invocation. 1067s # * @arg_an_h: Argument to pass with the method invocation. 1067s # * @arg_an_ay: Argument to pass with the method invocation. 1067s # * @arg_an_as: Argument to pass with the method invocation. 1067s # * @arg_an_ao: Argument to pass with the method invocation. 1067s # * @arg_an_aay: Argument to pass with the method invocation. 1067s # * @arg_an_asv: Argument to pass with the method invocation. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1067s # OrgProjectCallableIface *proxy, 1067s # gboolean arg_an_b, 1067s # guchar arg_an_y, 1067s # gint16 arg_an_n, 1067s # guint16 arg_an_q, 1067s # gint arg_an_i, 1067s # guint arg_an_u, 1067s # gint64 arg_an_x, 1067s # guint64 arg_an_t, 1067s # gdouble arg_an_d, 1067s # const gchar *arg_an_s, 1067s # const gchar *arg_an_o, 1067s # const gchar *arg_an_g, 1067s # GVariant *arg_an_h, 1067s # const gchar *arg_an_ay, 1067s # const gchar *const *arg_an_as, 1067s # const gchar *const *arg_an_ao, 1067s # const gchar *const *arg_an_aay, 1067s # GVariant *arg_an_asv, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "SameMethodWithManyArgs", 1067s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1067s # arg_an_b, 1067s # arg_an_y, 1067s # arg_an_n, 1067s # arg_an_q, 1067s # arg_an_i, 1067s # arg_an_u, 1067s # arg_an_x, 1067s # arg_an_t, 1067s # arg_an_d, 1067s # arg_an_s, 1067s # arg_an_o, 1067s # arg_an_g, 1067s # arg_an_h, 1067s # arg_an_ay, 1067s # arg_an_as, 1067s # arg_an_ao, 1067s # arg_an_aay, 1067s # arg_an_asv), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "()"); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_complete_method_with_many_args: 1067s # * @object: A #OrgProjectCallableIface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_callable_iface_complete_method_with_many_args ( 1067s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("()")); 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_complete_same_method_with_many_args: 1067s # * @object: A #OrgProjectCallableIface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_callable_iface_complete_same_method_with_many_args ( 1067s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("()")); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectCallableIfaceProxy: 1067s # * 1067s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectCallableIfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectCallableIfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectCallableIfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_callable_iface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1067s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1067s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_callable_iface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectCallableIface * 1067s # org_project_callable_iface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectCallableIface * 1067s # org_project_callable_iface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_callable_iface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_callable_iface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectCallableIface * 1067s # org_project_callable_iface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectCallableIface * 1067s # org_project_callable_iface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectCallableIfaceSkeleton: 1067s # * 1067s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectCallableIfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectCallableIfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_callable_iface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_callable_iface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_callable_iface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1067s # { 1067s # _org_project_callable_iface_skeleton_handle_method_call, 1067s # _org_project_callable_iface_skeleton_handle_get_property, 1067s # _org_project_callable_iface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_callable_iface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_callable_iface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectCallableIface * 1067s # org_project_callable_iface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.OtherCallableIface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectOtherCallableIface 1067s # * @title: OrgProjectOtherCallableIface 1067s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_b", 1067s # (gchar *) "b", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_y", 1067s # (gchar *) "y", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_n", 1067s # (gchar *) "n", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_q", 1067s # (gchar *) "q", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_i", 1067s # (gchar *) "i", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_u", 1067s # (gchar *) "u", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_x", 1067s # (gchar *) "x", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_t", 1067s # (gchar *) "t", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_d", 1067s # (gchar *) "d", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_s", 1067s # (gchar *) "s", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_o", 1067s # (gchar *) "o", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_g", 1067s # (gchar *) "g", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_h", 1067s # (gchar *) "h", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_ay", 1067s # (gchar *) "ay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_as", 1067s # (gchar *) "as", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_ao", 1067s # (gchar *) "ao", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_aay", 1067s # (gchar *) "aay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_asv", 1067s # (gchar *) "a{sv}", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1067s # { 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "MethodWithManyArgs", 1067s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "handle-method-with-many-args", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1067s # { 1067s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.OtherCallableIface", 1067s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-other-callable-iface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_other_callable_iface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_other_callable_iface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_callable_iface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _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, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectOtherCallableIface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectOtherCallableIfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1067s # */ 1067s # 1067s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1067s # * @object: A #OrgProjectOtherCallableIface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * @arg_an_b: Argument passed by remote caller. 1067s # * @arg_an_y: Argument passed by remote caller. 1067s # * @arg_an_n: Argument passed by remote caller. 1067s # * @arg_an_q: Argument passed by remote caller. 1067s # * @arg_an_i: Argument passed by remote caller. 1067s # * @arg_an_u: Argument passed by remote caller. 1067s # * @arg_an_x: Argument passed by remote caller. 1067s # * @arg_an_t: Argument passed by remote caller. 1067s # * @arg_an_d: Argument passed by remote caller. 1067s # * @arg_an_s: Argument passed by remote caller. 1067s # * @arg_an_o: Argument passed by remote caller. 1067s # * @arg_an_g: Argument passed by remote caller. 1067s # * @arg_an_h: Argument passed by remote caller. 1067s # * @arg_an_ay: Argument passed by remote caller. 1067s # * @arg_an_as: Argument passed by remote caller. 1067s # * @arg_an_ao: Argument passed by remote caller. 1067s # * @arg_an_aay: Argument passed by remote caller. 1067s # * @arg_an_asv: Argument passed by remote caller. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-method-with-many-args", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1067s # G_TYPE_BOOLEAN, 1067s # 19, 1067s # 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); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_callable_iface_call_method_with_many_args: 1067s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1067s # * @arg_an_b: Argument to pass with the method invocation. 1067s # * @arg_an_y: Argument to pass with the method invocation. 1067s # * @arg_an_n: Argument to pass with the method invocation. 1067s # * @arg_an_q: Argument to pass with the method invocation. 1067s # * @arg_an_i: Argument to pass with the method invocation. 1067s # * @arg_an_u: Argument to pass with the method invocation. 1067s # * @arg_an_x: Argument to pass with the method invocation. 1067s # * @arg_an_t: Argument to pass with the method invocation. 1067s # * @arg_an_d: Argument to pass with the method invocation. 1067s # * @arg_an_s: Argument to pass with the method invocation. 1067s # * @arg_an_o: Argument to pass with the method invocation. 1067s # * @arg_an_g: Argument to pass with the method invocation. 1067s # * @arg_an_h: Argument to pass with the method invocation. 1067s # * @arg_an_ay: Argument to pass with the method invocation. 1067s # * @arg_an_as: Argument to pass with the method invocation. 1067s # * @arg_an_ao: Argument to pass with the method invocation. 1067s # * @arg_an_aay: Argument to pass with the method invocation. 1067s # * @arg_an_asv: Argument to pass with the method invocation. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_other_callable_iface_call_method_with_many_args ( 1067s # OrgProjectOtherCallableIface *proxy, 1067s # gboolean arg_an_b, 1067s # guchar arg_an_y, 1067s # gint16 arg_an_n, 1067s # guint16 arg_an_q, 1067s # gint arg_an_i, 1067s # guint arg_an_u, 1067s # gint64 arg_an_x, 1067s # guint64 arg_an_t, 1067s # gdouble arg_an_d, 1067s # const gchar *arg_an_s, 1067s # const gchar *arg_an_o, 1067s # const gchar *arg_an_g, 1067s # GVariant *arg_an_h, 1067s # const gchar *arg_an_ay, 1067s # const gchar *const *arg_an_as, 1067s # const gchar *const *arg_an_ao, 1067s # const gchar *const *arg_an_aay, 1067s # GVariant *arg_an_asv, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "MethodWithManyArgs", 1067s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1067s # arg_an_b, 1067s # arg_an_y, 1067s # arg_an_n, 1067s # arg_an_q, 1067s # arg_an_i, 1067s # arg_an_u, 1067s # arg_an_x, 1067s # arg_an_t, 1067s # arg_an_d, 1067s # arg_an_s, 1067s # arg_an_o, 1067s # arg_an_g, 1067s # arg_an_h, 1067s # arg_an_ay, 1067s # arg_an_as, 1067s # arg_an_ao, 1067s # arg_an_aay, 1067s # arg_an_asv), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1067s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1067s # OrgProjectOtherCallableIface *proxy, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "()"); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1067s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1067s # * @arg_an_b: Argument to pass with the method invocation. 1067s # * @arg_an_y: Argument to pass with the method invocation. 1067s # * @arg_an_n: Argument to pass with the method invocation. 1067s # * @arg_an_q: Argument to pass with the method invocation. 1067s # * @arg_an_i: Argument to pass with the method invocation. 1067s # * @arg_an_u: Argument to pass with the method invocation. 1067s # * @arg_an_x: Argument to pass with the method invocation. 1067s # * @arg_an_t: Argument to pass with the method invocation. 1067s # * @arg_an_d: Argument to pass with the method invocation. 1067s # * @arg_an_s: Argument to pass with the method invocation. 1067s # * @arg_an_o: Argument to pass with the method invocation. 1067s # * @arg_an_g: Argument to pass with the method invocation. 1067s # * @arg_an_h: Argument to pass with the method invocation. 1067s # * @arg_an_ay: Argument to pass with the method invocation. 1067s # * @arg_an_as: Argument to pass with the method invocation. 1067s # * @arg_an_ao: Argument to pass with the method invocation. 1067s # * @arg_an_aay: Argument to pass with the method invocation. 1067s # * @arg_an_asv: Argument to pass with the method invocation. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1067s # OrgProjectOtherCallableIface *proxy, 1067s # gboolean arg_an_b, 1067s # guchar arg_an_y, 1067s # gint16 arg_an_n, 1067s # guint16 arg_an_q, 1067s # gint arg_an_i, 1067s # guint arg_an_u, 1067s # gint64 arg_an_x, 1067s # guint64 arg_an_t, 1067s # gdouble arg_an_d, 1067s # const gchar *arg_an_s, 1067s # const gchar *arg_an_o, 1067s # const gchar *arg_an_g, 1067s # GVariant *arg_an_h, 1067s # const gchar *arg_an_ay, 1067s # const gchar *const *arg_an_as, 1067s # const gchar *const *arg_an_ao, 1067s # const gchar *const *arg_an_aay, 1067s # GVariant *arg_an_asv, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "MethodWithManyArgs", 1067s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1067s # arg_an_b, 1067s # arg_an_y, 1067s # arg_an_n, 1067s # arg_an_q, 1067s # arg_an_i, 1067s # arg_an_u, 1067s # arg_an_x, 1067s # arg_an_t, 1067s # arg_an_d, 1067s # arg_an_s, 1067s # arg_an_o, 1067s # arg_an_g, 1067s # arg_an_h, 1067s # arg_an_ay, 1067s # arg_an_as, 1067s # arg_an_ao, 1067s # arg_an_aay, 1067s # arg_an_asv), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "()"); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_callable_iface_complete_method_with_many_args: 1067s # * @object: A #OrgProjectOtherCallableIface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_other_callable_iface_complete_method_with_many_args ( 1067s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("()")); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectOtherCallableIfaceProxy: 1067s # * 1067s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectOtherCallableIfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1067s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1067s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_callable_iface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_other_callable_iface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_callable_iface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectOtherCallableIface * 1067s # org_project_other_callable_iface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_callable_iface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectOtherCallableIface * 1067s # org_project_other_callable_iface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_other_callable_iface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_other_callable_iface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectOtherCallableIface * 1067s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectOtherCallableIface * 1067s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectOtherCallableIfaceSkeleton: 1067s # * 1067s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectOtherCallableIfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1067s # { 1067s # _org_project_other_callable_iface_skeleton_handle_method_call, 1067s # _org_project_other_callable_iface_skeleton_handle_get_property, 1067s # _org_project_other_callable_iface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_other_callable_iface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_callable_iface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectOtherCallableIface * 1067s # org_project_other_callable_iface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1067s # gdbus-codegen: /usr/bin/gdbus-codegen 1067s # tmpdir: /tmp/tmpjzzbydlu 1067s # /tmp/tmpjzzbydlu/tmpjeg6f_zp.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjzzbydlu/tmpjeg6f_zp.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.CallableIface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectCallableIface 1067s # * @title: OrgProjectCallableIface 1067s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for org.project.CallableIface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_b", 1067s # (gchar *) "b", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_y", 1067s # (gchar *) "y", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_n", 1067s # (gchar *) "n", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_q", 1067s # (gchar *) "q", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_i", 1067s # (gchar *) "i", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_u", 1067s # (gchar *) "u", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_x", 1067s # (gchar *) "x", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_t", 1067s # (gchar *) "t", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_d", 1067s # (gchar *) "d", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_s", 1067s # (gchar *) "s", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_o", 1067s # (gchar *) "o", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_g", 1067s # (gchar *) "g", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_h", 1067s # (gchar *) "h", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_ay", 1067s # (gchar *) "ay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_as", 1067s # (gchar *) "as", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_ao", 1067s # (gchar *) "ao", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_aay", 1067s # (gchar *) "aay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_asv", 1067s # (gchar *) "a{sv}", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1067s # { 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1067s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "MethodWithManyArgs", 1067s # NULL, 1067s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-method-with-many-args", 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1067s # { 1067s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.CallableIface", 1067s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-callable-iface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_callable_iface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_callable_iface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_callable_iface_method_marshal_method_with_many_args ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectCallableIface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectCallableIfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.CallableIface. 1067s # */ 1067s # 1067s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * OrgProjectCallableIface::handle-method-with-many-args: 1067s # * @object: A #OrgProjectCallableIface. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-method-with-many-args", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # org_project_callable_iface_method_marshal_method_with_many_args, 1067s # G_TYPE_BOOLEAN, 1067s # 1, 1067s # G_TYPE_DBUS_METHOD_INVOCATION); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_call_method_with_many_args: 1067s # * @proxy: A #OrgProjectCallableIfaceProxy. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # org_project_callable_iface_call_method_with_many_args ( 1067s # OrgProjectCallableIface *proxy, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1067s # "MethodWithManyArgs", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_call_method_with_many_args_finish: 1067s # * @proxy: A #OrgProjectCallableIfaceProxy. 1067s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_callable_iface_call_method_with_many_args_finish ( 1067s # OrgProjectCallableIface *proxy, 1067s # gboolean *out_an_b, 1067s # guchar *out_an_y, 1067s # gint16 *out_an_n, 1067s # guint16 *out_an_q, 1067s # gint *out_an_i, 1067s # guint *out_an_u, 1067s # gint64 *out_an_x, 1067s # guint64 *out_an_t, 1067s # gdouble *out_an_d, 1067s # gchar **out_an_s, 1067s # gchar **out_an_o, 1067s # gchar **out_an_g, 1067s # GVariant **out_an_h, 1067s # gchar **out_an_ay, 1067s # gchar ***out_an_as, 1067s # gchar ***out_an_ao, 1067s # gchar ***out_an_aay, 1067s # GVariant **out_an_asv, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1067s # out_an_b, 1067s # out_an_y, 1067s # out_an_n, 1067s # out_an_q, 1067s # out_an_i, 1067s # out_an_u, 1067s # out_an_x, 1067s # out_an_t, 1067s # out_an_d, 1067s # out_an_s, 1067s # out_an_o, 1067s # out_an_g, 1067s # out_an_h, 1067s # out_an_ay, 1067s # out_an_as, 1067s # out_an_ao, 1067s # out_an_aay, 1067s # out_an_asv); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_call_method_with_many_args_sync: 1067s # * @proxy: A #OrgProjectCallableIfaceProxy. 1067s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1067s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # org_project_callable_iface_call_method_with_many_args_sync ( 1067s # OrgProjectCallableIface *proxy, 1067s # gboolean *out_an_b, 1067s # guchar *out_an_y, 1067s # gint16 *out_an_n, 1067s # guint16 *out_an_q, 1067s # gint *out_an_i, 1067s # guint *out_an_u, 1067s # gint64 *out_an_x, 1067s # guint64 *out_an_t, 1067s # gdouble *out_an_d, 1067s # gchar **out_an_s, 1067s # gchar **out_an_o, 1067s # gchar **out_an_g, 1067s # GVariant **out_an_h, 1067s # gchar **out_an_ay, 1067s # gchar ***out_an_as, 1067s # gchar ***out_an_ao, 1067s # gchar ***out_an_aay, 1067s # GVariant **out_an_asv, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1067s # "MethodWithManyArgs", 1067s # g_variant_new ("()"), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1067s # out_an_b, 1067s # out_an_y, 1067s # out_an_n, 1067s # out_an_q, 1067s # out_an_i, 1067s # out_an_u, 1067s # out_an_x, 1067s # out_an_t, 1067s # out_an_d, 1067s # out_an_s, 1067s # out_an_o, 1067s # out_an_g, 1067s # out_an_h, 1067s # out_an_ay, 1067s # out_an_as, 1067s # out_an_ao, 1067s # out_an_aay, 1067s # out_an_asv); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_complete_method_with_many_args: 1067s # * @object: A #OrgProjectCallableIface. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @an_b: Parameter to return. 1067s # * @an_y: Parameter to return. 1067s # * @an_n: Parameter to return. 1067s # * @an_q: Parameter to return. 1067s # * @an_i: Parameter to return. 1067s # * @an_u: Parameter to return. 1067s # * @an_x: Parameter to return. 1067s # * @an_t: Parameter to return. 1067s # * @an_d: Parameter to return. 1067s # * @an_s: Parameter to return. 1067s # * @an_o: Parameter to return. 1067s # * @an_g: Parameter to return. 1067s # * @an_h: Parameter to return. 1067s # * @an_ay: Parameter to return. 1067s # * @an_as: Parameter to return. 1067s # * @an_ao: Parameter to return. 1067s # * @an_aay: Parameter to return. 1067s # * @an_asv: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # org_project_callable_iface_complete_method_with_many_args ( 1067s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # gboolean an_b, 1067s # guchar an_y, 1067s # gint16 an_n, 1067s # guint16 an_q, 1067s # gint an_i, 1067s # guint an_u, 1067s # gint64 an_x, 1067s # guint64 an_t, 1067s # gdouble an_d, 1067s # const gchar *an_s, 1067s # const gchar *an_o, 1067s # const gchar *an_g, 1067s # GVariant *an_h, 1067s # const gchar *an_ay, 1067s # const gchar *const *an_as, 1067s # const gchar *const *an_ao, 1067s # const gchar *const *an_aay, 1067s # GVariant *an_asv) 1067s # { 1067s # g_dbus_method_invocation_return_value (invocation, 1067s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1067s # an_b, 1067s # an_y, 1067s # an_n, 1067s # an_q, 1067s # an_i, 1067s # an_u, 1067s # an_x, 1067s # an_t, 1067s # an_d, 1067s # an_s, 1067s # an_o, 1067s # an_g, 1067s # an_h, 1067s # an_ay, 1067s # an_as, 1067s # an_ao, 1067s # an_aay, 1067s # an_asv)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectCallableIfaceProxy: 1067s # * 1067s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectCallableIfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectCallableIfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectCallableIfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_callable_iface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1067s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1067s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_callable_iface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectCallableIface * 1067s # org_project_callable_iface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectCallableIface * 1067s # org_project_callable_iface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_callable_iface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_callable_iface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectCallableIface * 1067s # org_project_callable_iface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectCallableIface * 1067s # org_project_callable_iface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectCallableIfaceSkeleton: 1067s # * 1067s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectCallableIfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectCallableIfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_callable_iface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_callable_iface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_callable_iface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1067s # { 1067s # _org_project_callable_iface_skeleton_handle_method_call, 1067s # _org_project_callable_iface_skeleton_handle_get_property, 1067s # _org_project_callable_iface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_callable_iface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_callable_iface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_callable_iface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectCallableIface * 1067s # org_project_callable_iface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1067s # gdbus-codegen: /usr/bin/gdbus-codegen 1067s # tmpdir: /tmp/tmp9dn5d30l 1067s # /tmp/tmp9dn5d30l/tmp14ekl9ee.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9dn5d30l/tmp14ekl9ee.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1067s # (void *data1, 1067s # GDBusMethodInvocation *arg_method_invocation, 1067s # GUnixFDList *arg_fd_list, 1067s # const gchar *arg_greeting, 1067s # void *data2); 1067s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # gboolean v_return; 1067s # 1067s # g_return_if_fail (return_value != NULL); 1067s # g_return_if_fail (n_param_values == 4); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # v_return = 1067s # callback (data1, 1067s # g_marshal_value_peek_object (param_values + 1), 1067s # g_marshal_value_peek_object (param_values + 2), 1067s # g_marshal_value_peek_string (param_values + 3), 1067s # data2); 1067s # 1067s # g_value_set_boolean (return_value, v_return); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface test.FDPassing 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:TestFDPassing 1067s # * @title: TestFDPassing 1067s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1067s # * 1067s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1067s # */ 1067s # 1067s # /* ---- Introspection data for test.FDPassing ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "greeting", 1067s # (gchar *) "s", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1067s # { 1067s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "response", 1067s # (gchar *) "s", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1067s # { 1067s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "HelloFD", 1067s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1067s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "handle-hello-fd", 1067s # TRUE 1067s # }; 1067s # 1067s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1067s # { 1067s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "test.FDPassing", 1067s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1067s # NULL, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "test-fdpassing", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * test_fdpassing_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # test_fdpassing_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * test_fdpassing_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # test_fdpassing_method_marshal_hello_fd ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * TestFDPassing: 1067s # * 1067s # * Abstract interface type for the D-Bus interface test.FDPassing. 1067s # */ 1067s # 1067s # /** 1067s # * TestFDPassingIface: 1067s # * @parent_iface: The parent interface. 1067s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1067s # * 1067s # * Virtual table for the D-Bus interface test.FDPassing. 1067s # */ 1067s # 1067s # typedef TestFDPassingIface TestFDPassingInterface; 1067s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # test_fdpassing_default_init (TestFDPassingIface *iface) 1067s # { 1067s # /* GObject signals for incoming D-Bus method calls: */ 1067s # /** 1067s # * TestFDPassing::handle-hello-fd: 1067s # * @object: A #TestFDPassing. 1067s # * @invocation: A #GDBusMethodInvocation. 1067s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1067s # * @arg_greeting: Argument passed by remote caller. 1067s # * 1067s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1067s # * 1067s # * If 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. 1067s # * 1067s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1067s # */ 1067s # g_signal_new ("handle-hello-fd", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1067s # g_signal_accumulator_true_handled, 1067s # NULL, 1067s # test_fdpassing_method_marshal_hello_fd, 1067s # G_TYPE_BOOLEAN, 1067s # 3, 1067s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * test_fdpassing_call_hello_fd: 1067s # * @proxy: A #TestFDPassingProxy. 1067s # * @arg_greeting: Argument to pass with the method invocation. 1067s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1067s # * 1067s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1067s # */ 1067s # void 1067s # test_fdpassing_call_hello_fd ( 1067s # TestFDPassing *proxy, 1067s # const gchar *arg_greeting, 1067s # GUnixFDList *fd_list, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1067s # "HelloFD", 1067s # g_variant_new ("(s)", 1067s # arg_greeting), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # fd_list, 1067s # cancellable, 1067s # callback, 1067s # user_data); 1067s # } 1067s # 1067s # /** 1067s # * test_fdpassing_call_hello_fd_finish: 1067s # * @proxy: A #TestFDPassingProxy. 1067s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # test_fdpassing_call_hello_fd_finish ( 1067s # TestFDPassing *proxy, 1067s # gchar **out_response, 1067s # GUnixFDList **out_fd_list, 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(s)", 1067s # out_response); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * test_fdpassing_call_hello_fd_sync: 1067s # * @proxy: A #TestFDPassingProxy. 1067s # * @arg_greeting: Argument to pass with the method invocation. 1067s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1067s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1067s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL. 1067s # * 1067s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1067s # * 1067s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1067s # * 1067s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1067s # */ 1067s # gboolean 1067s # test_fdpassing_call_hello_fd_sync ( 1067s # TestFDPassing *proxy, 1067s # const gchar *arg_greeting, 1067s # GUnixFDList *fd_list, 1067s # gchar **out_response, 1067s # GUnixFDList **out_fd_list, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GVariant *_ret; 1067s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1067s # "HelloFD", 1067s # g_variant_new ("(s)", 1067s # arg_greeting), 1067s # G_DBUS_CALL_FLAGS_NONE, 1067s # -1, 1067s # fd_list, 1067s # out_fd_list, 1067s # cancellable, 1067s # error); 1067s # if (_ret == NULL) 1067s # goto _out; 1067s # g_variant_get (_ret, 1067s # "(s)", 1067s # out_response); 1067s # g_variant_unref (_ret); 1067s # _out: 1067s # return _ret != NULL; 1067s # } 1067s # 1067s # /** 1067s # * test_fdpassing_complete_hello_fd: 1067s # * @object: A #TestFDPassing. 1067s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1067s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1067s # * @response: Parameter to return. 1067s # * 1067s # * 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. 1067s # * 1067s # * This method will free @invocation, you cannot use it afterwards. 1067s # */ 1067s # void 1067s # test_fdpassing_complete_hello_fd ( 1067s # TestFDPassing *object G_GNUC_UNUSED, 1067s # GDBusMethodInvocation *invocation, 1067s # GUnixFDList *fd_list, 1067s # const gchar *response) 1067s # { 1067s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1067s # g_variant_new ("(s)", 1067s # response), 1067s # fd_list); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * TestFDPassingProxy: 1067s # * 1067s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * TestFDPassingProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #TestFDPassingProxy. 1067s # */ 1067s # 1067s # struct _TestFDPassingProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (TestFDPassingProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # test_fdpassing_proxy_finalize (GObject *object) 1067s # { 1067s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1067s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1067s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1067s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * test_fdpassing_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # test_fdpassing_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * test_fdpassing_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with test_fdpassing_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # TestFDPassing * 1067s # test_fdpassing_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return TEST_FDPASSING (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * test_fdpassing_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # TestFDPassing * 1067s # test_fdpassing_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return TEST_FDPASSING (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * test_fdpassing_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # test_fdpassing_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * test_fdpassing_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # TestFDPassing * 1067s # test_fdpassing_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return TEST_FDPASSING (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * test_fdpassing_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # TestFDPassing * 1067s # test_fdpassing_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return TEST_FDPASSING (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * TestFDPassingSkeleton: 1067s # * 1067s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * TestFDPassingSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #TestFDPassingSkeleton. 1067s # */ 1067s # 1067s # struct _TestFDPassingSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _test_fdpassing_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _test_fdpassing_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _test_fdpassing_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1067s # { 1067s # _test_fdpassing_skeleton_handle_method_call, 1067s # _test_fdpassing_skeleton_handle_get_property, 1067s # _test_fdpassing_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return test_fdpassing_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # test_fdpassing_skeleton_finalize (GObject *object) 1067s # { 1067s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * test_fdpassing_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1067s # * 1067s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1067s # */ 1067s # TestFDPassing * 1067s # test_fdpassing_skeleton_new (void) 1067s # { 1067s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s ok 15 __main__.TestCodegen.test_generate_rst 1067s # gdbus-codegen: /usr/bin/gdbus-codegen 1067s # tmpdir: /tmp/tmp2flvk55j 1067s # /tmp/tmp2flvk55j/tmpi7xew2ja.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2flvk55j/tmpi7xew2ja.xml', '--generate-rst', 'test'] 1067s # Return code: 0 1067s # Output: 1067s # 1067s # Error: 1067s ok 16 __main__.TestCodegen.test_generate_rst_method 1067s # gdbus-codegen: /usr/bin/gdbus-codegen 1067s # tmpdir: /tmp/tmp41ojs3on 1067s # /tmp/tmp41ojs3on/tmpt_baw0yd.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp41ojs3on/tmpt_baw0yd.xml', '--generate-rst', 'test'] 1067s # Return code: 0 1067s # Output: 1067s # 1067s # Error: 1067s ok 17 __main__.TestCodegen.test_generate_rst_property 1067s # gdbus-codegen: /usr/bin/gdbus-codegen 1067s # tmpdir: /tmp/tmp65_luocj 1067s # /tmp/tmp65_luocj/tmp1932b9s6.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp65_luocj/tmp1932b9s6.xml', '--generate-rst', 'test'] 1067s # Return code: 0 1067s # Output: 1067s # 1067s # Error: 1067s ok 18 __main__.TestCodegen.test_generate_rst_signal 1067s # gdbus-codegen: /usr/bin/gdbus-codegen 1067s # tmpdir: /tmp/tmpn23onwlr 1067s # /tmp/tmpn23onwlr/tmptgrmsvft.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn23onwlr/tmptgrmsvft.xml', '--generate-rst', 'test'] 1067s # Return code: 0 1067s # Output: 1067s # 1067s # Error: 1067s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1067s # gdbus-codegen: /usr/bin/gdbus-codegen 1067s # tmpdir: /tmp/tmpp08_q9sv 1067s # /tmp/tmpp08_q9sv/tmpr2hdv7m9.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp08_q9sv/tmpr2hdv7m9.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1067s # GClosure *closure, 1067s # GValue *return_value G_GNUC_UNUSED, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1067s # (void *data1, 1067s # gboolean arg_an_b, 1067s # guchar arg_an_y, 1067s # gint16 arg_an_n, 1067s # guint16 arg_an_q, 1067s # gint arg_an_i, 1067s # guint arg_an_u, 1067s # gint64 arg_an_x, 1067s # guint64 arg_an_t, 1067s # gdouble arg_an_d, 1067s # const gchar *arg_an_s, 1067s # const gchar *arg_an_o, 1067s # const gchar *arg_an_g, 1067s # GVariant *arg_an_h, 1067s # const gchar *arg_an_ay, 1067s # const gchar *const *arg_an_as, 1067s # const gchar *const *arg_an_ao, 1067s # const gchar *const *arg_an_aay, 1067s # GVariant *arg_an_asv, 1067s # void *data2); 1067s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # 1067s # g_return_if_fail (n_param_values == 19); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # callback (data1, 1067s # g_marshal_value_peek_boolean (param_values + 1), 1067s # g_marshal_value_peek_uchar (param_values + 2), 1067s # g_marshal_value_peek_int (param_values + 3), 1067s # g_marshal_value_peek_uint (param_values + 4), 1067s # g_marshal_value_peek_int (param_values + 5), 1067s # g_marshal_value_peek_uint (param_values + 6), 1067s # g_marshal_value_peek_int64 (param_values + 7), 1067s # g_marshal_value_peek_uint64 (param_values + 8), 1067s # g_marshal_value_peek_double (param_values + 9), 1067s # g_marshal_value_peek_string (param_values + 10), 1067s # g_marshal_value_peek_string (param_values + 11), 1067s # g_marshal_value_peek_string (param_values + 12), 1067s # g_marshal_value_peek_variant (param_values + 13), 1067s # g_marshal_value_peek_string (param_values + 14), 1067s # g_marshal_value_peek_boxed (param_values + 15), 1067s # g_marshal_value_peek_boxed (param_values + 16), 1067s # g_marshal_value_peek_boxed (param_values + 17), 1067s # g_marshal_value_peek_variant (param_values + 18), 1067s # data2); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.SignalingIface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectSignalingIface 1067s # * @title: OrgProjectSignalingIface 1067s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1067s # */ 1067s # 1067s # enum 1067s # { 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1067s # }; 1067s # 1067s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1067s # 1067s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_b", 1067s # (gchar *) "b", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_y", 1067s # (gchar *) "y", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_n", 1067s # (gchar *) "n", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_q", 1067s # (gchar *) "q", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_i", 1067s # (gchar *) "i", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_u", 1067s # (gchar *) "u", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_x", 1067s # (gchar *) "x", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_t", 1067s # (gchar *) "t", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_d", 1067s # (gchar *) "d", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_s", 1067s # (gchar *) "s", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_o", 1067s # (gchar *) "o", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_g", 1067s # (gchar *) "g", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_h", 1067s # (gchar *) "h", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_ay", 1067s # (gchar *) "ay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_as", 1067s # (gchar *) "as", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_ao", 1067s # (gchar *) "ao", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_aay", 1067s # (gchar *) "aay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_asv", 1067s # (gchar *) "a{sv}", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SignalWithManyArgs", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "signal-with-many-args" 1067s # }; 1067s # 1067s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.SignalingIface", 1067s # NULL, 1067s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-signaling-iface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_signaling_iface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_signaling_iface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1067s # */ 1067s # 1067s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1067s # { 1067s # /* GObject signals for received D-Bus signals: */ 1067s # /** 1067s # * OrgProjectSignalingIface::signal-with-many-args: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_b: Argument. 1067s # * @arg_an_y: Argument. 1067s # * @arg_an_n: Argument. 1067s # * @arg_an_q: Argument. 1067s # * @arg_an_i: Argument. 1067s # * @arg_an_u: Argument. 1067s # * @arg_an_x: Argument. 1067s # * @arg_an_t: Argument. 1067s # * @arg_an_d: Argument. 1067s # * @arg_an_s: Argument. 1067s # * @arg_an_o: Argument. 1067s # * @arg_an_g: Argument. 1067s # * @arg_an_h: Argument. 1067s # * @arg_an_ay: Argument. 1067s # * @arg_an_as: Argument. 1067s # * @arg_an_ao: Argument. 1067s # * @arg_an_aay: Argument. 1067s # * @arg_an_asv: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1067s # g_signal_new ("signal-with-many-args", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1067s # G_TYPE_NONE, 1067s # 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); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_signal_with_many_args: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_b: Argument to pass with the signal. 1067s # * @arg_an_y: Argument to pass with the signal. 1067s # * @arg_an_n: Argument to pass with the signal. 1067s # * @arg_an_q: Argument to pass with the signal. 1067s # * @arg_an_i: Argument to pass with the signal. 1067s # * @arg_an_u: Argument to pass with the signal. 1067s # * @arg_an_x: Argument to pass with the signal. 1067s # * @arg_an_t: Argument to pass with the signal. 1067s # * @arg_an_d: Argument to pass with the signal. 1067s # * @arg_an_s: Argument to pass with the signal. 1067s # * @arg_an_o: Argument to pass with the signal. 1067s # * @arg_an_g: Argument to pass with the signal. 1067s # * @arg_an_h: Argument to pass with the signal. 1067s # * @arg_an_ay: Argument to pass with the signal. 1067s # * @arg_an_as: Argument to pass with the signal. 1067s # * @arg_an_ao: Argument to pass with the signal. 1067s # * @arg_an_aay: Argument to pass with the signal. 1067s # * @arg_an_asv: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SignalWithManyArgs" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_signal_with_many_args ( 1067s # OrgProjectSignalingIface *object, 1067s # gboolean arg_an_b, 1067s # guchar arg_an_y, 1067s # gint16 arg_an_n, 1067s # guint16 arg_an_q, 1067s # gint arg_an_i, 1067s # guint arg_an_u, 1067s # gint64 arg_an_x, 1067s # guint64 arg_an_t, 1067s # gdouble arg_an_d, 1067s # const gchar *arg_an_s, 1067s # const gchar *arg_an_o, 1067s # const gchar *arg_an_g, 1067s # GVariant *arg_an_h, 1067s # const gchar *arg_an_ay, 1067s # const gchar *const *arg_an_as, 1067s # const gchar *const *arg_an_ao, 1067s # const gchar *const *arg_an_aay, 1067s # GVariant *arg_an_asv) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceProxy: 1067s # * 1067s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectSignalingIfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectSignalingIfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_signaling_iface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1067s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1067s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceSkeleton: 1067s # * 1067s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_signaling_iface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_signaling_iface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_signaling_iface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1067s # { 1067s # _org_project_signaling_iface_skeleton_handle_method_call, 1067s # _org_project_signaling_iface_skeleton_handle_get_property, 1067s # _org_project_signaling_iface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_signaling_iface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1067s # OrgProjectSignalingIface *object, 1067s # gboolean arg_an_b, 1067s # guchar arg_an_y, 1067s # gint16 arg_an_n, 1067s # guint16 arg_an_q, 1067s # gint arg_an_i, 1067s # guint arg_an_u, 1067s # gint64 arg_an_x, 1067s # guint64 arg_an_t, 1067s # gdouble arg_an_d, 1067s # const gchar *arg_an_s, 1067s # const gchar *arg_an_o, 1067s # const gchar *arg_an_g, 1067s # GVariant *arg_an_h, 1067s # const gchar *arg_an_ay, 1067s # const gchar *const *arg_an_as, 1067s # const gchar *const *arg_an_ao, 1067s # const gchar *const *arg_an_aay, 1067s # GVariant *arg_an_asv) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1067s # arg_an_b, 1067s # arg_an_y, 1067s # arg_an_n, 1067s # arg_an_q, 1067s # arg_an_i, 1067s # arg_an_u, 1067s # arg_an_x, 1067s # arg_an_t, 1067s # arg_an_d, 1067s # arg_an_s, 1067s # arg_an_o, 1067s # arg_an_g, 1067s # arg_an_h, 1067s # arg_an_ay, 1067s # arg_an_as, 1067s # arg_an_ao, 1067s # arg_an_aay, 1067s # arg_an_asv)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1067s # { 1067s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1067s # gdbus-codegen: /usr/bin/gdbus-codegen 1067s # tmpdir: /tmp/tmpj5udzgo3 1067s # /tmp/tmpj5udzgo3/tmp2yc_uc9p.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj5udzgo3/tmp2yc_uc9p.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_VOID__INT64 ( 1067s # GClosure *closure, 1067s # GValue *return_value G_GNUC_UNUSED, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1067s # (void *data1, 1067s # gint64 arg_an_x, 1067s # void *data2); 1067s # _GDbusCodegenMarshalVoid_Int64Func callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # callback (data1, 1067s # g_marshal_value_peek_int64 (param_values + 1), 1067s # data2); 1067s # } 1067s # 1067s # static void 1067s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1067s # GClosure *closure, 1067s # GValue *return_value G_GNUC_UNUSED, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint G_GNUC_UNUSED, 1067s # void *marshal_data) 1067s # { 1067s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1067s # (void *data1, 1067s # guint64 arg_an_t, 1067s # void *data2); 1067s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1067s # GCClosure *cc = (GCClosure*) closure; 1067s # void *data1, *data2; 1067s # 1067s # g_return_if_fail (n_param_values == 2); 1067s # 1067s # if (G_CCLOSURE_SWAP_DATA (closure)) 1067s # { 1067s # data1 = closure->data; 1067s # data2 = g_value_peek_pointer (param_values + 0); 1067s # } 1067s # else 1067s # { 1067s # data1 = g_value_peek_pointer (param_values + 0); 1067s # data2 = closure->data; 1067s # } 1067s # 1067s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1067s # (marshal_data ? marshal_data : cc->callback); 1067s # 1067s # callback (data1, 1067s # g_marshal_value_peek_uint64 (param_values + 1), 1067s # data2); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.SignalingIface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectSignalingIface 1067s # * @title: OrgProjectSignalingIface 1067s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1067s # */ 1067s # 1067s # enum 1067s # { 1067s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1067s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1067s # }; 1067s # 1067s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1067s # 1067s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "NoArgSignal", 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "no-arg-signal" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_b", 1067s # (gchar *) "b", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalB", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-b" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_y", 1067s # (gchar *) "y", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalY", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-y" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_n", 1067s # (gchar *) "n", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalN", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-n" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_q", 1067s # (gchar *) "q", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalQ", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-q" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_i", 1067s # (gchar *) "i", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalI", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-i" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_u", 1067s # (gchar *) "u", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalU", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-u" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_x", 1067s # (gchar *) "x", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalX", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-x" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_t", 1067s # (gchar *) "t", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalT", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-t" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_d", 1067s # (gchar *) "d", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalD", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-d" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_s", 1067s # (gchar *) "s", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalS", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-s" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_o", 1067s # (gchar *) "o", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalO", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-o" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_g", 1067s # (gchar *) "g", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalG", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-g" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_h", 1067s # (gchar *) "h", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalH", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-h" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_ay", 1067s # (gchar *) "ay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalAY", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-ay" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_as", 1067s # (gchar *) "as", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalAS", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-as" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_ao", 1067s # (gchar *) "ao", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalAO", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-ao" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_aay", 1067s # (gchar *) "aay", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalAAY", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-aay" 1067s # }; 1067s # 1067s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "an_asv", 1067s # (gchar *) "a{sv}", 1067s # NULL 1067s # }, 1067s # FALSE 1067s # }; 1067s # 1067s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SingleArgSignalASV", 1067s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1067s # NULL 1067s # }, 1067s # "single-arg-signal-asv" 1067s # }; 1067s # 1067s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1067s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.SignalingIface", 1067s # NULL, 1067s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-signaling-iface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_signaling_iface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_signaling_iface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__VOID (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__UCHAR (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__INT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__UINT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__INT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__UINT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__DOUBLE (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__STRING (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__STRING (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__STRING (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__VARIANT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__STRING (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__BOXED (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__BOXED (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__BOXED (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__VARIANT (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1067s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1067s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1067s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1067s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1067s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1067s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1067s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1067s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1067s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1067s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1067s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1067s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1067s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1067s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1067s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1067s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1067s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1067s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1067s # */ 1067s # 1067s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1067s # { 1067s # /* GObject signals for received D-Bus signals: */ 1067s # /** 1067s # * OrgProjectSignalingIface::no-arg-signal: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1067s # g_signal_new ("no-arg-signal", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1067s # G_TYPE_NONE, 1067s # 0); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-b: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_b: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1067s # g_signal_new ("single-arg-signal-b", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_BOOLEAN); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-y: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_y: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1067s # g_signal_new ("single-arg-signal-y", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_UCHAR); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-n: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_n: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1067s # g_signal_new ("single-arg-signal-n", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_INT); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-q: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_q: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1067s # g_signal_new ("single-arg-signal-q", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_UINT); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-i: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_i: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1067s # g_signal_new ("single-arg-signal-i", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_INT); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-u: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_u: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1067s # g_signal_new ("single-arg-signal-u", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_UINT); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-x: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_x: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1067s # g_signal_new ("single-arg-signal-x", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_INT64); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-t: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_t: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1067s # g_signal_new ("single-arg-signal-t", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_UINT64); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-d: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_d: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1067s # g_signal_new ("single-arg-signal-d", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_DOUBLE); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-s: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_s: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1067s # g_signal_new ("single-arg-signal-s", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_STRING); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-o: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_o: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1067s # g_signal_new ("single-arg-signal-o", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_STRING); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-g: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_g: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1067s # g_signal_new ("single-arg-signal-g", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_STRING); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-h: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_h: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1067s # g_signal_new ("single-arg-signal-h", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_VARIANT); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-ay: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_ay: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1067s # g_signal_new ("single-arg-signal-ay", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_STRING); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-as: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_as: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1067s # g_signal_new ("single-arg-signal-as", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_STRV); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-ao: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_ao: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1067s # g_signal_new ("single-arg-signal-ao", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_STRV); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-aay: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_aay: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1067s # g_signal_new ("single-arg-signal-aay", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_STRV); 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface::single-arg-signal-asv: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_asv: Argument. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1067s # g_signal_new ("single-arg-signal-asv", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1067s # G_TYPE_NONE, 1067s # 1, G_TYPE_VARIANT); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_no_arg_signal: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * 1067s # * Emits the "NoArgSignal" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_no_arg_signal ( 1067s # OrgProjectSignalingIface *object) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_b: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_b: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalB" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_b ( 1067s # OrgProjectSignalingIface *object, 1067s # gboolean arg_an_b) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_y: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_y: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalY" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_y ( 1067s # OrgProjectSignalingIface *object, 1067s # guchar arg_an_y) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_n: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_n: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalN" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_n ( 1067s # OrgProjectSignalingIface *object, 1067s # gint16 arg_an_n) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_q: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_q: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalQ" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_q ( 1067s # OrgProjectSignalingIface *object, 1067s # guint16 arg_an_q) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_i: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_i: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalI" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_i ( 1067s # OrgProjectSignalingIface *object, 1067s # gint arg_an_i) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_u: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_u: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalU" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_u ( 1067s # OrgProjectSignalingIface *object, 1067s # guint arg_an_u) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_x: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_x: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalX" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_x ( 1067s # OrgProjectSignalingIface *object, 1067s # gint64 arg_an_x) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_t: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_t: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalT" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_t ( 1067s # OrgProjectSignalingIface *object, 1067s # guint64 arg_an_t) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_d: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_d: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalD" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_d ( 1067s # OrgProjectSignalingIface *object, 1067s # gdouble arg_an_d) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_s: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_s: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalS" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_s ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *arg_an_s) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_o: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_o: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalO" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_o ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *arg_an_o) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_g: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_g: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalG" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_g ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *arg_an_g) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_h: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_h: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalH" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_h ( 1067s # OrgProjectSignalingIface *object, 1067s # GVariant *arg_an_h) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_ay: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalAY" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *arg_an_ay) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_as: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_as: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalAS" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_as ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *const *arg_an_as) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_ao: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalAO" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *const *arg_an_ao) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_aay: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *const *arg_an_aay) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * @arg_an_asv: Argument to pass with the signal. 1067s # * 1067s # * Emits the "SingleArgSignalASV" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1067s # OrgProjectSignalingIface *object, 1067s # GVariant *arg_an_asv) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceProxy: 1067s # * 1067s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectSignalingIfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectSignalingIfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_signaling_iface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1067s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1067s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceSkeleton: 1067s # * 1067s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_signaling_iface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_signaling_iface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_signaling_iface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1067s # { 1067s # _org_project_signaling_iface_skeleton_handle_method_call, 1067s # _org_project_signaling_iface_skeleton_handle_get_property, 1067s # _org_project_signaling_iface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_signaling_iface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1067s # OrgProjectSignalingIface *object) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1067s # OrgProjectSignalingIface *object, 1067s # gboolean arg_an_b) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1067s # arg_an_b)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1067s # OrgProjectSignalingIface *object, 1067s # guchar arg_an_y) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1067s # arg_an_y)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1067s # OrgProjectSignalingIface *object, 1067s # gint16 arg_an_n) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1067s # arg_an_n)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1067s # OrgProjectSignalingIface *object, 1067s # guint16 arg_an_q) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1067s # arg_an_q)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1067s # OrgProjectSignalingIface *object, 1067s # gint arg_an_i) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1067s # arg_an_i)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1067s # OrgProjectSignalingIface *object, 1067s # guint arg_an_u) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1067s # arg_an_u)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1067s # OrgProjectSignalingIface *object, 1067s # gint64 arg_an_x) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1067s # arg_an_x)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1067s # OrgProjectSignalingIface *object, 1067s # guint64 arg_an_t) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1067s # arg_an_t)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1067s # OrgProjectSignalingIface *object, 1067s # gdouble arg_an_d) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1067s # arg_an_d)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *arg_an_s) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1067s # arg_an_s)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *arg_an_o) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1067s # arg_an_o)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *arg_an_g) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1067s # arg_an_g)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1067s # OrgProjectSignalingIface *object, 1067s # GVariant *arg_an_h) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1067s # arg_an_h)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *arg_an_ay) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1067s # arg_an_ay)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *const *arg_an_as) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1067s # arg_an_as)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *const *arg_an_ao) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1067s # arg_an_ao)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1067s # OrgProjectSignalingIface *object, 1067s # const gchar *const *arg_an_aay) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1067s # arg_an_aay)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1067s # OrgProjectSignalingIface *object, 1067s # GVariant *arg_an_asv) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1067s # arg_an_asv)); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1067s # { 1067s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1067s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1067s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1067s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1067s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1067s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1067s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1067s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1067s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1067s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1067s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1067s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1067s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1067s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1067s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1067s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1067s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1067s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1067s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1067s # gdbus-codegen: /usr/bin/gdbus-codegen 1067s # tmpdir: /tmp/tmpj40padkr 1067s # /tmp/tmpj40padkr/tmpc49wdtvf.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40padkr/tmpc49wdtvf.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.UsefulInterface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectUsefulInterface 1067s # * @title: OrgProjectUsefulInterface 1067s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1067s # */ 1067s # 1067s # enum 1067s # { 1067s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1067s # }; 1067s # 1067s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1067s # 1067s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SimpleSignal", 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "simple-signal" 1067s # }; 1067s # 1067s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1067s # { 1067s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.UsefulInterface", 1067s # NULL, 1067s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-useful-interface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_useful_interface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_useful_interface_signal_marshal_simple_signal ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__VOID (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1067s # */ 1067s # 1067s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # /* GObject signals for received D-Bus signals: */ 1067s # /** 1067s # * OrgProjectUsefulInterface::simple-signal: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1067s # g_signal_new ("simple-signal", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1067s # NULL, 1067s # NULL, 1067s # org_project_useful_interface_signal_marshal_simple_signal, 1067s # G_TYPE_NONE, 1067s # 0); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_emit_simple_signal: 1067s # * @object: A #OrgProjectUsefulInterface. 1067s # * 1067s # * Emits the "SimpleSignal" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_useful_interface_emit_simple_signal ( 1067s # OrgProjectUsefulInterface *object) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxy: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1067s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1067s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_useful_interface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # g_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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeleton: 1067s # * 1067s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectUsefulInterfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_useful_interface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_useful_interface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_useful_interface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1067s # { 1067s # _org_project_useful_interface_skeleton_handle_method_call, 1067s # _org_project_useful_interface_skeleton_handle_get_property, 1067s # _org_project_useful_interface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_useful_interface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # _org_project_useful_interface_on_signal_simple_signal ( 1067s # OrgProjectUsefulInterface *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_useful_interface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1067s # { 1067s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1067s # } 1067s # 1067s # /** 1067s # * org_project_useful_interface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectUsefulInterface * 1067s # org_project_useful_interface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.OtherIface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectOtherIface 1067s # * @title: OrgProjectOtherIface 1067s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1067s # */ 1067s # 1067s # enum 1067s # { 1067s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1067s # }; 1067s # 1067s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1067s # 1067s # /* ---- Introspection data for org.project.OtherIface ---- */ 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SimpleSignal", 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "simple-signal" 1067s # }; 1067s # 1067s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1067s # { 1067s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.OtherIface", 1067s # NULL, 1067s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-other-iface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_other_iface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_other_iface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_iface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_other_iface_signal_marshal_simple_signal ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__VOID (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectOtherIface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectOtherIfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.OtherIface. 1067s # */ 1067s # 1067s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1067s # { 1067s # /* GObject signals for received D-Bus signals: */ 1067s # /** 1067s # * OrgProjectOtherIface::simple-signal: 1067s # * @object: A #OrgProjectOtherIface. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1067s # g_signal_new ("simple-signal", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1067s # NULL, 1067s # NULL, 1067s # org_project_other_iface_signal_marshal_simple_signal, 1067s # G_TYPE_NONE, 1067s # 0); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_iface_emit_simple_signal: 1067s # * @object: A #OrgProjectOtherIface. 1067s # * 1067s # * Emits the "SimpleSignal" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_other_iface_emit_simple_signal ( 1067s # OrgProjectOtherIface *object) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectOtherIfaceProxy: 1067s # * 1067s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectOtherIfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectOtherIfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectOtherIfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_other_iface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1067s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1067s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_iface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_other_iface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_iface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectOtherIface * 1067s # org_project_other_iface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_OTHER_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_iface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectOtherIface * 1067s # org_project_other_iface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_OTHER_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_other_iface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_other_iface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_iface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectOtherIface * 1067s # org_project_other_iface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_OTHER_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_iface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectOtherIface * 1067s # org_project_other_iface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_OTHER_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectOtherIfaceSkeleton: 1067s # * 1067s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectOtherIfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectOtherIfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_other_iface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_other_iface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_other_iface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1067s # { 1067s # _org_project_other_iface_skeleton_handle_method_call, 1067s # _org_project_other_iface_skeleton_handle_get_property, 1067s # _org_project_other_iface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_other_iface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # _org_project_other_iface_on_signal_simple_signal ( 1067s # OrgProjectOtherIface *object) 1067s # { 1067s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_other_iface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1067s # { 1067s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_iface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectOtherIface * 1067s # org_project_other_iface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1067s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1067s # gdbus-codegen: /usr/bin/gdbus-codegen 1067s # tmpdir: /tmp/tmpr63o9k8f 1067s # /tmp/tmpr63o9k8f/tmp7fgwetec.xml: 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # 1067s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr63o9k8f/tmp7fgwetec.xml', '--output', '-', '--body'] 1067s # Return code: 0 1067s # Output: 1067s # /* 1067s # * This file is generated by gdbus-codegen, do not modify it. 1067s # * 1067s # * The license of this code is the same as for the D-Bus interface description 1067s # * it was derived from. Note that it links to GLib, so must comply with the 1067s # * LGPL linking clauses. 1067s # */ 1067s # 1067s # #ifdef HAVE_CONFIG_H 1067s # # include "config.h" 1067s # #endif 1067s # 1067s # #include 1067s # #ifdef G_OS_UNIX 1067s # # include 1067s # #endif 1067s # 1067s # #ifdef G_ENABLE_DEBUG 1067s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1067s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1067s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1067s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1067s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1067s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1067s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1067s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1067s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1067s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1067s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1067s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1067s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1067s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1067s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1067s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1067s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1067s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1067s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1067s # #else /* !G_ENABLE_DEBUG */ 1067s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1067s # * Do not access GValues directly in your code. Instead, use the 1067s # * g_value_get_*() functions 1067s # */ 1067s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1067s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1067s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1067s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1067s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1067s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1067s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1067s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1067s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1067s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1067s # #endif /* !G_ENABLE_DEBUG */ 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusArgInfo parent_struct; 1067s # gboolean use_gvariant; 1067s # } _ExtendedGDBusArgInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusMethodInfo parent_struct; 1067s # const gchar *signal_name; 1067s # gboolean pass_fdlist; 1067s # } _ExtendedGDBusMethodInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusSignalInfo parent_struct; 1067s # const gchar *signal_name; 1067s # } _ExtendedGDBusSignalInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusPropertyInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # guint use_gvariant : 1; 1067s # guint emits_changed_signal : 1; 1067s # } _ExtendedGDBusPropertyInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # GDBusInterfaceInfo parent_struct; 1067s # const gchar *hyphen_name; 1067s # } _ExtendedGDBusInterfaceInfo; 1067s # 1067s # typedef struct 1067s # { 1067s # const _ExtendedGDBusPropertyInfo *info; 1067s # guint prop_id; 1067s # GValue orig_value; /* the value before the change */ 1067s # } ChangedProperty; 1067s # 1067s # static void 1067s # _changed_property_free (ChangedProperty *data) 1067s # { 1067s # g_value_unset (&data->orig_value); 1067s # g_free (data); 1067s # } 1067s # 1067s # static gboolean 1067s # _g_strv_equal0 (gchar **a, gchar **b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # guint n; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # if (g_strv_length (a) != g_strv_length (b)) 1067s # goto out; 1067s # for (n = 0; a[n] != NULL; n++) 1067s # if (g_strcmp0 (a[n], b[n]) != 0) 1067s # goto out; 1067s # ret = TRUE; 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _g_variant_equal0 (GVariant *a, GVariant *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # if (a == NULL && b == NULL) 1067s # { 1067s # ret = TRUE; 1067s # goto out; 1067s # } 1067s # if (a == NULL || b == NULL) 1067s # goto out; 1067s # ret = g_variant_equal (a, b); 1067s # out: 1067s # return ret; 1067s # } 1067s # 1067s # G_GNUC_UNUSED static gboolean 1067s # _g_value_equal (const GValue *a, const GValue *b) 1067s # { 1067s # gboolean ret = FALSE; 1067s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1067s # switch (G_VALUE_TYPE (a)) 1067s # { 1067s # case G_TYPE_BOOLEAN: 1067s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1067s # break; 1067s # case G_TYPE_UCHAR: 1067s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1067s # break; 1067s # case G_TYPE_INT: 1067s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1067s # break; 1067s # case G_TYPE_UINT: 1067s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1067s # break; 1067s # case G_TYPE_INT64: 1067s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1067s # break; 1067s # case G_TYPE_UINT64: 1067s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1067s # break; 1067s # case G_TYPE_DOUBLE: 1067s # { 1067s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1067s # gdouble da = g_value_get_double (a); 1067s # gdouble db = g_value_get_double (b); 1067s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1067s # } 1067s # break; 1067s # case G_TYPE_STRING: 1067s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1067s # break; 1067s # case G_TYPE_VARIANT: 1067s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1067s # break; 1067s # default: 1067s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1067s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1067s # else 1067s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1067s # break; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.SignalingIface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectSignalingIface 1067s # * @title: OrgProjectSignalingIface 1067s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1067s # */ 1067s # 1067s # enum 1067s # { 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1067s # }; 1067s # 1067s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1067s # 1067s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SimpleSignal", 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "simple-signal" 1067s # }; 1067s # 1067s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1067s # { 1067s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.SignalingIface", 1067s # NULL, 1067s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-signaling-iface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_signaling_iface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_signaling_iface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_signaling_iface_signal_marshal_simple_signal ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__VOID (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectSignalingIface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1067s # */ 1067s # 1067s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1067s # { 1067s # /* GObject signals for received D-Bus signals: */ 1067s # /** 1067s # * OrgProjectSignalingIface::simple-signal: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1067s # g_signal_new ("simple-signal", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1067s # NULL, 1067s # NULL, 1067s # org_project_signaling_iface_signal_marshal_simple_signal, 1067s # G_TYPE_NONE, 1067s # 0); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_emit_simple_signal: 1067s # * @object: A #OrgProjectSignalingIface. 1067s # * 1067s # * Emits the "SimpleSignal" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_emit_simple_signal ( 1067s # OrgProjectSignalingIface *object) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceProxy: 1067s # * 1067s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectSignalingIfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectSignalingIfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_signaling_iface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1067s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1067s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_signaling_iface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceSkeleton: 1067s # * 1067s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectSignalingIfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_signaling_iface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_signaling_iface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_signaling_iface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1067s # { 1067s # _org_project_signaling_iface_skeleton_handle_method_call, 1067s # _org_project_signaling_iface_skeleton_handle_get_property, 1067s # _org_project_signaling_iface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_signaling_iface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # _org_project_signaling_iface_on_signal_simple_signal ( 1067s # OrgProjectSignalingIface *object) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1067s # { 1067s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1067s # } 1067s # 1067s # /** 1067s # * org_project_signaling_iface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectSignalingIface * 1067s # org_project_signaling_iface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ 1067s # * Code for interface org.project.OtherSignalingIface 1067s # * ------------------------------------------------------------------------ 1067s # */ 1067s # 1067s # /** 1067s # * SECTION:OrgProjectOtherSignalingIface 1067s # * @title: OrgProjectOtherSignalingIface 1067s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1067s # * 1067s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1067s # */ 1067s # 1067s # enum 1067s # { 1067s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1067s # }; 1067s # 1067s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1067s # 1067s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1067s # 1067s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "SimpleSignal", 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "simple-signal" 1067s # }; 1067s # 1067s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1067s # { 1067s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1067s # NULL 1067s # }; 1067s # 1067s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1067s # { 1067s # { 1067s # -1, 1067s # (gchar *) "org.project.OtherSignalingIface", 1067s # NULL, 1067s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1067s # NULL, 1067s # NULL 1067s # }, 1067s # "org-project-other-signaling-iface", 1067s # }; 1067s # 1067s # 1067s # /** 1067s # * org_project_other_signaling_iface_interface_info: 1067s # * 1067s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1067s # * 1067s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1067s # */ 1067s # GDBusInterfaceInfo * 1067s # org_project_other_signaling_iface_interface_info (void) 1067s # { 1067s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_signaling_iface_override_properties: 1067s # * @klass: The class structure for a #GObject derived class. 1067s # * @property_id_begin: The property id to assign to the first overridden property. 1067s # * 1067s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1067s # * The properties are overridden in the order they are defined. 1067s # * 1067s # * Returns: The last property id. 1067s # */ 1067s # guint 1067s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1067s # { 1067s # return property_id_begin - 1; 1067s # } 1067s # 1067s # 1067s # inline static void 1067s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1067s # GClosure *closure, 1067s # GValue *return_value, 1067s # unsigned int n_param_values, 1067s # const GValue *param_values, 1067s # void *invocation_hint, 1067s # void *marshal_data) 1067s # { 1067s # g_cclosure_marshal_VOID__VOID (closure, 1067s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1067s # } 1067s # 1067s # 1067s # /** 1067s # * OrgProjectOtherSignalingIface: 1067s # * 1067s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectOtherSignalingIfaceIface: 1067s # * @parent_iface: The parent interface. 1067s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1067s # * 1067s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1067s # */ 1067s # 1067s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1067s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1067s # 1067s # static void 1067s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1067s # { 1067s # /* GObject signals for received D-Bus signals: */ 1067s # /** 1067s # * OrgProjectOtherSignalingIface::simple-signal: 1067s # * @object: A #OrgProjectOtherSignalingIface. 1067s # * 1067s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1067s # * 1067s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1067s # */ 1067s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1067s # g_signal_new ("simple-signal", 1067s # G_TYPE_FROM_INTERFACE (iface), 1067s # G_SIGNAL_RUN_LAST, 1067s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1067s # NULL, 1067s # NULL, 1067s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1067s # G_TYPE_NONE, 1067s # 0); 1067s # 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_signaling_iface_emit_simple_signal: 1067s # * @object: A #OrgProjectOtherSignalingIface. 1067s # * 1067s # * Emits the "SimpleSignal" D-Bus signal. 1067s # */ 1067s # void 1067s # org_project_other_signaling_iface_emit_simple_signal ( 1067s # OrgProjectOtherSignalingIface *object) 1067s # { 1067s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1067s # } 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectOtherSignalingIfaceProxy: 1067s # * 1067s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectOtherSignalingIfaceProxyClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1067s # */ 1067s # 1067s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1067s # { 1067s # GData *qdata; 1067s # }; 1067s # 1067s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1067s # { 1067s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1067s # g_datalist_clear (&proxy->priv->qdata); 1067s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1067s # guint prop_id G_GNUC_UNUSED, 1067s # const GValue *value G_GNUC_UNUSED, 1067s # GParamSpec *pspec G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1067s # const gchar *sender_name G_GNUC_UNUSED, 1067s # const gchar *signal_name, 1067s # GVariant *parameters) 1067s # { 1067s # _ExtendedGDBusSignalInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # gsize n; 1067s # guint signal_id; 1067s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1067s # if (info == NULL) 1067s # return; 1067s # num_params = g_variant_n_children (parameters); 1067s # paramv = g_new0 (GValue, num_params + 1); 1067s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1067s # g_value_set_object (¶mv[0], proxy); 1067s # g_variant_iter_init (&iter, parameters); 1067s # n = 1; 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1067s # g_signal_emitv (paramv, signal_id, 0, NULL); 1067s # for (n = 0; n < num_params + 1; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1067s # GVariant *changed_properties, 1067s # const gchar *const *invalidated_properties) 1067s # { 1067s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1067s # guint n; 1067s # const gchar *key; 1067s # GVariantIter *iter; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # g_variant_get (changed_properties, "a{sv}", &iter); 1067s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1067s # g_datalist_remove_data (&proxy->priv->qdata, key); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # g_variant_iter_free (iter); 1067s # for (n = 0; invalidated_properties[n] != NULL; n++) 1067s # { 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1067s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1067s # if (info != NULL) 1067s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1067s # } 1067s # } 1067s # 1067s # static void 1067s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1067s # #else 1067s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1067s # #endif 1067s # 1067s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusProxyClass *proxy_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1067s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1067s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1067s # 1067s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1067s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1067s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_signaling_iface_proxy_new: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_other_signaling_iface_proxy_new ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_signaling_iface_proxy_new_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectOtherSignalingIface * 1067s # org_project_other_signaling_iface_proxy_new_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_signaling_iface_proxy_new_sync: 1067s # * @connection: A #GDBusConnection. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectOtherSignalingIface * 1067s # org_project_other_signaling_iface_proxy_new_sync ( 1067s # GDBusConnection *connection, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /** 1067s # * org_project_other_signaling_iface_proxy_new_for_bus: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1067s # * @user_data: User data to pass to @callback. 1067s # * 1067s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1067s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1067s # * 1067s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1067s # */ 1067s # void 1067s # org_project_other_signaling_iface_proxy_new_for_bus ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GAsyncReadyCallback callback, 1067s # gpointer user_data) 1067s # { 1067s # 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); 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1067s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectOtherSignalingIface * 1067s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1067s # GAsyncResult *res, 1067s # GError **error) 1067s # { 1067s # GObject *ret; 1067s # GObject *source_object; 1067s # source_object = g_async_result_get_source_object (res); 1067s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1067s # g_object_unref (source_object); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1067s # * @bus_type: A #GBusType. 1067s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1067s # * @name: A bus name (well-known or unique). 1067s # * @object_path: An object path. 1067s # * @cancellable: (nullable): A #GCancellable or %NULL. 1067s # * @error: Return location for error or %NULL 1067s # * 1067s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1067s # * 1067s # * The calling thread is blocked until a reply is received. 1067s # * 1067s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1067s # */ 1067s # OrgProjectOtherSignalingIface * 1067s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1067s # GBusType bus_type, 1067s # GDBusProxyFlags flags, 1067s # const gchar *name, 1067s # const gchar *object_path, 1067s # GCancellable *cancellable, 1067s # GError **error) 1067s # { 1067s # GInitable *ret; 1067s # 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); 1067s # if (ret != NULL) 1067s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1067s # else 1067s # return NULL; 1067s # } 1067s # 1067s # 1067s # /* ------------------------------------------------------------------------ */ 1067s # 1067s # /** 1067s # * OrgProjectOtherSignalingIfaceSkeleton: 1067s # * 1067s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1067s # */ 1067s # 1067s # /** 1067s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1067s # * @parent_class: The parent class. 1067s # * 1067s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1067s # */ 1067s # 1067s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1067s # { 1067s # GValue *properties; 1067s # GList *changed_properties; 1067s # GSource *changed_properties_idle_source; 1067s # GMainContext *context; 1067s # GMutex lock; 1067s # }; 1067s # 1067s # static void 1067s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name, 1067s # const gchar *method_name, 1067s # GVariant *parameters, 1067s # GDBusMethodInvocation *invocation, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1067s # _ExtendedGDBusMethodInfo *info; 1067s # GVariantIter iter; 1067s # GVariant *child; 1067s # GValue *paramv; 1067s # gsize num_params; 1067s # guint num_extra; 1067s # gsize n; 1067s # guint signal_id; 1067s # GValue return_value = G_VALUE_INIT; 1067s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1067s # g_assert (info != NULL); 1067s # num_params = g_variant_n_children (parameters); 1067s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1067s # n = 0; 1067s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1067s # g_value_set_object (¶mv[n++], skeleton); 1067s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1067s # g_value_set_object (¶mv[n++], invocation); 1067s # if (info->pass_fdlist) 1067s # { 1067s # #ifdef G_OS_UNIX 1067s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1067s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1067s # #else 1067s # g_assert_not_reached (); 1067s # #endif 1067s # } 1067s # g_variant_iter_init (&iter, parameters); 1067s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1067s # { 1067s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1067s # if (arg_info->use_gvariant) 1067s # { 1067s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1067s # g_value_set_variant (¶mv[n], child); 1067s # n++; 1067s # } 1067s # else 1067s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1067s # g_variant_unref (child); 1067s # } 1067s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1067s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1067s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1067s # if (!g_value_get_boolean (&return_value)) 1067s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1067s # g_value_unset (&return_value); 1067s # for (n = 0; n < num_params + num_extra; n++) 1067s # g_value_unset (¶mv[n]); 1067s # g_free (paramv); 1067s # } 1067s # 1067s # static GVariant * 1067s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # GVariant *ret; 1067s # ret = NULL; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # g_value_init (&value, pspec->value_type); 1067s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1067s # g_value_unset (&value); 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static gboolean 1067s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1067s # GDBusConnection *connection G_GNUC_UNUSED, 1067s # const gchar *sender G_GNUC_UNUSED, 1067s # const gchar *object_path G_GNUC_UNUSED, 1067s # const gchar *interface_name G_GNUC_UNUSED, 1067s # const gchar *property_name, 1067s # GVariant *variant, 1067s # GError **error, 1067s # gpointer user_data) 1067s # { 1067s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1067s # GValue value = G_VALUE_INIT; 1067s # GParamSpec *pspec; 1067s # _ExtendedGDBusPropertyInfo *info; 1067s # gboolean ret; 1067s # ret = FALSE; 1067s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1067s # g_assert (info != NULL); 1067s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1067s # if (pspec == NULL) 1067s # { 1067s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1067s # } 1067s # else 1067s # { 1067s # if (info->use_gvariant) 1067s # g_value_set_variant (&value, variant); 1067s # else 1067s # g_dbus_gvariant_to_gvalue (variant, &value); 1067s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1067s # g_value_unset (&value); 1067s # ret = TRUE; 1067s # } 1067s # return ret; 1067s # } 1067s # 1067s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1067s # { 1067s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1067s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1067s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1067s # {NULL} 1067s # }; 1067s # 1067s # static GDBusInterfaceInfo * 1067s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return org_project_other_signaling_iface_interface_info (); 1067s # } 1067s # 1067s # static GDBusInterfaceVTable * 1067s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1067s # { 1067s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1067s # } 1067s # 1067s # static GVariant * 1067s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1067s # { 1067s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1067s # 1067s # GVariantBuilder builder; 1067s # guint n; 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1067s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #else 1067s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1067s # #endif 1067s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1067s # goto out; 1067s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1067s # { 1067s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1067s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1067s # { 1067s # GVariant *value; 1067s # 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); 1067s # if (value != NULL) 1067s # { 1067s # g_variant_take_ref (value); 1067s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1067s # g_variant_unref (value); 1067s # } 1067s # } 1067s # } 1067s # out: 1067s # return g_variant_builder_end (&builder); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1067s # { 1067s # } 1067s # 1067s # static void 1067s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1067s # OrgProjectOtherSignalingIface *object) 1067s # { 1067s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1067s # 1067s # GList *connections, *l; 1067s # GVariant *signal_variant; 1067s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1067s # 1067s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1067s # for (l = connections; l != NULL; l = l->next) 1067s # { 1067s # GDBusConnection *connection = l->data; 1067s # g_dbus_connection_emit_signal (connection, 1067s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1067s # signal_variant, NULL); 1067s # } 1067s # g_variant_unref (signal_variant); 1067s # g_list_free_full (connections, g_object_unref); 1067s # } 1067s # 1067s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1067s # 1067s # #else 1067s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1067s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1067s # 1067s # #endif 1067s # static void 1067s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1067s # { 1067s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1067s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1067s # if (skeleton->priv->changed_properties_idle_source != NULL) 1067s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1067s # g_main_context_unref (skeleton->priv->context); 1067s # g_mutex_clear (&skeleton->priv->lock); 1067s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1067s # { 1067s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1067s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1067s # #else 1067s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1067s # #endif 1067s # 1067s # g_mutex_init (&skeleton->priv->lock); 1067s # skeleton->priv->context = g_main_context_ref_thread_default (); 1067s # } 1067s # 1067s # static void 1067s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1067s # { 1067s # GObjectClass *gobject_class; 1067s # GDBusInterfaceSkeletonClass *skeleton_class; 1067s # 1067s # gobject_class = G_OBJECT_CLASS (klass); 1067s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1067s # 1067s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1067s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1067s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1067s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1067s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1067s # 1067s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1067s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1067s # #endif 1067s # } 1067s # 1067s # static void 1067s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1067s # { 1067s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1067s # } 1067s # 1067s # /** 1067s # * org_project_other_signaling_iface_skeleton_new: 1067s # * 1067s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1067s # * 1067s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1067s # */ 1067s # OrgProjectOtherSignalingIface * 1067s # org_project_other_signaling_iface_skeleton_new (void) 1067s # { 1067s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1067s # } 1067s # Error: 1068s # Executing: glib/codegen.py.test 1068s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1068s # gdbus-codegen: /usr/bin/gdbus-codegen 1068s # tmpdir: /tmp/tmp0vgxjf5k 1068s # /tmp/tmp0vgxjf5k/tmplttzj_nt.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmplttzj_nt.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_b", 1068s # (gchar *) "b", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalB", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-b" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-b: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_b: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1068s # g_signal_new ("single-arg-signal-b", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_BOOLEAN); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_b: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_b: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalB" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_b ( 1068s # OrgProjectSignalingIface *object, 1068s # gboolean arg_arg_b) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1068s # OrgProjectSignalingIface *object, 1068s # gboolean arg_arg_b) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1068s # arg_arg_b)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmpddjbfr11.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmpddjbfr11.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_y", 1068s # (gchar *) "y", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalY", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-y" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__UCHAR (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-y: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_y: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1068s # g_signal_new ("single-arg-signal-y", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_UCHAR); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_y: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_y: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalY" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_y ( 1068s # OrgProjectSignalingIface *object, 1068s # guchar arg_arg_y) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1068s # OrgProjectSignalingIface *object, 1068s # guchar arg_arg_y) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1068s # arg_arg_y)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmpb1qbzger.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmpb1qbzger.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_n", 1068s # (gchar *) "n", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalN", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-n" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__INT (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-n: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_n: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1068s # g_signal_new ("single-arg-signal-n", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_INT); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_n: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_n: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalN" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_n ( 1068s # OrgProjectSignalingIface *object, 1068s # gint16 arg_arg_n) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1068s # OrgProjectSignalingIface *object, 1068s # gint16 arg_arg_n) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1068s # arg_arg_n)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmpp4xycppq.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmpp4xycppq.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_q", 1068s # (gchar *) "q", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalQ", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-q" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__UINT (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-q: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_q: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1068s # g_signal_new ("single-arg-signal-q", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_UINT); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_q: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_q: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalQ" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_q ( 1068s # OrgProjectSignalingIface *object, 1068s # guint16 arg_arg_q) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1068s # OrgProjectSignalingIface *object, 1068s # guint16 arg_arg_q) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1068s # arg_arg_q)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmpleflied7.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmpleflied7.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_i", 1068s # (gchar *) "i", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalI", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-i" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__INT (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-i: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_i: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1068s # g_signal_new ("single-arg-signal-i", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_INT); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_i: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_i: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalI" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_i ( 1068s # OrgProjectSignalingIface *object, 1068s # gint arg_arg_i) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1068s # OrgProjectSignalingIface *object, 1068s # gint arg_arg_i) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1068s # arg_arg_i)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmp91cjdoum.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmp91cjdoum.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_u", 1068s # (gchar *) "u", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalU", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-u" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__UINT (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-u: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_u: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1068s # g_signal_new ("single-arg-signal-u", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_UINT); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_u: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_u: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalU" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_u ( 1068s # OrgProjectSignalingIface *object, 1068s # guint arg_arg_u) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1068s # OrgProjectSignalingIface *object, 1068s # guint arg_arg_u) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1068s # arg_arg_u)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmpzfbm47_0.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmpzfbm47_0.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static void 1068s # _g_dbus_codegen_marshal_VOID__INT64 ( 1068s # GClosure *closure, 1068s # GValue *return_value G_GNUC_UNUSED, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint G_GNUC_UNUSED, 1068s # void *marshal_data) 1068s # { 1068s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1068s # (void *data1, 1068s # gint64 arg_arg_x, 1068s # void *data2); 1068s # _GDbusCodegenMarshalVoid_Int64Func callback; 1068s # GCClosure *cc = (GCClosure*) closure; 1068s # void *data1, *data2; 1068s # 1068s # g_return_if_fail (n_param_values == 2); 1068s # 1068s # if (G_CCLOSURE_SWAP_DATA (closure)) 1068s # { 1068s # data1 = closure->data; 1068s # data2 = g_value_peek_pointer (param_values + 0); 1068s # } 1068s # else 1068s # { 1068s # data1 = g_value_peek_pointer (param_values + 0); 1068s # data2 = closure->data; 1068s # } 1068s # 1068s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1068s # (marshal_data ? marshal_data : cc->callback); 1068s # 1068s # callback (data1, 1068s # g_marshal_value_peek_int64 (param_values + 1), 1068s # data2); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_x", 1068s # (gchar *) "x", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalX", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-x" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-x: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_x: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1068s # g_signal_new ("single-arg-signal-x", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_INT64); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_x: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_x: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalX" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_x ( 1068s # OrgProjectSignalingIface *object, 1068s # gint64 arg_arg_x) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1068s # OrgProjectSignalingIface *object, 1068s # gint64 arg_arg_x) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1068s # arg_arg_x)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmpmjtlz5ue.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmpmjtlz5ue.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static void 1068s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1068s # GClosure *closure, 1068s # GValue *return_value G_GNUC_UNUSED, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint G_GNUC_UNUSED, 1068s # void *marshal_data) 1068s # { 1068s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1068s # (void *data1, 1068s # guint64 arg_arg_t, 1068s # void *data2); 1068s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1068s # GCClosure *cc = (GCClosure*) closure; 1068s # void *data1, *data2; 1068s # 1068s # g_return_if_fail (n_param_values == 2); 1068s # 1068s # if (G_CCLOSURE_SWAP_DATA (closure)) 1068s # { 1068s # data1 = closure->data; 1068s # data2 = g_value_peek_pointer (param_values + 0); 1068s # } 1068s # else 1068s # { 1068s # data1 = g_value_peek_pointer (param_values + 0); 1068s # data2 = closure->data; 1068s # } 1068s # 1068s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1068s # (marshal_data ? marshal_data : cc->callback); 1068s # 1068s # callback (data1, 1068s # g_marshal_value_peek_uint64 (param_values + 1), 1068s # data2); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_t", 1068s # (gchar *) "t", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalT", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-t" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-t: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_t: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1068s # g_signal_new ("single-arg-signal-t", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_UINT64); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_t: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_t: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalT" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_t ( 1068s # OrgProjectSignalingIface *object, 1068s # guint64 arg_arg_t) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1068s # OrgProjectSignalingIface *object, 1068s # guint64 arg_arg_t) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1068s # arg_arg_t)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmpup5ybwyy.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmpup5ybwyy.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_d", 1068s # (gchar *) "d", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalD", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-d" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__DOUBLE (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-d: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_d: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1068s # g_signal_new ("single-arg-signal-d", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_DOUBLE); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_d: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_d: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalD" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_d ( 1068s # OrgProjectSignalingIface *object, 1068s # gdouble arg_arg_d) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1068s # OrgProjectSignalingIface *object, 1068s # gdouble arg_arg_d) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1068s # arg_arg_d)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmps2ysvpsn.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmps2ysvpsn.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_s", 1068s # (gchar *) "s", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalS", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-s" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__STRING (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-s: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_s: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1068s # g_signal_new ("single-arg-signal-s", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_STRING); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_s: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_s: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalS" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_s ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *arg_arg_s) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *arg_arg_s) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1068s # arg_arg_s)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmpfo4u3733.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmpfo4u3733.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_o", 1068s # (gchar *) "o", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalO", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-o" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__STRING (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-o: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_o: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1068s # g_signal_new ("single-arg-signal-o", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_STRING); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_o: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_o: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalO" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_o ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *arg_arg_o) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *arg_arg_o) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1068s # arg_arg_o)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmpjy7riamx.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmpjy7riamx.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_g", 1068s # (gchar *) "g", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalG", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-g" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__STRING (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-g: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_g: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1068s # g_signal_new ("single-arg-signal-g", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_STRING); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_g: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_g: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalG" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_g ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *arg_arg_g) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *arg_arg_g) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1068s # arg_arg_g)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmpqh17oicw.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmpqh17oicw.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_h", 1068s # (gchar *) "h", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalH", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-h" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VARIANT (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-h: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_h: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1068s # g_signal_new ("single-arg-signal-h", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_VARIANT); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_h: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_h: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalH" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_h ( 1068s # OrgProjectSignalingIface *object, 1068s # GVariant *arg_arg_h) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1068s # OrgProjectSignalingIface *object, 1068s # GVariant *arg_arg_h) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1068s # arg_arg_h)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmpmxloonmx.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmpmxloonmx.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_ay", 1068s # (gchar *) "ay", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalAy", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-ay" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__STRING (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-ay: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_ay: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1068s # g_signal_new ("single-arg-signal-ay", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_STRING); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_ay: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalAy" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *arg_arg_ay) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *arg_arg_ay) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1068s # arg_arg_ay)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmp71ylycda.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmp71ylycda.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_as", 1068s # (gchar *) "as", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalAs", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-as" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__BOXED (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-as: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_as: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1068s # g_signal_new ("single-arg-signal-as", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_STRV); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_as: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_as: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalAs" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_as ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *const *arg_arg_as) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *const *arg_arg_as) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1068s # arg_arg_as)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmp66wdmcku.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmp66wdmcku.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_ao", 1068s # (gchar *) "ao", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalAo", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-ao" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__BOXED (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-ao: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_ao: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1068s # g_signal_new ("single-arg-signal-ao", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_STRV); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_ao: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalAo" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *const *arg_arg_ao) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *const *arg_arg_ao) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1068s # arg_arg_ao)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmpyh8mdh0z.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmpyh8mdh0z.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_aay", 1068s # (gchar *) "aay", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalAay", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-aay" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__BOXED (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-aay: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_aay: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1068s # g_signal_new ("single-arg-signal-aay", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_STRV); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_aay: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalAay" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *const *arg_arg_aay) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1068s # OrgProjectSignalingIface *object, 1068s # const gchar *const *arg_arg_aay) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1068s # arg_arg_aay)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s # 1068s # /tmp/tmp0vgxjf5k/tmpm655xwhe.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0vgxjf5k/tmpm655xwhe.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "arg_asv", 1068s # (gchar *) "a{sv}", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SingleArgSignalAsv", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "single-arg-signal-asv" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VARIANT (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::single-arg-signal-asv: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_asv: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1068s # g_signal_new ("single-arg-signal-asv", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1068s # G_TYPE_NONE, 1068s # 1, G_TYPE_VARIANT); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_arg_asv: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1068s # OrgProjectSignalingIface *object, 1068s # GVariant *arg_arg_asv) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1068s # OrgProjectSignalingIface *object, 1068s # GVariant *arg_arg_asv) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1068s # arg_arg_asv)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1068s # gdbus-codegen: /usr/bin/gdbus-codegen 1068s # tmpdir: /tmp/tmpsnrzf7av 1068s # /tmp/tmpsnrzf7av/tmpsx5vzsnu.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsnrzf7av/tmpsx5vzsnu.xml', '--output', '-', '--body'] 1068s # Return code: 0 1068s # Output: 1068s # /* 1068s # * This file is generated by gdbus-codegen, do not modify it. 1068s # * 1068s # * The license of this code is the same as for the D-Bus interface description 1068s # * it was derived from. Note that it links to GLib, so must comply with the 1068s # * LGPL linking clauses. 1068s # */ 1068s # 1068s # #ifdef HAVE_CONFIG_H 1068s # # include "config.h" 1068s # #endif 1068s # 1068s # #include 1068s # #ifdef G_OS_UNIX 1068s # # include 1068s # #endif 1068s # 1068s # #ifdef G_ENABLE_DEBUG 1068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1068s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1068s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1068s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1068s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1068s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1068s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1068s # #else /* !G_ENABLE_DEBUG */ 1068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1068s # * Do not access GValues directly in your code. Instead, use the 1068s # * g_value_get_*() functions 1068s # */ 1068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1068s # #endif /* !G_ENABLE_DEBUG */ 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusArgInfo parent_struct; 1068s # gboolean use_gvariant; 1068s # } _ExtendedGDBusArgInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusMethodInfo parent_struct; 1068s # const gchar *signal_name; 1068s # gboolean pass_fdlist; 1068s # } _ExtendedGDBusMethodInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusSignalInfo parent_struct; 1068s # const gchar *signal_name; 1068s # } _ExtendedGDBusSignalInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusPropertyInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # guint use_gvariant : 1; 1068s # guint emits_changed_signal : 1; 1068s # } _ExtendedGDBusPropertyInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # GDBusInterfaceInfo parent_struct; 1068s # const gchar *hyphen_name; 1068s # } _ExtendedGDBusInterfaceInfo; 1068s # 1068s # typedef struct 1068s # { 1068s # const _ExtendedGDBusPropertyInfo *info; 1068s # guint prop_id; 1068s # GValue orig_value; /* the value before the change */ 1068s # } ChangedProperty; 1068s # 1068s # static void 1068s # _changed_property_free (ChangedProperty *data) 1068s # { 1068s # g_value_unset (&data->orig_value); 1068s # g_free (data); 1068s # } 1068s # 1068s # static gboolean 1068s # _g_strv_equal0 (gchar **a, gchar **b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # guint n; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # if (g_strv_length (a) != g_strv_length (b)) 1068s # goto out; 1068s # for (n = 0; a[n] != NULL; n++) 1068s # if (g_strcmp0 (a[n], b[n]) != 0) 1068s # goto out; 1068s # ret = TRUE; 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _g_variant_equal0 (GVariant *a, GVariant *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # if (a == NULL && b == NULL) 1068s # { 1068s # ret = TRUE; 1068s # goto out; 1068s # } 1068s # if (a == NULL || b == NULL) 1068s # goto out; 1068s # ret = g_variant_equal (a, b); 1068s # out: 1068s # return ret; 1068s # } 1068s # 1068s # G_GNUC_UNUSED static gboolean 1068s # _g_value_equal (const GValue *a, const GValue *b) 1068s # { 1068s # gboolean ret = FALSE; 1068s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1068s # switch (G_VALUE_TYPE (a)) 1068s # { 1068s # case G_TYPE_BOOLEAN: 1068s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1068s # break; 1068s # case G_TYPE_UCHAR: 1068s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1068s # break; 1068s # case G_TYPE_INT: 1068s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1068s # break; 1068s # case G_TYPE_UINT: 1068s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1068s # break; 1068s # case G_TYPE_INT64: 1068s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1068s # break; 1068s # case G_TYPE_UINT64: 1068s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1068s # break; 1068s # case G_TYPE_DOUBLE: 1068s # { 1068s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1068s # gdouble da = g_value_get_double (a); 1068s # gdouble db = g_value_get_double (b); 1068s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1068s # } 1068s # break; 1068s # case G_TYPE_STRING: 1068s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1068s # break; 1068s # case G_TYPE_VARIANT: 1068s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1068s # break; 1068s # default: 1068s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1068s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1068s # else 1068s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1068s # break; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static void 1068s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1068s # GClosure *closure, 1068s # GValue *return_value G_GNUC_UNUSED, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint G_GNUC_UNUSED, 1068s # void *marshal_data) 1068s # { 1068s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1068s # (void *data1, 1068s # gboolean arg_an_b, 1068s # guchar arg_an_y, 1068s # gint16 arg_an_n, 1068s # guint16 arg_an_q, 1068s # gint arg_an_i, 1068s # guint arg_an_u, 1068s # gint64 arg_an_x, 1068s # guint64 arg_an_t, 1068s # gdouble arg_an_d, 1068s # const gchar *arg_an_s, 1068s # const gchar *arg_an_o, 1068s # const gchar *arg_an_g, 1068s # GVariant *arg_an_h, 1068s # const gchar *arg_an_ay, 1068s # const gchar *const *arg_an_as, 1068s # const gchar *const *arg_an_ao, 1068s # const gchar *const *arg_an_aay, 1068s # GVariant *arg_an_asv, 1068s # void *data2); 1068s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1068s # GCClosure *cc = (GCClosure*) closure; 1068s # void *data1, *data2; 1068s # 1068s # g_return_if_fail (n_param_values == 19); 1068s # 1068s # if (G_CCLOSURE_SWAP_DATA (closure)) 1068s # { 1068s # data1 = closure->data; 1068s # data2 = g_value_peek_pointer (param_values + 0); 1068s # } 1068s # else 1068s # { 1068s # data1 = g_value_peek_pointer (param_values + 0); 1068s # data2 = closure->data; 1068s # } 1068s # 1068s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1068s # (marshal_data ? marshal_data : cc->callback); 1068s # 1068s # callback (data1, 1068s # g_marshal_value_peek_boolean (param_values + 1), 1068s # g_marshal_value_peek_uchar (param_values + 2), 1068s # g_marshal_value_peek_int (param_values + 3), 1068s # g_marshal_value_peek_uint (param_values + 4), 1068s # g_marshal_value_peek_int (param_values + 5), 1068s # g_marshal_value_peek_uint (param_values + 6), 1068s # g_marshal_value_peek_int64 (param_values + 7), 1068s # g_marshal_value_peek_uint64 (param_values + 8), 1068s # g_marshal_value_peek_double (param_values + 9), 1068s # g_marshal_value_peek_string (param_values + 10), 1068s # g_marshal_value_peek_string (param_values + 11), 1068s # g_marshal_value_peek_string (param_values + 12), 1068s # g_marshal_value_peek_variant (param_values + 13), 1068s # g_marshal_value_peek_string (param_values + 14), 1068s # g_marshal_value_peek_boxed (param_values + 15), 1068s # g_marshal_value_peek_boxed (param_values + 16), 1068s # g_marshal_value_peek_boxed (param_values + 17), 1068s # g_marshal_value_peek_variant (param_values + 18), 1068s # data2); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ 1068s # * Code for interface org.project.SignalingIface 1068s # * ------------------------------------------------------------------------ 1068s # */ 1068s # 1068s # /** 1068s # * SECTION:OrgProjectSignalingIface 1068s # * @title: OrgProjectSignalingIface 1068s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1068s # * 1068s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1068s # */ 1068s # 1068s # enum 1068s # { 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1068s # }; 1068s # 1068s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1068s # 1068s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SimpleSignal", 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "simple-signal" 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_b", 1068s # (gchar *) "b", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_y", 1068s # (gchar *) "y", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_n", 1068s # (gchar *) "n", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_q", 1068s # (gchar *) "q", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_i", 1068s # (gchar *) "i", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_u", 1068s # (gchar *) "u", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_x", 1068s # (gchar *) "x", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_t", 1068s # (gchar *) "t", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_d", 1068s # (gchar *) "d", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_s", 1068s # (gchar *) "s", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_o", 1068s # (gchar *) "o", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_g", 1068s # (gchar *) "g", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_h", 1068s # (gchar *) "h", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_ay", 1068s # (gchar *) "ay", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_as", 1068s # (gchar *) "as", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_ao", 1068s # (gchar *) "ao", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_aay", 1068s # (gchar *) "aay", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "an_asv", 1068s # (gchar *) "a{sv}", 1068s # NULL 1068s # }, 1068s # FALSE 1068s # }; 1068s # 1068s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "SignalWithManyArgs", 1068s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1068s # NULL 1068s # }, 1068s # "signal-with-many-args" 1068s # }; 1068s # 1068s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1068s # { 1068s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1068s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1068s # NULL 1068s # }; 1068s # 1068s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1068s # { 1068s # { 1068s # -1, 1068s # (gchar *) "org.project.SignalingIface", 1068s # NULL, 1068s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1068s # NULL, 1068s # NULL 1068s # }, 1068s # "org-project-signaling-iface", 1068s # }; 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_interface_info: 1068s # * 1068s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1068s # * 1068s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1068s # */ 1068s # GDBusInterfaceInfo * 1068s # org_project_signaling_iface_interface_info (void) 1068s # { 1068s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_override_properties: 1068s # * @klass: The class structure for a #GObject derived class. 1068s # * @property_id_begin: The property id to assign to the first overridden property. 1068s # * 1068s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1068s # * The properties are overridden in the order they are defined. 1068s # * 1068s # * Returns: The last property id. 1068s # */ 1068s # guint 1068s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1068s # { 1068s # return property_id_begin - 1; 1068s # } 1068s # 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_simple_signal ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # g_cclosure_marshal_VOID__VOID (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # inline static void 1068s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1068s # GClosure *closure, 1068s # GValue *return_value, 1068s # unsigned int n_param_values, 1068s # const GValue *param_values, 1068s # void *invocation_hint, 1068s # void *marshal_data) 1068s # { 1068s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1068s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1068s # } 1068s # 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface: 1068s # * 1068s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceIface: 1068s # * @parent_iface: The parent interface. 1068s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1068s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1068s # * 1068s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1068s # */ 1068s # 1068s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1068s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1068s # 1068s # static void 1068s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # /* GObject signals for received D-Bus signals: */ 1068s # /** 1068s # * OrgProjectSignalingIface::simple-signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1068s # g_signal_new ("simple-signal", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_simple_signal, 1068s # G_TYPE_NONE, 1068s # 0); 1068s # 1068s # /** 1068s # * OrgProjectSignalingIface::signal-with-many-args: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_an_b: Argument. 1068s # * @arg_an_y: Argument. 1068s # * @arg_an_n: Argument. 1068s # * @arg_an_q: Argument. 1068s # * @arg_an_i: Argument. 1068s # * @arg_an_u: Argument. 1068s # * @arg_an_x: Argument. 1068s # * @arg_an_t: Argument. 1068s # * @arg_an_d: Argument. 1068s # * @arg_an_s: Argument. 1068s # * @arg_an_o: Argument. 1068s # * @arg_an_g: Argument. 1068s # * @arg_an_h: Argument. 1068s # * @arg_an_ay: Argument. 1068s # * @arg_an_as: Argument. 1068s # * @arg_an_ao: Argument. 1068s # * @arg_an_aay: Argument. 1068s # * @arg_an_asv: Argument. 1068s # * 1068s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1068s # * 1068s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1068s # */ 1068s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1068s # g_signal_new ("signal-with-many-args", 1068s # G_TYPE_FROM_INTERFACE (iface), 1068s # G_SIGNAL_RUN_LAST, 1068s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1068s # NULL, 1068s # NULL, 1068s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1068s # G_TYPE_NONE, 1068s # 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); 1068s # 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_simple_signal: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * 1068s # * Emits the "SimpleSignal" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_emit_signal_with_many_args: 1068s # * @object: A #OrgProjectSignalingIface. 1068s # * @arg_an_b: Argument to pass with the signal. 1068s # * @arg_an_y: Argument to pass with the signal. 1068s # * @arg_an_n: Argument to pass with the signal. 1068s # * @arg_an_q: Argument to pass with the signal. 1068s # * @arg_an_i: Argument to pass with the signal. 1068s # * @arg_an_u: Argument to pass with the signal. 1068s # * @arg_an_x: Argument to pass with the signal. 1068s # * @arg_an_t: Argument to pass with the signal. 1068s # * @arg_an_d: Argument to pass with the signal. 1068s # * @arg_an_s: Argument to pass with the signal. 1068s # * @arg_an_o: Argument to pass with the signal. 1068s # * @arg_an_g: Argument to pass with the signal. 1068s # * @arg_an_h: Argument to pass with the signal. 1068s # * @arg_an_ay: Argument to pass with the signal. 1068s # * @arg_an_as: Argument to pass with the signal. 1068s # * @arg_an_ao: Argument to pass with the signal. 1068s # * @arg_an_aay: Argument to pass with the signal. 1068s # * @arg_an_asv: Argument to pass with the signal. 1068s # * 1068s # * Emits the "SignalWithManyArgs" D-Bus signal. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_emit_signal_with_many_args ( 1068s # OrgProjectSignalingIface *object, 1068s # gboolean arg_an_b, 1068s # guchar arg_an_y, 1068s # gint16 arg_an_n, 1068s # guint16 arg_an_q, 1068s # gint arg_an_i, 1068s # guint arg_an_u, 1068s # gint64 arg_an_x, 1068s # guint64 arg_an_t, 1068s # gdouble arg_an_d, 1068s # const gchar *arg_an_s, 1068s # const gchar *arg_an_o, 1068s # const gchar *arg_an_g, 1068s # GVariant *arg_an_h, 1068s # const gchar *arg_an_ay, 1068s # const gchar *const *arg_an_as, 1068s # const gchar *const *arg_an_ao, 1068s # const gchar *const *arg_an_aay, 1068s # GVariant *arg_an_asv) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxy: 1068s # * 1068s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceProxyClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceProxy. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceProxyPrivate 1068s # { 1068s # GData *qdata; 1068s # }; 1068s # 1068s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_proxy_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1068s # g_datalist_clear (&proxy->priv->qdata); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1068s # guint prop_id G_GNUC_UNUSED, 1068s # const GValue *value G_GNUC_UNUSED, 1068s # GParamSpec *pspec G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1068s # const gchar *sender_name G_GNUC_UNUSED, 1068s # const gchar *signal_name, 1068s # GVariant *parameters) 1068s # { 1068s # _ExtendedGDBusSignalInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # gsize n; 1068s # guint signal_id; 1068s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1068s # if (info == NULL) 1068s # return; 1068s # num_params = g_variant_n_children (parameters); 1068s # paramv = g_new0 (GValue, num_params + 1); 1068s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[0], proxy); 1068s # g_variant_iter_init (&iter, parameters); 1068s # n = 1; 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_signal_emitv (paramv, signal_id, 0, NULL); 1068s # for (n = 0; n < num_params + 1; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1068s # GVariant *changed_properties, 1068s # const gchar *const *invalidated_properties) 1068s # { 1068s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1068s # guint n; 1068s # const gchar *key; 1068s # GVariantIter *iter; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # g_variant_get (changed_properties, "a{sv}", &iter); 1068s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1068s # g_datalist_remove_data (&proxy->priv->qdata, key); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # g_variant_iter_free (iter); 1068s # for (n = 0; invalidated_properties[n] != NULL; n++) 1068s # { 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1068s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1068s # if (info != NULL) 1068s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1068s # } 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1068s # #else 1068s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1068s # #endif 1068s # 1068s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusProxyClass *proxy_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1068s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1068s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1068s # 1068s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1068s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1068s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_sync: 1068s # * @connection: A #GDBusConnection. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_sync ( 1068s # GDBusConnection *connection, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1068s # * @user_data: User data to pass to @callback. 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1068s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1068s # */ 1068s # void 1068s # org_project_signaling_iface_proxy_new_for_bus ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GAsyncReadyCallback callback, 1068s # gpointer user_data) 1068s # { 1068s # 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); 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1068s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1068s # GAsyncResult *res, 1068s # GError **error) 1068s # { 1068s # GObject *ret; 1068s # GObject *source_object; 1068s # source_object = g_async_result_get_source_object (res); 1068s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1068s # g_object_unref (source_object); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1068s # * @bus_type: A #GBusType. 1068s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1068s # * @name: A bus name (well-known or unique). 1068s # * @object_path: An object path. 1068s # * @cancellable: (nullable): A #GCancellable or %NULL. 1068s # * @error: Return location for error or %NULL 1068s # * 1068s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1068s # * 1068s # * The calling thread is blocked until a reply is received. 1068s # * 1068s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1068s # GBusType bus_type, 1068s # GDBusProxyFlags flags, 1068s # const gchar *name, 1068s # const gchar *object_path, 1068s # GCancellable *cancellable, 1068s # GError **error) 1068s # { 1068s # GInitable *ret; 1068s # 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); 1068s # if (ret != NULL) 1068s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1068s # else 1068s # return NULL; 1068s # } 1068s # 1068s # 1068s # /* ------------------------------------------------------------------------ */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeleton: 1068s # * 1068s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1068s # */ 1068s # 1068s # /** 1068s # * OrgProjectSignalingIfaceSkeletonClass: 1068s # * @parent_class: The parent class. 1068s # * 1068s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1068s # */ 1068s # 1068s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1068s # { 1068s # GValue *properties; 1068s # GList *changed_properties; 1068s # GSource *changed_properties_idle_source; 1068s # GMainContext *context; 1068s # GMutex lock; 1068s # }; 1068s # 1068s # static void 1068s # _org_project_signaling_iface_skeleton_handle_method_call ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name, 1068s # const gchar *method_name, 1068s # GVariant *parameters, 1068s # GDBusMethodInvocation *invocation, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # _ExtendedGDBusMethodInfo *info; 1068s # GVariantIter iter; 1068s # GVariant *child; 1068s # GValue *paramv; 1068s # gsize num_params; 1068s # guint num_extra; 1068s # gsize n; 1068s # guint signal_id; 1068s # GValue return_value = G_VALUE_INIT; 1068s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1068s # g_assert (info != NULL); 1068s # num_params = g_variant_n_children (parameters); 1068s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1068s # n = 0; 1068s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_set_object (¶mv[n++], skeleton); 1068s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1068s # g_value_set_object (¶mv[n++], invocation); 1068s # if (info->pass_fdlist) 1068s # { 1068s # #ifdef G_OS_UNIX 1068s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1068s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1068s # #else 1068s # g_assert_not_reached (); 1068s # #endif 1068s # } 1068s # g_variant_iter_init (&iter, parameters); 1068s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1068s # { 1068s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1068s # if (arg_info->use_gvariant) 1068s # { 1068s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1068s # g_value_set_variant (¶mv[n], child); 1068s # n++; 1068s # } 1068s # else 1068s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1068s # g_variant_unref (child); 1068s # } 1068s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1068s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1068s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1068s # if (!g_value_get_boolean (&return_value)) 1068s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1068s # g_value_unset (&return_value); 1068s # for (n = 0; n < num_params + num_extra; n++) 1068s # g_value_unset (¶mv[n]); 1068s # g_free (paramv); 1068s # } 1068s # 1068s # static GVariant * 1068s # _org_project_signaling_iface_skeleton_handle_get_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # GVariant *ret; 1068s # ret = NULL; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # g_value_init (&value, pspec->value_type); 1068s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1068s # g_value_unset (&value); 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static gboolean 1068s # _org_project_signaling_iface_skeleton_handle_set_property ( 1068s # GDBusConnection *connection G_GNUC_UNUSED, 1068s # const gchar *sender G_GNUC_UNUSED, 1068s # const gchar *object_path G_GNUC_UNUSED, 1068s # const gchar *interface_name G_GNUC_UNUSED, 1068s # const gchar *property_name, 1068s # GVariant *variant, 1068s # GError **error, 1068s # gpointer user_data) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1068s # GValue value = G_VALUE_INIT; 1068s # GParamSpec *pspec; 1068s # _ExtendedGDBusPropertyInfo *info; 1068s # gboolean ret; 1068s # ret = FALSE; 1068s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1068s # g_assert (info != NULL); 1068s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1068s # if (pspec == NULL) 1068s # { 1068s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1068s # } 1068s # else 1068s # { 1068s # if (info->use_gvariant) 1068s # g_value_set_variant (&value, variant); 1068s # else 1068s # g_dbus_gvariant_to_gvalue (variant, &value); 1068s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1068s # g_value_unset (&value); 1068s # ret = TRUE; 1068s # } 1068s # return ret; 1068s # } 1068s # 1068s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1068s # { 1068s # _org_project_signaling_iface_skeleton_handle_method_call, 1068s # _org_project_signaling_iface_skeleton_handle_get_property, 1068s # _org_project_signaling_iface_skeleton_handle_set_property, 1068s # {NULL} 1068s # }; 1068s # 1068s # static GDBusInterfaceInfo * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return org_project_signaling_iface_interface_info (); 1068s # } 1068s # 1068s # static GDBusInterfaceVTable * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1068s # { 1068s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1068s # } 1068s # 1068s # static GVariant * 1068s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1068s # 1068s # GVariantBuilder builder; 1068s # guint n; 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1068s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #else 1068s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1068s # #endif 1068s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1068s # goto out; 1068s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1068s # { 1068s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1068s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1068s # { 1068s # GVariant *value; 1068s # 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); 1068s # if (value != NULL) 1068s # { 1068s # g_variant_take_ref (value); 1068s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1068s # g_variant_unref (value); 1068s # } 1068s # } 1068s # } 1068s # out: 1068s # return g_variant_builder_end (&builder); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1068s # { 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_simple_signal ( 1068s # OrgProjectSignalingIface *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void 1068s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1068s # OrgProjectSignalingIface *object, 1068s # gboolean arg_an_b, 1068s # guchar arg_an_y, 1068s # gint16 arg_an_n, 1068s # guint16 arg_an_q, 1068s # gint arg_an_i, 1068s # guint arg_an_u, 1068s # gint64 arg_an_x, 1068s # guint64 arg_an_t, 1068s # gdouble arg_an_d, 1068s # const gchar *arg_an_s, 1068s # const gchar *arg_an_o, 1068s # const gchar *arg_an_g, 1068s # GVariant *arg_an_h, 1068s # const gchar *arg_an_ay, 1068s # const gchar *const *arg_an_as, 1068s # const gchar *const *arg_an_ao, 1068s # const gchar *const *arg_an_aay, 1068s # GVariant *arg_an_asv) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # 1068s # GList *connections, *l; 1068s # GVariant *signal_variant; 1068s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1068s # 1068s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1068s # arg_an_b, 1068s # arg_an_y, 1068s # arg_an_n, 1068s # arg_an_q, 1068s # arg_an_i, 1068s # arg_an_u, 1068s # arg_an_x, 1068s # arg_an_t, 1068s # arg_an_d, 1068s # arg_an_s, 1068s # arg_an_o, 1068s # arg_an_g, 1068s # arg_an_h, 1068s # arg_an_ay, 1068s # arg_an_as, 1068s # arg_an_ao, 1068s # arg_an_aay, 1068s # arg_an_asv)); 1068s # for (l = connections; l != NULL; l = l->next) 1068s # { 1068s # GDBusConnection *connection = l->data; 1068s # g_dbus_connection_emit_signal (connection, 1068s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1068s # signal_variant, NULL); 1068s # } 1068s # g_variant_unref (signal_variant); 1068s # g_list_free_full (connections, g_object_unref); 1068s # } 1068s # 1068s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #else 1068s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1068s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1068s # 1068s # #endif 1068s # static void 1068s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1068s # { 1068s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1068s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1068s # if (skeleton->priv->changed_properties_idle_source != NULL) 1068s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1068s # g_main_context_unref (skeleton->priv->context); 1068s # g_mutex_clear (&skeleton->priv->lock); 1068s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1068s # { 1068s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1068s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1068s # #else 1068s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1068s # #endif 1068s # 1068s # g_mutex_init (&skeleton->priv->lock); 1068s # skeleton->priv->context = g_main_context_ref_thread_default (); 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1068s # { 1068s # GObjectClass *gobject_class; 1068s # GDBusInterfaceSkeletonClass *skeleton_class; 1068s # 1068s # gobject_class = G_OBJECT_CLASS (klass); 1068s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1068s # 1068s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1068s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1068s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1068s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1068s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1068s # 1068s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1068s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1068s # #endif 1068s # } 1068s # 1068s # static void 1068s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1068s # { 1068s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1068s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1068s # } 1068s # 1068s # /** 1068s # * org_project_signaling_iface_skeleton_new: 1068s # * 1068s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1068s # * 1068s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1068s # */ 1068s # OrgProjectSignalingIface * 1068s # org_project_signaling_iface_skeleton_new (void) 1068s # { 1068s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1068s # } 1068s # Error: 1068s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1068s # gdbus-codegen: /usr/bin/gdbus-codegen 1068s # tmpdir: /tmp/tmpdba67beu 1068s # /tmp/tmpdba67beu/tmp_vpmxnvr.xml: 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdba67beu/tmp_vpmxnvr.xml', '--generate-docbook', 'test'] 1068s # Return code: 0 1068s # Output: 1068s # 1068s # Error: 1068s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1068s # gdbus-codegen: /usr/bin/gdbus-codegen 1068s # tmpdir: /tmp/tmpck6f1jmz 1068s # /tmp/tmpck6f1jmz/tmpzdm4o2l8.xml: 1068s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck6f1jmz/tmpzdm4o2l8.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1068s # Return code: 1 1068s # Output: 1068s # 1068s # Error: 1068s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 1069s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1069s # gdbus-codegen: /usr/bin/gdbus-codegen 1069s # tmpdir: /tmp/tmpn5u53gwx 1069s # /tmp/tmpn5u53gwx/tmp95ec8t26.xml: 1069s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn5u53gwx/tmp95ec8t26.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1069s # Return code: 0 1069s # Output: 1069s # /* 1069s # * This file is generated by gdbus-codegen, do not modify it. 1069s # * 1069s # * The license of this code is the same as for the D-Bus interface description 1069s # * it was derived from. Note that it links to GLib, so must comply with the 1069s # * LGPL linking clauses. 1069s # */ 1069s # 1069s # #ifndef __STDOUT__ 1069s # #define __STDOUT__ 1069s # 1069s # #include 1069s # 1069s # G_BEGIN_DECLS 1069s # 1069s # 1069s # G_END_DECLS 1069s # 1069s # #endif /* __STDOUT__ */ 1069s # Error: 1069s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1069s # gdbus-codegen: /usr/bin/gdbus-codegen 1069s # tmpdir: /tmp/tmpu711abp4 1069s # /tmp/tmpu711abp4/tmpdsntbod0.xml: 1069s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu711abp4/tmpdsntbod0.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1069s # Return code: 1 1069s # Output: 1069s # 1069s # Error: 1069s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 1069s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1069s # gdbus-codegen: /usr/bin/gdbus-codegen 1069s # tmpdir: /tmp/tmplr9za351 1069s # /tmp/tmplr9za351/tmpgax547pa.xml: 1069s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplr9za351/tmpgax547pa.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1069s # Return code: 0 1069s # Output: 1069s # /* 1069s # * This file is generated by gdbus-codegen, do not modify it. 1069s # * 1069s # * The license of this code is the same as for the D-Bus interface description 1069s # * it was derived from. Note that it links to GLib, so must comply with the 1069s # * LGPL linking clauses. 1069s # */ 1069s # 1069s # #ifndef __STDOUT__ 1069s # #define __STDOUT__ 1069s # 1069s # #include 1069s # 1069s # G_BEGIN_DECLS 1069s # 1069s # 1069s # G_END_DECLS 1069s # 1069s # #endif /* __STDOUT__ */ 1069s # Error: 1069s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1069s # gdbus-codegen: /usr/bin/gdbus-codegen 1069s # tmpdir: /tmp/tmpvaz_ucw9 1069s # /tmp/tmpvaz_ucw9/tmpegvgn_mw.xml: 1069s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvaz_ucw9/tmpegvgn_mw.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1069s # Return code: 0 1069s # Output: 1069s # /* 1069s # * This file is generated by gdbus-codegen, do not modify it. 1069s # * 1069s # * The license of this code is the same as for the D-Bus interface description 1069s # * it was derived from. Note that it links to GLib, so must comply with the 1069s # * LGPL linking clauses. 1069s # */ 1069s # 1069s # #ifndef __STDOUT__ 1069s # #define __STDOUT__ 1069s # 1069s # #include 1069s # 1069s # G_BEGIN_DECLS 1069s # 1069s # 1069s # G_END_DECLS 1069s # 1069s # #endif /* __STDOUT__ */ 1069s # Error: 1069s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1069s # gdbus-codegen: /usr/bin/gdbus-codegen 1069s # tmpdir: /tmp/tmp0sjzx4eo 1069s # /tmp/tmp0sjzx4eo/tmpysel_mzf.xml: 1069s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0sjzx4eo/tmpysel_mzf.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1069s # Return code: 1 1069s # Output: 1069s # 1069s # Error: 1069s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 1069s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1069s # gdbus-codegen: /usr/bin/gdbus-codegen 1069s # tmpdir: /tmp/tmp2m2l_cxf 1069s # /tmp/tmp2m2l_cxf/tmp1g3uhbl3.xml: 1069s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2m2l_cxf/tmp1g3uhbl3.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1069s # Return code: 0 1069s # Output: 1069s # /* 1069s # * This file is generated by gdbus-codegen, do not modify it. 1069s # * 1069s # * The license of this code is the same as for the D-Bus interface description 1069s # * it was derived from. Note that it links to GLib, so must comply with the 1069s # * LGPL linking clauses. 1069s # */ 1069s # 1069s # #ifndef __STDOUT__ 1069s # #define __STDOUT__ 1069s # 1069s # #include 1069s # 1069s # G_BEGIN_DECLS 1069s # 1069s # 1069s # G_END_DECLS 1069s # 1069s # #endif /* __STDOUT__ */ 1069s # Error: 1069s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1069s # gdbus-codegen: /usr/bin/gdbus-codegen 1069s # tmpdir: /tmp/tmpm9w9y_8v 1069s # /tmp/tmpm9w9y_8v/tmpedd06ind.xml: 1069s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm9w9y_8v/tmpedd06ind.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1069s # Return code: 1 1069s # Output: 1069s # 1069s # Error: 1069s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 1069s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1069s # gdbus-codegen: /usr/bin/gdbus-codegen 1069s # tmpdir: /tmp/tmp17r5xfq_ 1069s # /tmp/tmp17r5xfq_/tmptgpgsyy4.xml: 1069s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp17r5xfq_/tmptgpgsyy4.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1069s # Return code: 0 1069s # Output: 1069s # /* 1069s # * This file is generated by gdbus-codegen, do not modify it. 1069s # * 1069s # * The license of this code is the same as for the D-Bus interface description 1069s # * it was derived from. Note that it links to GLib, so must comply with the 1069s # * LGPL linking clauses. 1069s # */ 1069s # 1069s # #ifndef __STDOUT__ 1069s # #define __STDOUT__ 1069s # 1069s # #include 1069s # 1069s # G_BEGIN_DECLS 1069s # 1069s # 1069s # G_END_DECLS 1069s # 1069s # #endif /* __STDOUT__ */ 1069s # Error: 1069s ok 35 __main__.TestCodegen.test_help 1069s # gdbus-codegen: /usr/bin/gdbus-codegen 1069s # tmpdir: /tmp/tmp9_zhqxpb 1069s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1069s # Return code: 0 1069s # Output: 1069s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1069s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1069s # [--c-generate-autocleanup {none,objects,all}] 1069s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1069s # [--generate-rst OUTFILES] [--pragma-once] 1069s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1069s # [--glib-min-required VERSION] 1069s # [--glib-max-allowed VERSION] 1069s # [--symbol-decorator SYMBOL_DECORATOR] 1069s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1069s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1069s # [--generate-c-code OUTFILES | --header | --body | 1069s # --interface-info-header | --interface-info-body] 1069s # [--output FILE | --output-directory OUTDIR] 1069s # FILE [FILE ...] 1069s # 1069s # D-Bus code and documentation generator 1069s # 1069s # positional arguments: 1069s # FILE D-Bus introspection XML file 1069s # 1069s # options: 1069s # -h, --help show this help message and exit 1069s # --interface-prefix PREFIX 1069s # String to strip from D-Bus interface names for code 1069s # and docs 1069s # --c-namespace NAMESPACE 1069s # The namespace to use for generated C code 1069s # --c-generate-object-manager 1069s # Generate a GDBusObjectManagerClient subclass when 1069s # generating C code 1069s # --c-generate-autocleanup {none,objects,all} 1069s # Generate autocleanup support 1069s # --generate-docbook OUTFILES 1069s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1069s # --generate-md OUTFILES 1069s # Generate Markdown in OUTFILES-org.Project.IFace.md 1069s # --generate-rst OUTFILES 1069s # Generate reStructuredText in OUTFILES- 1069s # org.Project.IFace.rst 1069s # --pragma-once Use "pragma once" as the inclusion guard 1069s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1069s # Add annotation (may be used several times) 1069s # --glib-min-required VERSION 1069s # Minimum version of GLib to be supported by the 1069s # outputted code (default: 2.30) 1069s # --glib-max-allowed VERSION 1069s # Maximum version of GLib to be used by the outputted 1069s # code (default: current GLib version) 1069s # --symbol-decorator SYMBOL_DECORATOR 1069s # Macro used to decorate a symbol in the outputted 1069s # header, possibly to export symbols 1069s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1069s # Additional header required for decorator specified by 1069s # --symbol-decorator 1069s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1069s # Additional define required for decorator specified by 1069s # --symbol-decorator 1069s # --generate-c-code OUTFILES 1069s # Generate C code in OUTFILES.[ch] 1069s # --header Generate C headers 1069s # --body Generate C code 1069s # --interface-info-header 1069s # Generate GDBusInterfaceInfo C header 1069s # --interface-info-body 1069s # Generate GDBusInterfaceInfo C code 1069s # --output FILE Write output into the specified file 1069s # --output-directory OUTDIR 1069s # Location to output generated files 1069s # Error: 1069s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1069s # gdbus-codegen: /usr/bin/gdbus-codegen 1069s # tmpdir: /tmp/tmp_sdzx5px 1069s # /tmp/tmp_sdzx5px/tmphcl6hxsz.xml: 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_sdzx5px/tmphcl6hxsz.xml', '--generate-rst', 'test'] 1069s # Return code: 0 1069s # Output: 1069s # 1069s # Error: 1069s # 1069s # /tmp/tmp_sdzx5px/tmpk4rb_0df.xml: 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_sdzx5px/tmpk4rb_0df.xml', '--generate-md', 'test'] 1069s # Return code: 0 1069s # Output: 1069s # 1069s # Error: 1069s # 1069s # /tmp/tmp_sdzx5px/tmp8m3zr3qj.xml: 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # 1069s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_sdzx5px/tmp8m3zr3qj.xml', '--generate-docbook', 'test'] 1069s # Return code: 0 1069s # Output: 1069s # 1069s # Error: 1069s ok 37 __main__.TestCodegen.test_no_args 1069s # gdbus-codegen: /usr/bin/gdbus-codegen 1069s # tmpdir: /tmp/tmpn4l0es98 1069s # Running: ['/usr/bin/gdbus-codegen'] 1069s # Return code: 2 1069s # Output: 1069s # 1069s # Error: 1069s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1069s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1069s # [--c-generate-autocleanup {none,objects,all}] 1069s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1069s # [--generate-rst OUTFILES] [--pragma-once] 1069s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1069s # [--glib-min-required VERSION] 1069s # [--glib-max-allowed VERSION] 1069s # [--symbol-decorator SYMBOL_DECORATOR] 1069s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1069s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1069s # [--generate-c-code OUTFILES | --header | --body | 1069s # --interface-info-header | --interface-info-body] 1069s # [--output FILE | --output-directory OUTDIR] 1069s # FILE [FILE ...] 1069s # gdbus-codegen: error: the following arguments are required: FILE 1070s ok 38 __main__.TestCodegen.test_reproducible 1070s # gdbus-codegen: /usr/bin/gdbus-codegen 1070s # tmpdir: /tmp/tmpqzmbjsbz 1070s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzmbjsbz/tmp43z3nb0b1.xml', '/tmp/tmpqzmbjsbz/tmpv7p9bfx42.xml', '--output', '-', '--header'] 1070s # Return code: 0 1070s # Output: 1070s # /* 1070s # * This file is generated by gdbus-codegen, do not modify it. 1070s # * 1070s # * The license of this code is the same as for the D-Bus interface description 1070s # * it was derived from. Note that it links to GLib, so must comply with the 1070s # * LGPL linking clauses. 1070s # */ 1070s # 1070s # #ifndef __STDOUT__ 1070s # #define __STDOUT__ 1070s # 1070s # #include 1070s # 1070s # G_BEGIN_DECLS 1070s # 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # /* Declarations for com.acme.Coyote */ 1070s # 1070s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1070s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1070s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1070s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1070s # 1070s # struct _ComAcmeCoyote; 1070s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1070s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1070s # 1070s # struct _ComAcmeCoyoteIface 1070s # { 1070s # GTypeInterface parent_iface; 1070s # 1070s # 1070s # 1070s # gboolean (*handle_attack) ( 1070s # ComAcmeCoyote *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # gboolean (*handle_run) ( 1070s # ComAcmeCoyote *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # gboolean (*handle_sleep) ( 1070s # ComAcmeCoyote *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1070s # 1070s # void (*surprised) ( 1070s # ComAcmeCoyote *object); 1070s # 1070s # }; 1070s # 1070s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1070s # 1070s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1070s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1070s # 1070s # 1070s # /* D-Bus method call completion functions: */ 1070s # void com_acme_coyote_complete_run ( 1070s # ComAcmeCoyote *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # void com_acme_coyote_complete_sleep ( 1070s # ComAcmeCoyote *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # void com_acme_coyote_complete_attack ( 1070s # ComAcmeCoyote *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # 1070s # 1070s # /* D-Bus signal emissions functions: */ 1070s # void com_acme_coyote_emit_surprised ( 1070s # ComAcmeCoyote *object); 1070s # 1070s # 1070s # 1070s # /* D-Bus method calls: */ 1070s # void com_acme_coyote_call_run ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean com_acme_coyote_call_run_finish ( 1070s # ComAcmeCoyote *proxy, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean com_acme_coyote_call_run_sync ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void com_acme_coyote_call_sleep ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean com_acme_coyote_call_sleep_finish ( 1070s # ComAcmeCoyote *proxy, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean com_acme_coyote_call_sleep_sync ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void com_acme_coyote_call_attack ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean com_acme_coyote_call_attack_finish ( 1070s # ComAcmeCoyote *proxy, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean com_acme_coyote_call_attack_sync ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # 1070s # /* D-Bus property accessors: */ 1070s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1070s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1070s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1070s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1070s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1070s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1070s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1070s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1070s # 1070s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1070s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1070s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1070s # 1070s # struct _ComAcmeCoyoteProxy 1070s # { 1070s # /*< private >*/ 1070s # GDBusProxy parent_instance; 1070s # ComAcmeCoyoteProxyPrivate *priv; 1070s # }; 1070s # 1070s # struct _ComAcmeCoyoteProxyClass 1070s # { 1070s # GDBusProxyClass parent_class; 1070s # }; 1070s # 1070s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1070s # #endif 1070s # 1070s # void com_acme_coyote_proxy_new ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void com_acme_coyote_proxy_new_for_bus ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1070s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1070s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1070s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1070s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1070s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1070s # 1070s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1070s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1070s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1070s # 1070s # struct _ComAcmeCoyoteSkeleton 1070s # { 1070s # /*< private >*/ 1070s # GDBusInterfaceSkeleton parent_instance; 1070s # ComAcmeCoyoteSkeletonPrivate *priv; 1070s # }; 1070s # 1070s # struct _ComAcmeCoyoteSkeletonClass 1070s # { 1070s # GDBusInterfaceSkeletonClass parent_class; 1070s # }; 1070s # 1070s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1070s # #endif 1070s # 1070s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1070s # 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # /* Declarations for org.project.Bar.Frobnicator */ 1070s # 1070s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1070s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1070s # 1070s # struct _OrgProjectBarFrobnicator; 1070s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1070s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1070s # 1070s # struct _OrgProjectBarFrobnicatorIface 1070s # { 1070s # GTypeInterface parent_iface; 1070s # 1070s # gboolean (*handle_random_method) ( 1070s # OrgProjectBarFrobnicator *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # }; 1070s # 1070s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1070s # 1070s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1070s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1070s # 1070s # 1070s # /* D-Bus method call completion functions: */ 1070s # void org_project_bar_frobnicator_complete_random_method ( 1070s # OrgProjectBarFrobnicator *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # 1070s # 1070s # /* D-Bus method calls: */ 1070s # void org_project_bar_frobnicator_call_random_method ( 1070s # OrgProjectBarFrobnicator *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1070s # OrgProjectBarFrobnicator *proxy, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1070s # OrgProjectBarFrobnicator *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1070s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1070s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1070s # 1070s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1070s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1070s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1070s # 1070s # struct _OrgProjectBarFrobnicatorProxy 1070s # { 1070s # /*< private >*/ 1070s # GDBusProxy parent_instance; 1070s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1070s # }; 1070s # 1070s # struct _OrgProjectBarFrobnicatorProxyClass 1070s # { 1070s # GDBusProxyClass parent_class; 1070s # }; 1070s # 1070s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1070s # #endif 1070s # 1070s # void org_project_bar_frobnicator_proxy_new ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1070s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1070s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1070s # 1070s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1070s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1070s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1070s # 1070s # struct _OrgProjectBarFrobnicatorSkeleton 1070s # { 1070s # /*< private >*/ 1070s # GDBusInterfaceSkeleton parent_instance; 1070s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1070s # }; 1070s # 1070s # struct _OrgProjectBarFrobnicatorSkeletonClass 1070s # { 1070s # GDBusInterfaceSkeletonClass parent_class; 1070s # }; 1070s # 1070s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1070s # #endif 1070s # 1070s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1070s # 1070s # 1070s # G_END_DECLS 1070s # 1070s # #endif /* __STDOUT__ */ 1070s # Error: 1070s # 1070s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzmbjsbz/tmpv7p9bfx42.xml', '/tmp/tmpqzmbjsbz/tmp43z3nb0b1.xml', '--output', '-', '--header'] 1070s # Return code: 0 1070s # Output: 1070s # /* 1070s # * This file is generated by gdbus-codegen, do not modify it. 1070s # * 1070s # * The license of this code is the same as for the D-Bus interface description 1070s # * it was derived from. Note that it links to GLib, so must comply with the 1070s # * LGPL linking clauses. 1070s # */ 1070s # 1070s # #ifndef __STDOUT__ 1070s # #define __STDOUT__ 1070s # 1070s # #include 1070s # 1070s # G_BEGIN_DECLS 1070s # 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # /* Declarations for com.acme.Coyote */ 1070s # 1070s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1070s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1070s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1070s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1070s # 1070s # struct _ComAcmeCoyote; 1070s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1070s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1070s # 1070s # struct _ComAcmeCoyoteIface 1070s # { 1070s # GTypeInterface parent_iface; 1070s # 1070s # 1070s # 1070s # gboolean (*handle_attack) ( 1070s # ComAcmeCoyote *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # gboolean (*handle_run) ( 1070s # ComAcmeCoyote *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # gboolean (*handle_sleep) ( 1070s # ComAcmeCoyote *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1070s # 1070s # void (*surprised) ( 1070s # ComAcmeCoyote *object); 1070s # 1070s # }; 1070s # 1070s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1070s # 1070s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1070s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1070s # 1070s # 1070s # /* D-Bus method call completion functions: */ 1070s # void com_acme_coyote_complete_run ( 1070s # ComAcmeCoyote *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # void com_acme_coyote_complete_sleep ( 1070s # ComAcmeCoyote *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # void com_acme_coyote_complete_attack ( 1070s # ComAcmeCoyote *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # 1070s # 1070s # /* D-Bus signal emissions functions: */ 1070s # void com_acme_coyote_emit_surprised ( 1070s # ComAcmeCoyote *object); 1070s # 1070s # 1070s # 1070s # /* D-Bus method calls: */ 1070s # void com_acme_coyote_call_run ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean com_acme_coyote_call_run_finish ( 1070s # ComAcmeCoyote *proxy, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean com_acme_coyote_call_run_sync ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void com_acme_coyote_call_sleep ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean com_acme_coyote_call_sleep_finish ( 1070s # ComAcmeCoyote *proxy, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean com_acme_coyote_call_sleep_sync ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void com_acme_coyote_call_attack ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean com_acme_coyote_call_attack_finish ( 1070s # ComAcmeCoyote *proxy, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean com_acme_coyote_call_attack_sync ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # 1070s # /* D-Bus property accessors: */ 1070s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1070s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1070s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1070s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1070s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1070s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1070s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1070s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1070s # 1070s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1070s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1070s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1070s # 1070s # struct _ComAcmeCoyoteProxy 1070s # { 1070s # /*< private >*/ 1070s # GDBusProxy parent_instance; 1070s # ComAcmeCoyoteProxyPrivate *priv; 1070s # }; 1070s # 1070s # struct _ComAcmeCoyoteProxyClass 1070s # { 1070s # GDBusProxyClass parent_class; 1070s # }; 1070s # 1070s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1070s # #endif 1070s # 1070s # void com_acme_coyote_proxy_new ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void com_acme_coyote_proxy_new_for_bus ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1070s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1070s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1070s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1070s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1070s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1070s # 1070s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1070s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1070s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1070s # 1070s # struct _ComAcmeCoyoteSkeleton 1070s # { 1070s # /*< private >*/ 1070s # GDBusInterfaceSkeleton parent_instance; 1070s # ComAcmeCoyoteSkeletonPrivate *priv; 1070s # }; 1070s # 1070s # struct _ComAcmeCoyoteSkeletonClass 1070s # { 1070s # GDBusInterfaceSkeletonClass parent_class; 1070s # }; 1070s # 1070s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1070s # #endif 1070s # 1070s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1070s # 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # /* Declarations for org.project.Bar.Frobnicator */ 1070s # 1070s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1070s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1070s # 1070s # struct _OrgProjectBarFrobnicator; 1070s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1070s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1070s # 1070s # struct _OrgProjectBarFrobnicatorIface 1070s # { 1070s # GTypeInterface parent_iface; 1070s # 1070s # gboolean (*handle_random_method) ( 1070s # OrgProjectBarFrobnicator *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # }; 1070s # 1070s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1070s # 1070s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1070s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1070s # 1070s # 1070s # /* D-Bus method call completion functions: */ 1070s # void org_project_bar_frobnicator_complete_random_method ( 1070s # OrgProjectBarFrobnicator *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # 1070s # 1070s # /* D-Bus method calls: */ 1070s # void org_project_bar_frobnicator_call_random_method ( 1070s # OrgProjectBarFrobnicator *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1070s # OrgProjectBarFrobnicator *proxy, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1070s # OrgProjectBarFrobnicator *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1070s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1070s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1070s # 1070s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1070s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1070s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1070s # 1070s # struct _OrgProjectBarFrobnicatorProxy 1070s # { 1070s # /*< private >*/ 1070s # GDBusProxy parent_instance; 1070s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1070s # }; 1070s # 1070s # struct _OrgProjectBarFrobnicatorProxyClass 1070s # { 1070s # GDBusProxyClass parent_class; 1070s # }; 1070s # 1070s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1070s # #endif 1070s # 1070s # void org_project_bar_frobnicator_proxy_new ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1070s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1070s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1070s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1070s # 1070s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1070s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1070s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1070s # 1070s # struct _OrgProjectBarFrobnicatorSkeleton 1070s # { 1070s # /*< private >*/ 1070s # GDBusInterfaceSkeleton parent_instance; 1070s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1070s # }; 1070s # 1070s # struct _OrgProjectBarFrobnicatorSkeletonClass 1070s # { 1070s # GDBusInterfaceSkeletonClass parent_class; 1070s # }; 1070s # 1070s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1070s # #endif 1070s # 1070s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1070s # 1070s # 1070s # G_END_DECLS 1070s # 1070s # #endif /* __STDOUT__ */ 1070s # Error: 1070s # 1070s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzmbjsbz/tmp43z3nb0b1.xml', '/tmp/tmpqzmbjsbz/tmpv7p9bfx42.xml', '--output', '-', '--body'] 1070s # Return code: 0 1070s # Output: 1070s # /* 1070s # * This file is generated by gdbus-codegen, do not modify it. 1070s # * 1070s # * The license of this code is the same as for the D-Bus interface description 1070s # * it was derived from. Note that it links to GLib, so must comply with the 1070s # * LGPL linking clauses. 1070s # */ 1070s # 1070s # #ifdef HAVE_CONFIG_H 1070s # # include "config.h" 1070s # #endif 1070s # 1070s # #include 1070s # #ifdef G_OS_UNIX 1070s # # include 1070s # #endif 1070s # 1070s # #ifdef G_ENABLE_DEBUG 1070s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1070s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1070s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1070s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1070s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1070s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1070s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1070s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1070s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1070s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1070s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1070s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1070s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1070s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1070s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1070s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1070s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1070s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1070s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1070s # #else /* !G_ENABLE_DEBUG */ 1070s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1070s # * Do not access GValues directly in your code. Instead, use the 1070s # * g_value_get_*() functions 1070s # */ 1070s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1070s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1070s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1070s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1070s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1070s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1070s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1070s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1070s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1070s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1070s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1070s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1070s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1070s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1070s # #endif /* !G_ENABLE_DEBUG */ 1070s # 1070s # typedef struct 1070s # { 1070s # GDBusArgInfo parent_struct; 1070s # gboolean use_gvariant; 1070s # } _ExtendedGDBusArgInfo; 1070s # 1070s # typedef struct 1070s # { 1070s # GDBusMethodInfo parent_struct; 1070s # const gchar *signal_name; 1070s # gboolean pass_fdlist; 1070s # } _ExtendedGDBusMethodInfo; 1070s # 1070s # typedef struct 1070s # { 1070s # GDBusSignalInfo parent_struct; 1070s # const gchar *signal_name; 1070s # } _ExtendedGDBusSignalInfo; 1070s # 1070s # typedef struct 1070s # { 1070s # GDBusPropertyInfo parent_struct; 1070s # const gchar *hyphen_name; 1070s # guint use_gvariant : 1; 1070s # guint emits_changed_signal : 1; 1070s # } _ExtendedGDBusPropertyInfo; 1070s # 1070s # typedef struct 1070s # { 1070s # GDBusInterfaceInfo parent_struct; 1070s # const gchar *hyphen_name; 1070s # } _ExtendedGDBusInterfaceInfo; 1070s # 1070s # typedef struct 1070s # { 1070s # const _ExtendedGDBusPropertyInfo *info; 1070s # guint prop_id; 1070s # GValue orig_value; /* the value before the change */ 1070s # } ChangedProperty; 1070s # 1070s # static void 1070s # _changed_property_free (ChangedProperty *data) 1070s # { 1070s # g_value_unset (&data->orig_value); 1070s # g_free (data); 1070s # } 1070s # 1070s # static gboolean 1070s # _g_strv_equal0 (gchar **a, gchar **b) 1070s # { 1070s # gboolean ret = FALSE; 1070s # guint n; 1070s # if (a == NULL && b == NULL) 1070s # { 1070s # ret = TRUE; 1070s # goto out; 1070s # } 1070s # if (a == NULL || b == NULL) 1070s # goto out; 1070s # if (g_strv_length (a) != g_strv_length (b)) 1070s # goto out; 1070s # for (n = 0; a[n] != NULL; n++) 1070s # if (g_strcmp0 (a[n], b[n]) != 0) 1070s # goto out; 1070s # ret = TRUE; 1070s # out: 1070s # return ret; 1070s # } 1070s # 1070s # static gboolean 1070s # _g_variant_equal0 (GVariant *a, GVariant *b) 1070s # { 1070s # gboolean ret = FALSE; 1070s # if (a == NULL && b == NULL) 1070s # { 1070s # ret = TRUE; 1070s # goto out; 1070s # } 1070s # if (a == NULL || b == NULL) 1070s # goto out; 1070s # ret = g_variant_equal (a, b); 1070s # out: 1070s # return ret; 1070s # } 1070s # 1070s # G_GNUC_UNUSED static gboolean 1070s # _g_value_equal (const GValue *a, const GValue *b) 1070s # { 1070s # gboolean ret = FALSE; 1070s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1070s # switch (G_VALUE_TYPE (a)) 1070s # { 1070s # case G_TYPE_BOOLEAN: 1070s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1070s # break; 1070s # case G_TYPE_UCHAR: 1070s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1070s # break; 1070s # case G_TYPE_INT: 1070s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1070s # break; 1070s # case G_TYPE_UINT: 1070s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1070s # break; 1070s # case G_TYPE_INT64: 1070s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1070s # break; 1070s # case G_TYPE_UINT64: 1070s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1070s # break; 1070s # case G_TYPE_DOUBLE: 1070s # { 1070s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1070s # gdouble da = g_value_get_double (a); 1070s # gdouble db = g_value_get_double (b); 1070s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1070s # } 1070s # break; 1070s # case G_TYPE_STRING: 1070s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1070s # break; 1070s # case G_TYPE_VARIANT: 1070s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1070s # break; 1070s # default: 1070s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1070s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1070s # else 1070s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1070s # break; 1070s # } 1070s # return ret; 1070s # } 1070s # 1070s # static void 1070s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1070s # GClosure *closure, 1070s # GValue *return_value, 1070s # unsigned int n_param_values, 1070s # const GValue *param_values, 1070s # void *invocation_hint G_GNUC_UNUSED, 1070s # void *marshal_data) 1070s # { 1070s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1070s # (void *data1, 1070s # GDBusMethodInvocation *arg_method_invocation, 1070s # void *data2); 1070s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1070s # GCClosure *cc = (GCClosure*) closure; 1070s # void *data1, *data2; 1070s # gboolean v_return; 1070s # 1070s # g_return_if_fail (return_value != NULL); 1070s # g_return_if_fail (n_param_values == 2); 1070s # 1070s # if (G_CCLOSURE_SWAP_DATA (closure)) 1070s # { 1070s # data1 = closure->data; 1070s # data2 = g_value_peek_pointer (param_values + 0); 1070s # } 1070s # else 1070s # { 1070s # data1 = g_value_peek_pointer (param_values + 0); 1070s # data2 = closure->data; 1070s # } 1070s # 1070s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1070s # (marshal_data ? marshal_data : cc->callback); 1070s # 1070s # v_return = 1070s # callback (data1, 1070s # g_marshal_value_peek_object (param_values + 1), 1070s # data2); 1070s # 1070s # g_value_set_boolean (return_value, v_return); 1070s # } 1070s # 1070s # /* ------------------------------------------------------------------------ 1070s # * Code for interface com.acme.Coyote 1070s # * ------------------------------------------------------------------------ 1070s # */ 1070s # 1070s # /** 1070s # * SECTION:ComAcmeCoyote 1070s # * @title: ComAcmeCoyote 1070s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1070s # * 1070s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1070s # */ 1070s # 1070s # enum 1070s # { 1070s # _COM_ACME_COYOTE_SURPRISED, 1070s # }; 1070s # 1070s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1070s # 1070s # /* ---- Introspection data for com.acme.Coyote ---- */ 1070s # 1070s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "Run", 1070s # NULL, 1070s # NULL, 1070s # NULL 1070s # }, 1070s # "handle-run", 1070s # FALSE 1070s # }; 1070s # 1070s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "Sleep", 1070s # NULL, 1070s # NULL, 1070s # NULL 1070s # }, 1070s # "handle-sleep", 1070s # FALSE 1070s # }; 1070s # 1070s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "Attack", 1070s # NULL, 1070s # NULL, 1070s # NULL 1070s # }, 1070s # "handle-attack", 1070s # FALSE 1070s # }; 1070s # 1070s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1070s # { 1070s # &_com_acme_coyote_method_info_run.parent_struct, 1070s # &_com_acme_coyote_method_info_sleep.parent_struct, 1070s # &_com_acme_coyote_method_info_attack.parent_struct, 1070s # NULL 1070s # }; 1070s # 1070s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "Surprised", 1070s # NULL, 1070s # NULL 1070s # }, 1070s # "surprised" 1070s # }; 1070s # 1070s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1070s # { 1070s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1070s # NULL 1070s # }; 1070s # 1070s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "Mood", 1070s # (gchar *) "s", 1070s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1070s # NULL 1070s # }, 1070s # "mood", 1070s # FALSE, 1070s # TRUE 1070s # }; 1070s # 1070s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1070s # { 1070s # &_com_acme_coyote_property_info_mood.parent_struct, 1070s # NULL 1070s # }; 1070s # 1070s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "com.acme.Coyote", 1070s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1070s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1070s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1070s # NULL 1070s # }, 1070s # "com-acme-coyote", 1070s # }; 1070s # 1070s # 1070s # /** 1070s # * com_acme_coyote_interface_info: 1070s # * 1070s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1070s # * 1070s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1070s # */ 1070s # GDBusInterfaceInfo * 1070s # com_acme_coyote_interface_info (void) 1070s # { 1070s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_override_properties: 1070s # * @klass: The class structure for a #GObject derived class. 1070s # * @property_id_begin: The property id to assign to the first overridden property. 1070s # * 1070s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1070s # * The properties are overridden in the order they are defined. 1070s # * 1070s # * Returns: The last property id. 1070s # */ 1070s # guint 1070s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1070s # { 1070s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1070s # return property_id_begin - 1; 1070s # } 1070s # 1070s # 1070s # inline static void 1070s # com_acme_coyote_signal_marshal_surprised ( 1070s # GClosure *closure, 1070s # GValue *return_value, 1070s # unsigned int n_param_values, 1070s # const GValue *param_values, 1070s # void *invocation_hint, 1070s # void *marshal_data) 1070s # { 1070s # g_cclosure_marshal_VOID__VOID (closure, 1070s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1070s # } 1070s # 1070s # inline static void 1070s # com_acme_coyote_method_marshal_run ( 1070s # GClosure *closure, 1070s # GValue *return_value, 1070s # unsigned int n_param_values, 1070s # const GValue *param_values, 1070s # void *invocation_hint, 1070s # void *marshal_data) 1070s # { 1070s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1070s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1070s # } 1070s # 1070s # inline static void 1070s # com_acme_coyote_method_marshal_sleep ( 1070s # GClosure *closure, 1070s # GValue *return_value, 1070s # unsigned int n_param_values, 1070s # const GValue *param_values, 1070s # void *invocation_hint, 1070s # void *marshal_data) 1070s # { 1070s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1070s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1070s # } 1070s # 1070s # inline static void 1070s # com_acme_coyote_method_marshal_attack ( 1070s # GClosure *closure, 1070s # GValue *return_value, 1070s # unsigned int n_param_values, 1070s # const GValue *param_values, 1070s # void *invocation_hint, 1070s # void *marshal_data) 1070s # { 1070s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1070s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1070s # } 1070s # 1070s # 1070s # /** 1070s # * ComAcmeCoyote: 1070s # * 1070s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1070s # */ 1070s # 1070s # /** 1070s # * ComAcmeCoyoteIface: 1070s # * @parent_iface: The parent interface. 1070s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1070s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1070s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1070s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1070s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1070s # * 1070s # * Virtual table for the D-Bus interface com.acme.Coyote. 1070s # */ 1070s # 1070s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1070s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1070s # 1070s # static void 1070s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1070s # { 1070s # /* GObject signals for incoming D-Bus method calls: */ 1070s # /** 1070s # * ComAcmeCoyote::handle-run: 1070s # * @object: A #ComAcmeCoyote. 1070s # * @invocation: A #GDBusMethodInvocation. 1070s # * 1070s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1070s # * 1070s # * If 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. 1070s # * 1070s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1070s # */ 1070s # g_signal_new ("handle-run", 1070s # G_TYPE_FROM_INTERFACE (iface), 1070s # G_SIGNAL_RUN_LAST, 1070s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1070s # g_signal_accumulator_true_handled, 1070s # NULL, 1070s # com_acme_coyote_method_marshal_run, 1070s # G_TYPE_BOOLEAN, 1070s # 1, 1070s # G_TYPE_DBUS_METHOD_INVOCATION); 1070s # 1070s # /** 1070s # * ComAcmeCoyote::handle-sleep: 1070s # * @object: A #ComAcmeCoyote. 1070s # * @invocation: A #GDBusMethodInvocation. 1070s # * 1070s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1070s # * 1070s # * If 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. 1070s # * 1070s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1070s # */ 1070s # g_signal_new ("handle-sleep", 1070s # G_TYPE_FROM_INTERFACE (iface), 1070s # G_SIGNAL_RUN_LAST, 1070s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1070s # g_signal_accumulator_true_handled, 1070s # NULL, 1070s # com_acme_coyote_method_marshal_sleep, 1070s # G_TYPE_BOOLEAN, 1070s # 1, 1070s # G_TYPE_DBUS_METHOD_INVOCATION); 1070s # 1070s # /** 1070s # * ComAcmeCoyote::handle-attack: 1070s # * @object: A #ComAcmeCoyote. 1070s # * @invocation: A #GDBusMethodInvocation. 1070s # * 1070s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1070s # * 1070s # * If 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. 1070s # * 1070s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1070s # */ 1070s # g_signal_new ("handle-attack", 1070s # G_TYPE_FROM_INTERFACE (iface), 1070s # G_SIGNAL_RUN_LAST, 1070s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1070s # g_signal_accumulator_true_handled, 1070s # NULL, 1070s # com_acme_coyote_method_marshal_attack, 1070s # G_TYPE_BOOLEAN, 1070s # 1, 1070s # G_TYPE_DBUS_METHOD_INVOCATION); 1070s # 1070s # /* GObject signals for received D-Bus signals: */ 1070s # /** 1070s # * ComAcmeCoyote::surprised: 1070s # * @object: A #ComAcmeCoyote. 1070s # * 1070s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1070s # * 1070s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1070s # */ 1070s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1070s # g_signal_new ("surprised", 1070s # G_TYPE_FROM_INTERFACE (iface), 1070s # G_SIGNAL_RUN_LAST, 1070s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1070s # NULL, 1070s # NULL, 1070s # com_acme_coyote_signal_marshal_surprised, 1070s # G_TYPE_NONE, 1070s # 0); 1070s # 1070s # /* GObject properties for D-Bus properties: */ 1070s # /** 1070s # * ComAcmeCoyote:mood: 1070s # * 1070s # * Represents the D-Bus property "Mood". 1070s # * 1070s # * 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. 1070s # */ 1070s # g_object_interface_install_property (iface, 1070s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_get_mood: (skip) 1070s # * @object: A #ComAcmeCoyote. 1070s # * 1070s # * Gets the value of the "Mood" D-Bus property. 1070s # * 1070s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1070s # * 1070s # * 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. 1070s # * 1070s # * 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. 1070s # */ 1070s # const gchar * 1070s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1070s # { 1070s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1070s # 1070s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_dup_mood: (skip) 1070s # * @object: A #ComAcmeCoyote. 1070s # * 1070s # * Gets a copy of the "Mood" D-Bus property. 1070s # * 1070s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1070s # * 1070s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1070s # */ 1070s # gchar * 1070s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1070s # { 1070s # gchar *value; 1070s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1070s # return value; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_set_mood: (skip) 1070s # * @object: A #ComAcmeCoyote. 1070s # * @value: The value to set. 1070s # * 1070s # * Sets the "Mood" D-Bus property to @value. 1070s # * 1070s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1070s # */ 1070s # void 1070s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1070s # { 1070s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_emit_surprised: 1070s # * @object: A #ComAcmeCoyote. 1070s # * 1070s # * Emits the "Surprised" D-Bus signal. 1070s # */ 1070s # void 1070s # com_acme_coyote_emit_surprised ( 1070s # ComAcmeCoyote *object) 1070s # { 1070s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_run: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1070s # * 1070s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1070s # */ 1070s # void 1070s # com_acme_coyote_call_run ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1070s # "Run", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # callback, 1070s # user_data); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_run_finish: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Finishes an operation started with com_acme_coyote_call_run(). 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # com_acme_coyote_call_run_finish ( 1070s # ComAcmeCoyote *proxy, 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_run_sync: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1070s # * 1070s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # com_acme_coyote_call_run_sync ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1070s # "Run", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_sleep: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1070s # * 1070s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1070s # */ 1070s # void 1070s # com_acme_coyote_call_sleep ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1070s # "Sleep", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # callback, 1070s # user_data); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_sleep_finish: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # com_acme_coyote_call_sleep_finish ( 1070s # ComAcmeCoyote *proxy, 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_sleep_sync: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1070s # * 1070s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # com_acme_coyote_call_sleep_sync ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1070s # "Sleep", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_attack: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1070s # * 1070s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1070s # */ 1070s # void 1070s # com_acme_coyote_call_attack ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1070s # "Attack", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # callback, 1070s # user_data); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_attack_finish: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Finishes an operation started with com_acme_coyote_call_attack(). 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # com_acme_coyote_call_attack_finish ( 1070s # ComAcmeCoyote *proxy, 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_attack_sync: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1070s # * 1070s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # com_acme_coyote_call_attack_sync ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1070s # "Attack", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_complete_run: 1070s # * @object: A #ComAcmeCoyote. 1070s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1070s # * 1070s # * 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. 1070s # * 1070s # * This method will free @invocation, you cannot use it afterwards. 1070s # */ 1070s # void 1070s # com_acme_coyote_complete_run ( 1070s # ComAcmeCoyote *object G_GNUC_UNUSED, 1070s # GDBusMethodInvocation *invocation) 1070s # { 1070s # g_dbus_method_invocation_return_value (invocation, 1070s # g_variant_new ("()")); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_complete_sleep: 1070s # * @object: A #ComAcmeCoyote. 1070s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1070s # * 1070s # * 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. 1070s # * 1070s # * This method will free @invocation, you cannot use it afterwards. 1070s # */ 1070s # void 1070s # com_acme_coyote_complete_sleep ( 1070s # ComAcmeCoyote *object G_GNUC_UNUSED, 1070s # GDBusMethodInvocation *invocation) 1070s # { 1070s # g_dbus_method_invocation_return_value (invocation, 1070s # g_variant_new ("()")); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_complete_attack: 1070s # * @object: A #ComAcmeCoyote. 1070s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1070s # * 1070s # * 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. 1070s # * 1070s # * This method will free @invocation, you cannot use it afterwards. 1070s # */ 1070s # void 1070s # com_acme_coyote_complete_attack ( 1070s # ComAcmeCoyote *object G_GNUC_UNUSED, 1070s # GDBusMethodInvocation *invocation) 1070s # { 1070s # g_dbus_method_invocation_return_value (invocation, 1070s # g_variant_new ("()")); 1070s # } 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # 1070s # /** 1070s # * ComAcmeCoyoteProxy: 1070s # * 1070s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1070s # */ 1070s # 1070s # /** 1070s # * ComAcmeCoyoteProxyClass: 1070s # * @parent_class: The parent class. 1070s # * 1070s # * Class structure for #ComAcmeCoyoteProxy. 1070s # */ 1070s # 1070s # struct _ComAcmeCoyoteProxyPrivate 1070s # { 1070s # GData *qdata; 1070s # }; 1070s # 1070s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1070s # 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1070s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1070s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1070s # 1070s # #else 1070s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1070s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1070s # 1070s # #endif 1070s # static void 1070s # com_acme_coyote_proxy_finalize (GObject *object) 1070s # { 1070s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1070s # g_datalist_clear (&proxy->priv->qdata); 1070s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_get_property (GObject *object, 1070s # guint prop_id, 1070s # GValue *value, 1070s # GParamSpec *pspec G_GNUC_UNUSED) 1070s # { 1070s # const _ExtendedGDBusPropertyInfo *info; 1070s # GVariant *variant; 1070s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1070s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1070s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1070s # if (info->use_gvariant) 1070s # { 1070s # g_value_set_variant (value, variant); 1070s # } 1070s # else 1070s # { 1070s # if (variant != NULL) 1070s # g_dbus_gvariant_to_gvalue (variant, value); 1070s # } 1070s # if (variant != NULL) 1070s # g_variant_unref (variant); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1070s # GAsyncResult *res, 1070s # gpointer user_data) 1070s # { 1070s # const _ExtendedGDBusPropertyInfo *info = user_data; 1070s # GError *error; 1070s # GVariant *_ret; 1070s # error = NULL; 1070s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1070s # if (!_ret) 1070s # { 1070s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1070s # info->parent_struct.name, 1070s # error->message, g_quark_to_string (error->domain), error->code); 1070s # g_error_free (error); 1070s # } 1070s # else 1070s # { 1070s # g_variant_unref (_ret); 1070s # } 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_set_property (GObject *object, 1070s # guint prop_id, 1070s # const GValue *value, 1070s # GParamSpec *pspec G_GNUC_UNUSED) 1070s # { 1070s # const _ExtendedGDBusPropertyInfo *info; 1070s # GVariant *variant; 1070s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1070s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1070s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1070s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1070s # "org.freedesktop.DBus.Properties.Set", 1070s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1070s # g_variant_unref (variant); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1070s # const gchar *sender_name G_GNUC_UNUSED, 1070s # const gchar *signal_name, 1070s # GVariant *parameters) 1070s # { 1070s # _ExtendedGDBusSignalInfo *info; 1070s # GVariantIter iter; 1070s # GVariant *child; 1070s # GValue *paramv; 1070s # gsize num_params; 1070s # gsize n; 1070s # guint signal_id; 1070s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1070s # if (info == NULL) 1070s # return; 1070s # num_params = g_variant_n_children (parameters); 1070s # paramv = g_new0 (GValue, num_params + 1); 1070s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1070s # g_value_set_object (¶mv[0], proxy); 1070s # g_variant_iter_init (&iter, parameters); 1070s # n = 1; 1070s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1070s # { 1070s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1070s # if (arg_info->use_gvariant) 1070s # { 1070s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1070s # g_value_set_variant (¶mv[n], child); 1070s # n++; 1070s # } 1070s # else 1070s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1070s # g_variant_unref (child); 1070s # } 1070s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1070s # g_signal_emitv (paramv, signal_id, 0, NULL); 1070s # for (n = 0; n < num_params + 1; n++) 1070s # g_value_unset (¶mv[n]); 1070s # g_free (paramv); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1070s # GVariant *changed_properties, 1070s # const gchar *const *invalidated_properties) 1070s # { 1070s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1070s # guint n; 1070s # const gchar *key; 1070s # GVariantIter *iter; 1070s # _ExtendedGDBusPropertyInfo *info; 1070s # g_variant_get (changed_properties, "a{sv}", &iter); 1070s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1070s # { 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1070s # g_datalist_remove_data (&proxy->priv->qdata, key); 1070s # if (info != NULL) 1070s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1070s # } 1070s # g_variant_iter_free (iter); 1070s # for (n = 0; invalidated_properties[n] != NULL; n++) 1070s # { 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1070s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1070s # if (info != NULL) 1070s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1070s # } 1070s # } 1070s # 1070s # static const gchar * 1070s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1070s # { 1070s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1070s # GVariant *variant; 1070s # const gchar *value = NULL; 1070s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1070s # if (variant != NULL) 1070s # { 1070s # value = g_variant_get_string (variant, NULL); 1070s # g_variant_unref (variant); 1070s # } 1070s # return value; 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1070s # { 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1070s # #else 1070s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1070s # #endif 1070s # 1070s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1070s # { 1070s # GObjectClass *gobject_class; 1070s # GDBusProxyClass *proxy_class; 1070s # 1070s # gobject_class = G_OBJECT_CLASS (klass); 1070s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1070s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1070s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1070s # 1070s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1070s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1070s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1070s # 1070s # com_acme_coyote_override_properties (gobject_class, 1); 1070s # 1070s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1070s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1070s # #endif 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1070s # { 1070s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_proxy_new: 1070s # * @connection: A #GDBusConnection. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1070s # * 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1070s # * 1070s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1070s # */ 1070s # void 1070s # com_acme_coyote_proxy_new ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # 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); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_proxy_new_finish: 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1070s # * 1070s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # ComAcmeCoyote * 1070s # com_acme_coyote_proxy_new_finish ( 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GObject *ret; 1070s # GObject *source_object; 1070s # source_object = g_async_result_get_source_object (res); 1070s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1070s # g_object_unref (source_object); 1070s # if (ret != NULL) 1070s # return COM_ACME_COYOTE (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_proxy_new_sync: 1070s # * @connection: A #GDBusConnection. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1070s # * 1070s # * The calling thread is blocked until a reply is received. 1070s # * 1070s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1070s # * 1070s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # ComAcmeCoyote * 1070s # com_acme_coyote_proxy_new_sync ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GInitable *ret; 1070s # 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); 1070s # if (ret != NULL) 1070s # return COM_ACME_COYOTE (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # 1070s # /** 1070s # * com_acme_coyote_proxy_new_for_bus: 1070s # * @bus_type: A #GBusType. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: A bus name (well-known or unique). 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1070s # * 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1070s # * 1070s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1070s # */ 1070s # void 1070s # com_acme_coyote_proxy_new_for_bus ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # 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); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_proxy_new_for_bus_finish: 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1070s # * 1070s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # ComAcmeCoyote * 1070s # com_acme_coyote_proxy_new_for_bus_finish ( 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GObject *ret; 1070s # GObject *source_object; 1070s # source_object = g_async_result_get_source_object (res); 1070s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1070s # g_object_unref (source_object); 1070s # if (ret != NULL) 1070s # return COM_ACME_COYOTE (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_proxy_new_for_bus_sync: 1070s # * @bus_type: A #GBusType. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: A bus name (well-known or unique). 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1070s # * 1070s # * The calling thread is blocked until a reply is received. 1070s # * 1070s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1070s # * 1070s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # ComAcmeCoyote * 1070s # com_acme_coyote_proxy_new_for_bus_sync ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GInitable *ret; 1070s # 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); 1070s # if (ret != NULL) 1070s # return COM_ACME_COYOTE (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # 1070s # /** 1070s # * ComAcmeCoyoteSkeleton: 1070s # * 1070s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1070s # */ 1070s # 1070s # /** 1070s # * ComAcmeCoyoteSkeletonClass: 1070s # * @parent_class: The parent class. 1070s # * 1070s # * Class structure for #ComAcmeCoyoteSkeleton. 1070s # */ 1070s # 1070s # struct _ComAcmeCoyoteSkeletonPrivate 1070s # { 1070s # GValue *properties; 1070s # GList *changed_properties; 1070s # GSource *changed_properties_idle_source; 1070s # GMainContext *context; 1070s # GMutex lock; 1070s # }; 1070s # 1070s # static void 1070s # _com_acme_coyote_skeleton_handle_method_call ( 1070s # GDBusConnection *connection G_GNUC_UNUSED, 1070s # const gchar *sender G_GNUC_UNUSED, 1070s # const gchar *object_path G_GNUC_UNUSED, 1070s # const gchar *interface_name, 1070s # const gchar *method_name, 1070s # GVariant *parameters, 1070s # GDBusMethodInvocation *invocation, 1070s # gpointer user_data) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1070s # _ExtendedGDBusMethodInfo *info; 1070s # GVariantIter iter; 1070s # GVariant *child; 1070s # GValue *paramv; 1070s # gsize num_params; 1070s # guint num_extra; 1070s # gsize n; 1070s # guint signal_id; 1070s # GValue return_value = G_VALUE_INIT; 1070s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1070s # g_assert (info != NULL); 1070s # num_params = g_variant_n_children (parameters); 1070s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1070s # n = 0; 1070s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1070s # g_value_set_object (¶mv[n++], skeleton); 1070s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1070s # g_value_set_object (¶mv[n++], invocation); 1070s # if (info->pass_fdlist) 1070s # { 1070s # #ifdef G_OS_UNIX 1070s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1070s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1070s # #else 1070s # g_assert_not_reached (); 1070s # #endif 1070s # } 1070s # g_variant_iter_init (&iter, parameters); 1070s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1070s # { 1070s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1070s # if (arg_info->use_gvariant) 1070s # { 1070s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1070s # g_value_set_variant (¶mv[n], child); 1070s # n++; 1070s # } 1070s # else 1070s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1070s # g_variant_unref (child); 1070s # } 1070s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1070s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1070s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1070s # if (!g_value_get_boolean (&return_value)) 1070s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1070s # g_value_unset (&return_value); 1070s # for (n = 0; n < num_params + num_extra; n++) 1070s # g_value_unset (¶mv[n]); 1070s # g_free (paramv); 1070s # } 1070s # 1070s # static GVariant * 1070s # _com_acme_coyote_skeleton_handle_get_property ( 1070s # GDBusConnection *connection G_GNUC_UNUSED, 1070s # const gchar *sender G_GNUC_UNUSED, 1070s # const gchar *object_path G_GNUC_UNUSED, 1070s # const gchar *interface_name G_GNUC_UNUSED, 1070s # const gchar *property_name, 1070s # GError **error, 1070s # gpointer user_data) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1070s # GValue value = G_VALUE_INIT; 1070s # GParamSpec *pspec; 1070s # _ExtendedGDBusPropertyInfo *info; 1070s # GVariant *ret; 1070s # ret = NULL; 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1070s # g_assert (info != NULL); 1070s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1070s # if (pspec == NULL) 1070s # { 1070s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1070s # } 1070s # else 1070s # { 1070s # g_value_init (&value, pspec->value_type); 1070s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1070s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1070s # g_value_unset (&value); 1070s # } 1070s # return ret; 1070s # } 1070s # 1070s # static gboolean 1070s # _com_acme_coyote_skeleton_handle_set_property ( 1070s # GDBusConnection *connection G_GNUC_UNUSED, 1070s # const gchar *sender G_GNUC_UNUSED, 1070s # const gchar *object_path G_GNUC_UNUSED, 1070s # const gchar *interface_name G_GNUC_UNUSED, 1070s # const gchar *property_name, 1070s # GVariant *variant, 1070s # GError **error, 1070s # gpointer user_data) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1070s # GValue value = G_VALUE_INIT; 1070s # GParamSpec *pspec; 1070s # _ExtendedGDBusPropertyInfo *info; 1070s # gboolean ret; 1070s # ret = FALSE; 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1070s # g_assert (info != NULL); 1070s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1070s # if (pspec == NULL) 1070s # { 1070s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1070s # } 1070s # else 1070s # { 1070s # if (info->use_gvariant) 1070s # g_value_set_variant (&value, variant); 1070s # else 1070s # g_dbus_gvariant_to_gvalue (variant, &value); 1070s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1070s # g_value_unset (&value); 1070s # ret = TRUE; 1070s # } 1070s # return ret; 1070s # } 1070s # 1070s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1070s # { 1070s # _com_acme_coyote_skeleton_handle_method_call, 1070s # _com_acme_coyote_skeleton_handle_get_property, 1070s # _com_acme_coyote_skeleton_handle_set_property, 1070s # {NULL} 1070s # }; 1070s # 1070s # static GDBusInterfaceInfo * 1070s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1070s # { 1070s # return com_acme_coyote_interface_info (); 1070s # } 1070s # 1070s # static GDBusInterfaceVTable * 1070s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1070s # { 1070s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1070s # } 1070s # 1070s # static GVariant * 1070s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1070s # 1070s # GVariantBuilder builder; 1070s # guint n; 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1070s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1070s # #else 1070s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1070s # #endif 1070s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1070s # goto out; 1070s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1070s # { 1070s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1070s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1070s # { 1070s # GVariant *value; 1070s # 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); 1070s # if (value != NULL) 1070s # { 1070s # g_variant_take_ref (value); 1070s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1070s # g_variant_unref (value); 1070s # } 1070s # } 1070s # } 1070s # out: 1070s # return g_variant_builder_end (&builder); 1070s # } 1070s # 1070s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1070s # gboolean emit_changed = FALSE; 1070s # 1070s # g_mutex_lock (&skeleton->priv->lock); 1070s # if (skeleton->priv->changed_properties_idle_source != NULL) 1070s # { 1070s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1070s # skeleton->priv->changed_properties_idle_source = NULL; 1070s # emit_changed = TRUE; 1070s # } 1070s # g_mutex_unlock (&skeleton->priv->lock); 1070s # 1070s # if (emit_changed) 1070s # _com_acme_coyote_emit_changed (skeleton); 1070s # } 1070s # 1070s # static void 1070s # _com_acme_coyote_on_signal_surprised ( 1070s # ComAcmeCoyote *object) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1070s # 1070s # GList *connections, *l; 1070s # GVariant *signal_variant; 1070s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1070s # 1070s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1070s # for (l = connections; l != NULL; l = l->next) 1070s # { 1070s # GDBusConnection *connection = l->data; 1070s # g_dbus_connection_emit_signal (connection, 1070s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1070s # signal_variant, NULL); 1070s # } 1070s # g_variant_unref (signal_variant); 1070s # g_list_free_full (connections, g_object_unref); 1070s # } 1070s # 1070s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1070s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1070s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1070s # 1070s # #else 1070s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1070s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1070s # 1070s # #endif 1070s # static void 1070s # com_acme_coyote_skeleton_finalize (GObject *object) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1070s # guint n; 1070s # for (n = 0; n < 1; n++) 1070s # g_value_unset (&skeleton->priv->properties[n]); 1070s # g_free (skeleton->priv->properties); 1070s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1070s # if (skeleton->priv->changed_properties_idle_source != NULL) 1070s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1070s # g_main_context_unref (skeleton->priv->context); 1070s # g_mutex_clear (&skeleton->priv->lock); 1070s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_get_property (GObject *object, 1070s # guint prop_id, 1070s # GValue *value, 1070s # GParamSpec *pspec G_GNUC_UNUSED) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1070s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1070s # g_mutex_lock (&skeleton->priv->lock); 1070s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1070s # g_mutex_unlock (&skeleton->priv->lock); 1070s # } 1070s # 1070s # static gboolean 1070s # _com_acme_coyote_emit_changed (gpointer user_data) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1070s # GList *l; 1070s # GVariantBuilder builder; 1070s # GVariantBuilder invalidated_builder; 1070s # guint num_changes; 1070s # 1070s # g_mutex_lock (&skeleton->priv->lock); 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1070s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1070s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1070s # #else 1070s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1070s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1070s # #endif 1070s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1070s # { 1070s # ChangedProperty *cp = l->data; 1070s # GVariant *variant; 1070s # const GValue *cur_value; 1070s # 1070s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1070s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1070s # { 1070s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1070s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1070s # g_variant_unref (variant); 1070s # num_changes++; 1070s # } 1070s # } 1070s # if (num_changes > 0) 1070s # { 1070s # GList *connections, *ll; 1070s # GVariant *signal_variant; 1070s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1070s # &builder, &invalidated_builder)); 1070s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1070s # for (ll = connections; ll != NULL; ll = ll->next) 1070s # { 1070s # GDBusConnection *connection = ll->data; 1070s # 1070s # g_dbus_connection_emit_signal (connection, 1070s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1070s # "org.freedesktop.DBus.Properties", 1070s # "PropertiesChanged", 1070s # signal_variant, 1070s # NULL); 1070s # } 1070s # g_variant_unref (signal_variant); 1070s # g_list_free_full (connections, g_object_unref); 1070s # } 1070s # else 1070s # { 1070s # g_variant_builder_clear (&builder); 1070s # g_variant_builder_clear (&invalidated_builder); 1070s # } 1070s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1070s # skeleton->priv->changed_properties = NULL; 1070s # skeleton->priv->changed_properties_idle_source = NULL; 1070s # g_mutex_unlock (&skeleton->priv->lock); 1070s # return FALSE; 1070s # } 1070s # 1070s # static void 1070s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1070s # { 1070s # ChangedProperty *cp; 1070s # GList *l; 1070s # cp = NULL; 1070s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1070s # { 1070s # ChangedProperty *i_cp = l->data; 1070s # if (i_cp->info == info) 1070s # { 1070s # cp = i_cp; 1070s # break; 1070s # } 1070s # } 1070s # if (cp == NULL) 1070s # { 1070s # cp = g_new0 (ChangedProperty, 1); 1070s # cp->prop_id = prop_id; 1070s # cp->info = info; 1070s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1070s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1070s # g_value_copy (orig_value, &cp->orig_value); 1070s # } 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_notify (GObject *object, 1070s # GParamSpec *pspec G_GNUC_UNUSED) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1070s # g_mutex_lock (&skeleton->priv->lock); 1070s # if (skeleton->priv->changed_properties != NULL && 1070s # skeleton->priv->changed_properties_idle_source == NULL) 1070s # { 1070s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1070s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1070s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1070s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1070s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1070s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1070s # } 1070s # g_mutex_unlock (&skeleton->priv->lock); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_set_property (GObject *object, 1070s # guint prop_id, 1070s # const GValue *value, 1070s # GParamSpec *pspec) 1070s # { 1070s # const _ExtendedGDBusPropertyInfo *info; 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1070s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1070s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1070s # g_mutex_lock (&skeleton->priv->lock); 1070s # g_object_freeze_notify (object); 1070s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1070s # { 1070s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1070s # info->emits_changed_signal) 1070s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1070s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1070s # g_object_notify_by_pspec (object, pspec); 1070s # } 1070s # g_mutex_unlock (&skeleton->priv->lock); 1070s # g_object_thaw_notify (object); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1070s # { 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1070s # #else 1070s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1070s # #endif 1070s # 1070s # g_mutex_init (&skeleton->priv->lock); 1070s # skeleton->priv->context = g_main_context_ref_thread_default (); 1070s # skeleton->priv->properties = g_new0 (GValue, 1); 1070s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1070s # } 1070s # 1070s # static const gchar * 1070s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1070s # const gchar *value; 1070s # g_mutex_lock (&skeleton->priv->lock); 1070s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1070s # g_mutex_unlock (&skeleton->priv->lock); 1070s # return value; 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1070s # { 1070s # GObjectClass *gobject_class; 1070s # GDBusInterfaceSkeletonClass *skeleton_class; 1070s # 1070s # gobject_class = G_OBJECT_CLASS (klass); 1070s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1070s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1070s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1070s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1070s # 1070s # 1070s # com_acme_coyote_override_properties (gobject_class, 1); 1070s # 1070s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1070s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1070s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1070s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1070s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1070s # 1070s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1070s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1070s # #endif 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1070s # { 1070s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1070s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_skeleton_new: 1070s # * 1070s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1070s # * 1070s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1070s # */ 1070s # ComAcmeCoyote * 1070s # com_acme_coyote_skeleton_new (void) 1070s # { 1070s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1070s # } 1070s # 1070s # /* ------------------------------------------------------------------------ 1070s # * Code for interface org.project.Bar.Frobnicator 1070s # * ------------------------------------------------------------------------ 1070s # */ 1070s # 1070s # /** 1070s # * SECTION:OrgProjectBarFrobnicator 1070s # * @title: OrgProjectBarFrobnicator 1070s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1070s # * 1070s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1070s # */ 1070s # 1070s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1070s # 1070s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "RandomMethod", 1070s # NULL, 1070s # NULL, 1070s # NULL 1070s # }, 1070s # "handle-random-method", 1070s # FALSE 1070s # }; 1070s # 1070s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1070s # { 1070s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1070s # NULL 1070s # }; 1070s # 1070s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "org.project.Bar.Frobnicator", 1070s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1070s # NULL, 1070s # NULL, 1070s # NULL 1070s # }, 1070s # "org-project-bar-frobnicator", 1070s # }; 1070s # 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_interface_info: 1070s # * 1070s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1070s # * 1070s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1070s # */ 1070s # GDBusInterfaceInfo * 1070s # org_project_bar_frobnicator_interface_info (void) 1070s # { 1070s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_override_properties: 1070s # * @klass: The class structure for a #GObject derived class. 1070s # * @property_id_begin: The property id to assign to the first overridden property. 1070s # * 1070s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1070s # * The properties are overridden in the order they are defined. 1070s # * 1070s # * Returns: The last property id. 1070s # */ 1070s # guint 1070s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1070s # { 1070s # return property_id_begin - 1; 1070s # } 1070s # 1070s # 1070s # inline static void 1070s # org_project_bar_frobnicator_method_marshal_random_method ( 1070s # GClosure *closure, 1070s # GValue *return_value, 1070s # unsigned int n_param_values, 1070s # const GValue *param_values, 1070s # void *invocation_hint, 1070s # void *marshal_data) 1070s # { 1070s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1070s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1070s # } 1070s # 1070s # 1070s # /** 1070s # * OrgProjectBarFrobnicator: 1070s # * 1070s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1070s # */ 1070s # 1070s # /** 1070s # * OrgProjectBarFrobnicatorIface: 1070s # * @parent_iface: The parent interface. 1070s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1070s # * 1070s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1070s # */ 1070s # 1070s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1070s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1070s # { 1070s # /* GObject signals for incoming D-Bus method calls: */ 1070s # /** 1070s # * OrgProjectBarFrobnicator::handle-random-method: 1070s # * @object: A #OrgProjectBarFrobnicator. 1070s # * @invocation: A #GDBusMethodInvocation. 1070s # * 1070s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1070s # * 1070s # * If 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. 1070s # * 1070s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1070s # */ 1070s # g_signal_new ("handle-random-method", 1070s # G_TYPE_FROM_INTERFACE (iface), 1070s # G_SIGNAL_RUN_LAST, 1070s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1070s # g_signal_accumulator_true_handled, 1070s # NULL, 1070s # org_project_bar_frobnicator_method_marshal_random_method, 1070s # G_TYPE_BOOLEAN, 1070s # 1, 1070s # G_TYPE_DBUS_METHOD_INVOCATION); 1070s # 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_call_random_method: 1070s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1070s # * 1070s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1070s # */ 1070s # void 1070s # org_project_bar_frobnicator_call_random_method ( 1070s # OrgProjectBarFrobnicator *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1070s # "RandomMethod", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # callback, 1070s # user_data); 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_call_random_method_finish: 1070s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # org_project_bar_frobnicator_call_random_method_finish ( 1070s # OrgProjectBarFrobnicator *proxy, 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_call_random_method_sync: 1070s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1070s # * 1070s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # org_project_bar_frobnicator_call_random_method_sync ( 1070s # OrgProjectBarFrobnicator *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1070s # "RandomMethod", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_complete_random_method: 1070s # * @object: A #OrgProjectBarFrobnicator. 1070s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1070s # * 1070s # * 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. 1070s # * 1070s # * This method will free @invocation, you cannot use it afterwards. 1070s # */ 1070s # void 1070s # org_project_bar_frobnicator_complete_random_method ( 1070s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1070s # GDBusMethodInvocation *invocation) 1070s # { 1070s # g_dbus_method_invocation_return_value (invocation, 1070s # g_variant_new ("()")); 1070s # } 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # 1070s # /** 1070s # * OrgProjectBarFrobnicatorProxy: 1070s # * 1070s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1070s # */ 1070s # 1070s # /** 1070s # * OrgProjectBarFrobnicatorProxyClass: 1070s # * @parent_class: The parent class. 1070s # * 1070s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1070s # */ 1070s # 1070s # struct _OrgProjectBarFrobnicatorProxyPrivate 1070s # { 1070s # GData *qdata; 1070s # }; 1070s # 1070s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1070s # 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1070s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1070s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1070s # 1070s # #else 1070s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1070s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1070s # 1070s # #endif 1070s # static void 1070s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1070s # { 1070s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1070s # g_datalist_clear (&proxy->priv->qdata); 1070s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1070s # guint prop_id G_GNUC_UNUSED, 1070s # GValue *value G_GNUC_UNUSED, 1070s # GParamSpec *pspec G_GNUC_UNUSED) 1070s # { 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1070s # guint prop_id G_GNUC_UNUSED, 1070s # const GValue *value G_GNUC_UNUSED, 1070s # GParamSpec *pspec G_GNUC_UNUSED) 1070s # { 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1070s # const gchar *sender_name G_GNUC_UNUSED, 1070s # const gchar *signal_name, 1070s # GVariant *parameters) 1070s # { 1070s # _ExtendedGDBusSignalInfo *info; 1070s # GVariantIter iter; 1070s # GVariant *child; 1070s # GValue *paramv; 1070s # gsize num_params; 1070s # gsize n; 1070s # guint signal_id; 1070s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1070s # if (info == NULL) 1070s # return; 1070s # num_params = g_variant_n_children (parameters); 1070s # paramv = g_new0 (GValue, num_params + 1); 1070s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1070s # g_value_set_object (¶mv[0], proxy); 1070s # g_variant_iter_init (&iter, parameters); 1070s # n = 1; 1070s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1070s # { 1070s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1070s # if (arg_info->use_gvariant) 1070s # { 1070s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1070s # g_value_set_variant (¶mv[n], child); 1070s # n++; 1070s # } 1070s # else 1070s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1070s # g_variant_unref (child); 1070s # } 1070s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1070s # g_signal_emitv (paramv, signal_id, 0, NULL); 1070s # for (n = 0; n < num_params + 1; n++) 1070s # g_value_unset (¶mv[n]); 1070s # g_free (paramv); 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1070s # GVariant *changed_properties, 1070s # const gchar *const *invalidated_properties) 1070s # { 1070s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1070s # guint n; 1070s # const gchar *key; 1070s # GVariantIter *iter; 1070s # _ExtendedGDBusPropertyInfo *info; 1070s # g_variant_get (changed_properties, "a{sv}", &iter); 1070s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1070s # { 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1070s # g_datalist_remove_data (&proxy->priv->qdata, key); 1070s # if (info != NULL) 1070s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1070s # } 1070s # g_variant_iter_free (iter); 1070s # for (n = 0; invalidated_properties[n] != NULL; n++) 1070s # { 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1070s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1070s # if (info != NULL) 1070s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1070s # } 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1070s # { 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1070s # #else 1070s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1070s # #endif 1070s # 1070s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1070s # { 1070s # GObjectClass *gobject_class; 1070s # GDBusProxyClass *proxy_class; 1070s # 1070s # gobject_class = G_OBJECT_CLASS (klass); 1070s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1070s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1070s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1070s # 1070s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1070s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1070s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1070s # 1070s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1070s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1070s # #endif 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1070s # { 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_proxy_new: 1070s # * @connection: A #GDBusConnection. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1070s # * 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1070s # * 1070s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1070s # */ 1070s # void 1070s # org_project_bar_frobnicator_proxy_new ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # 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); 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_proxy_new_finish: 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1070s # * 1070s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # OrgProjectBarFrobnicator * 1070s # org_project_bar_frobnicator_proxy_new_finish ( 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GObject *ret; 1070s # GObject *source_object; 1070s # source_object = g_async_result_get_source_object (res); 1070s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1070s # g_object_unref (source_object); 1070s # if (ret != NULL) 1070s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_proxy_new_sync: 1070s # * @connection: A #GDBusConnection. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1070s # * 1070s # * The calling thread is blocked until a reply is received. 1070s # * 1070s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1070s # * 1070s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # OrgProjectBarFrobnicator * 1070s # org_project_bar_frobnicator_proxy_new_sync ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GInitable *ret; 1070s # 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); 1070s # if (ret != NULL) 1070s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_proxy_new_for_bus: 1070s # * @bus_type: A #GBusType. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: A bus name (well-known or unique). 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1070s # * 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1070s # * 1070s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1070s # */ 1070s # void 1070s # org_project_bar_frobnicator_proxy_new_for_bus ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # 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); 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1070s # * 1070s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # OrgProjectBarFrobnicator * 1070s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GObject *ret; 1070s # GObject *source_object; 1070s # source_object = g_async_result_get_source_object (res); 1070s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1070s # g_object_unref (source_object); 1070s # if (ret != NULL) 1070s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1070s # * @bus_type: A #GBusType. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: A bus name (well-known or unique). 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1070s # * 1070s # * The calling thread is blocked until a reply is received. 1070s # * 1070s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1070s # * 1070s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # OrgProjectBarFrobnicator * 1070s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GInitable *ret; 1070s # 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); 1070s # if (ret != NULL) 1070s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # 1070s # /** 1070s # * OrgProjectBarFrobnicatorSkeleton: 1070s # * 1070s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1070s # */ 1070s # 1070s # /** 1070s # * OrgProjectBarFrobnicatorSkeletonClass: 1070s # * @parent_class: The parent class. 1070s # * 1070s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1070s # */ 1070s # 1070s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1070s # { 1070s # GValue *properties; 1070s # GList *changed_properties; 1070s # GSource *changed_properties_idle_source; 1070s # GMainContext *context; 1070s # GMutex lock; 1070s # }; 1070s # 1070s # static void 1070s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1070s # GDBusConnection *connection G_GNUC_UNUSED, 1070s # const gchar *sender G_GNUC_UNUSED, 1070s # const gchar *object_path G_GNUC_UNUSED, 1070s # const gchar *interface_name, 1070s # const gchar *method_name, 1070s # GVariant *parameters, 1070s # GDBusMethodInvocation *invocation, 1070s # gpointer user_data) 1070s # { 1070s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1070s # _ExtendedGDBusMethodInfo *info; 1070s # GVariantIter iter; 1070s # GVariant *child; 1070s # GValue *paramv; 1070s # gsize num_params; 1070s # guint num_extra; 1070s # gsize n; 1070s # guint signal_id; 1070s # GValue return_value = G_VALUE_INIT; 1070s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1070s # g_assert (info != NULL); 1070s # num_params = g_variant_n_children (parameters); 1070s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1070s # n = 0; 1070s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1070s # g_value_set_object (¶mv[n++], skeleton); 1070s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1070s # g_value_set_object (¶mv[n++], invocation); 1070s # if (info->pass_fdlist) 1070s # { 1070s # #ifdef G_OS_UNIX 1070s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1070s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1070s # #else 1070s # g_assert_not_reached (); 1070s # #endif 1070s # } 1070s # g_variant_iter_init (&iter, parameters); 1070s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1070s # { 1070s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1070s # if (arg_info->use_gvariant) 1070s # { 1070s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1070s # g_value_set_variant (¶mv[n], child); 1070s # n++; 1070s # } 1070s # else 1070s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1070s # g_variant_unref (child); 1070s # } 1070s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1070s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1070s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1070s # if (!g_value_get_boolean (&return_value)) 1070s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1070s # g_value_unset (&return_value); 1070s # for (n = 0; n < num_params + num_extra; n++) 1070s # g_value_unset (¶mv[n]); 1070s # g_free (paramv); 1070s # } 1070s # 1070s # static GVariant * 1070s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1070s # GDBusConnection *connection G_GNUC_UNUSED, 1070s # const gchar *sender G_GNUC_UNUSED, 1070s # const gchar *object_path G_GNUC_UNUSED, 1070s # const gchar *interface_name G_GNUC_UNUSED, 1070s # const gchar *property_name, 1070s # GError **error, 1070s # gpointer user_data) 1070s # { 1070s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1070s # GValue value = G_VALUE_INIT; 1070s # GParamSpec *pspec; 1070s # _ExtendedGDBusPropertyInfo *info; 1070s # GVariant *ret; 1070s # ret = NULL; 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1070s # g_assert (info != NULL); 1070s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1070s # if (pspec == NULL) 1070s # { 1070s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1070s # } 1070s # else 1070s # { 1070s # g_value_init (&value, pspec->value_type); 1070s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1070s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1070s # g_value_unset (&value); 1070s # } 1070s # return ret; 1070s # } 1070s # 1070s # static gboolean 1070s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1070s # GDBusConnection *connection G_GNUC_UNUSED, 1070s # const gchar *sender G_GNUC_UNUSED, 1070s # const gchar *object_path G_GNUC_UNUSED, 1070s # const gchar *interface_name G_GNUC_UNUSED, 1070s # const gchar *property_name, 1070s # GVariant *variant, 1070s # GError **error, 1070s # gpointer user_data) 1070s # { 1070s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1070s # GValue value = G_VALUE_INIT; 1070s # GParamSpec *pspec; 1070s # _ExtendedGDBusPropertyInfo *info; 1070s # gboolean ret; 1070s # ret = FALSE; 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1070s # g_assert (info != NULL); 1070s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1070s # if (pspec == NULL) 1070s # { 1070s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1070s # } 1070s # else 1070s # { 1070s # if (info->use_gvariant) 1070s # g_value_set_variant (&value, variant); 1070s # else 1070s # g_dbus_gvariant_to_gvalue (variant, &value); 1070s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1070s # g_value_unset (&value); 1070s # ret = TRUE; 1070s # } 1070s # return ret; 1070s # } 1070s # 1070s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1070s # { 1070s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1070s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1070s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1070s # {NULL} 1070s # }; 1070s # 1070s # static GDBusInterfaceInfo * 1070s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1070s # { 1070s # return org_project_bar_frobnicator_interface_info (); 1070s # } 1070s # 1070s # static GDBusInterfaceVTable * 1070s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1070s # { 1070s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1070s # } 1070s # 1070s # static GVariant * 1070s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1070s # { 1070s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1070s # 1070s # GVariantBuilder builder; 1070s # guint n; 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1070s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1070s # #else 1070s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1070s # #endif 1070s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1070s # goto out; 1070s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1070s # { 1070s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1070s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1070s # { 1070s # GVariant *value; 1070s # 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); 1070s # if (value != NULL) 1070s # { 1070s # g_variant_take_ref (value); 1070s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1070s # g_variant_unref (value); 1070s # } 1070s # } 1070s # } 1070s # out: 1070s # return g_variant_builder_end (&builder); 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1070s # { 1070s # } 1070s # 1070s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1070s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1070s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1070s # 1070s # #else 1070s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1070s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1070s # 1070s # #endif 1070s # static void 1070s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1070s # { 1070s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1070s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1070s # if (skeleton->priv->changed_properties_idle_source != NULL) 1070s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1070s # g_main_context_unref (skeleton->priv->context); 1070s # g_mutex_clear (&skeleton->priv->lock); 1070s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1070s # { 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1070s # #else 1070s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1070s # #endif 1070s # 1070s # g_mutex_init (&skeleton->priv->lock); 1070s # skeleton->priv->context = g_main_context_ref_thread_default (); 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1070s # { 1070s # GObjectClass *gobject_class; 1070s # GDBusInterfaceSkeletonClass *skeleton_class; 1070s # 1070s # gobject_class = G_OBJECT_CLASS (klass); 1070s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1070s # 1070s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1070s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1070s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1070s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1070s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1070s # 1070s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1070s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1070s # #endif 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1070s # { 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_skeleton_new: 1070s # * 1070s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1070s # * 1070s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1070s # */ 1070s # OrgProjectBarFrobnicator * 1070s # org_project_bar_frobnicator_skeleton_new (void) 1070s # { 1070s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1070s # } 1070s # Error: 1070s # 1070s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzmbjsbz/tmpv7p9bfx42.xml', '/tmp/tmpqzmbjsbz/tmp43z3nb0b1.xml', '--output', '-', '--body'] 1070s # Return code: 0 1070s # Output: 1070s # /* 1070s # * This file is generated by gdbus-codegen, do not modify it. 1070s # * 1070s # * The license of this code is the same as for the D-Bus interface description 1070s # * it was derived from. Note that it links to GLib, so must comply with the 1070s # * LGPL linking clauses. 1070s # */ 1070s # 1070s # #ifdef HAVE_CONFIG_H 1070s # # include "config.h" 1070s # #endif 1070s # 1070s # #include 1070s # #ifdef G_OS_UNIX 1070s # # include 1070s # #endif 1070s # 1070s # #ifdef G_ENABLE_DEBUG 1070s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1070s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1070s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1070s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1070s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1070s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1070s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1070s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1070s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1070s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1070s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1070s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1070s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1070s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1070s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1070s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1070s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1070s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1070s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1070s # #else /* !G_ENABLE_DEBUG */ 1070s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1070s # * Do not access GValues directly in your code. Instead, use the 1070s # * g_value_get_*() functions 1070s # */ 1070s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1070s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1070s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1070s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1070s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1070s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1070s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1070s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1070s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1070s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1070s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1070s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1070s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1070s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1070s # #endif /* !G_ENABLE_DEBUG */ 1070s # 1070s # typedef struct 1070s # { 1070s # GDBusArgInfo parent_struct; 1070s # gboolean use_gvariant; 1070s # } _ExtendedGDBusArgInfo; 1070s # 1070s # typedef struct 1070s # { 1070s # GDBusMethodInfo parent_struct; 1070s # const gchar *signal_name; 1070s # gboolean pass_fdlist; 1070s # } _ExtendedGDBusMethodInfo; 1070s # 1070s # typedef struct 1070s # { 1070s # GDBusSignalInfo parent_struct; 1070s # const gchar *signal_name; 1070s # } _ExtendedGDBusSignalInfo; 1070s # 1070s # typedef struct 1070s # { 1070s # GDBusPropertyInfo parent_struct; 1070s # const gchar *hyphen_name; 1070s # guint use_gvariant : 1; 1070s # guint emits_changed_signal : 1; 1070s # } _ExtendedGDBusPropertyInfo; 1070s # 1070s # typedef struct 1070s # { 1070s # GDBusInterfaceInfo parent_struct; 1070s # const gchar *hyphen_name; 1070s # } _ExtendedGDBusInterfaceInfo; 1070s # 1070s # typedef struct 1070s # { 1070s # const _ExtendedGDBusPropertyInfo *info; 1070s # guint prop_id; 1070s # GValue orig_value; /* the value before the change */ 1070s # } ChangedProperty; 1070s # 1070s # static void 1070s # _changed_property_free (ChangedProperty *data) 1070s # { 1070s # g_value_unset (&data->orig_value); 1070s # g_free (data); 1070s # } 1070s # 1070s # static gboolean 1070s # _g_strv_equal0 (gchar **a, gchar **b) 1070s # { 1070s # gboolean ret = FALSE; 1070s # guint n; 1070s # if (a == NULL && b == NULL) 1070s # { 1070s # ret = TRUE; 1070s # goto out; 1070s # } 1070s # if (a == NULL || b == NULL) 1070s # goto out; 1070s # if (g_strv_length (a) != g_strv_length (b)) 1070s # goto out; 1070s # for (n = 0; a[n] != NULL; n++) 1070s # if (g_strcmp0 (a[n], b[n]) != 0) 1070s # goto out; 1070s # ret = TRUE; 1070s # out: 1070s # return ret; 1070s # } 1070s # 1070s # static gboolean 1070s # _g_variant_equal0 (GVariant *a, GVariant *b) 1070s # { 1070s # gboolean ret = FALSE; 1070s # if (a == NULL && b == NULL) 1070s # { 1070s # ret = TRUE; 1070s # goto out; 1070s # } 1070s # if (a == NULL || b == NULL) 1070s # goto out; 1070s # ret = g_variant_equal (a, b); 1070s # out: 1070s # return ret; 1070s # } 1070s # 1070s # G_GNUC_UNUSED static gboolean 1070s # _g_value_equal (const GValue *a, const GValue *b) 1070s # { 1070s # gboolean ret = FALSE; 1070s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1070s # switch (G_VALUE_TYPE (a)) 1070s # { 1070s # case G_TYPE_BOOLEAN: 1070s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1070s # break; 1070s # case G_TYPE_UCHAR: 1070s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1070s # break; 1070s # case G_TYPE_INT: 1070s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1070s # break; 1070s # case G_TYPE_UINT: 1070s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1070s # break; 1070s # case G_TYPE_INT64: 1070s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1070s # break; 1070s # case G_TYPE_UINT64: 1070s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1070s # break; 1070s # case G_TYPE_DOUBLE: 1070s # { 1070s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1070s # gdouble da = g_value_get_double (a); 1070s # gdouble db = g_value_get_double (b); 1070s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1070s # } 1070s # break; 1070s # case G_TYPE_STRING: 1070s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1070s # break; 1070s # case G_TYPE_VARIANT: 1070s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1070s # break; 1070s # default: 1070s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1070s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1070s # else 1070s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1070s # break; 1070s # } 1070s # return ret; 1070s # } 1070s # 1070s # static void 1070s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1070s # GClosure *closure, 1070s # GValue *return_value, 1070s # unsigned int n_param_values, 1070s # const GValue *param_values, 1070s # void *invocation_hint G_GNUC_UNUSED, 1070s # void *marshal_data) 1070s # { 1070s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1070s # (void *data1, 1070s # GDBusMethodInvocation *arg_method_invocation, 1070s # void *data2); 1070s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1070s # GCClosure *cc = (GCClosure*) closure; 1070s # void *data1, *data2; 1070s # gboolean v_return; 1070s # 1070s # g_return_if_fail (return_value != NULL); 1070s # g_return_if_fail (n_param_values == 2); 1070s # 1070s # if (G_CCLOSURE_SWAP_DATA (closure)) 1070s # { 1070s # data1 = closure->data; 1070s # data2 = g_value_peek_pointer (param_values + 0); 1070s # } 1070s # else 1070s # { 1070s # data1 = g_value_peek_pointer (param_values + 0); 1070s # data2 = closure->data; 1070s # } 1070s # 1070s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1070s # (marshal_data ? marshal_data : cc->callback); 1070s # 1070s # v_return = 1070s # callback (data1, 1070s # g_marshal_value_peek_object (param_values + 1), 1070s # data2); 1070s # 1070s # g_value_set_boolean (return_value, v_return); 1070s # } 1070s # 1070s # /* ------------------------------------------------------------------------ 1070s # * Code for interface com.acme.Coyote 1070s # * ------------------------------------------------------------------------ 1070s # */ 1070s # 1070s # /** 1070s # * SECTION:ComAcmeCoyote 1070s # * @title: ComAcmeCoyote 1070s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1070s # * 1070s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1070s # */ 1070s # 1070s # enum 1070s # { 1070s # _COM_ACME_COYOTE_SURPRISED, 1070s # }; 1070s # 1070s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1070s # 1070s # /* ---- Introspection data for com.acme.Coyote ---- */ 1070s # 1070s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "Run", 1070s # NULL, 1070s # NULL, 1070s # NULL 1070s # }, 1070s # "handle-run", 1070s # FALSE 1070s # }; 1070s # 1070s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "Sleep", 1070s # NULL, 1070s # NULL, 1070s # NULL 1070s # }, 1070s # "handle-sleep", 1070s # FALSE 1070s # }; 1070s # 1070s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "Attack", 1070s # NULL, 1070s # NULL, 1070s # NULL 1070s # }, 1070s # "handle-attack", 1070s # FALSE 1070s # }; 1070s # 1070s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1070s # { 1070s # &_com_acme_coyote_method_info_run.parent_struct, 1070s # &_com_acme_coyote_method_info_sleep.parent_struct, 1070s # &_com_acme_coyote_method_info_attack.parent_struct, 1070s # NULL 1070s # }; 1070s # 1070s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "Surprised", 1070s # NULL, 1070s # NULL 1070s # }, 1070s # "surprised" 1070s # }; 1070s # 1070s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1070s # { 1070s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1070s # NULL 1070s # }; 1070s # 1070s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "Mood", 1070s # (gchar *) "s", 1070s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1070s # NULL 1070s # }, 1070s # "mood", 1070s # FALSE, 1070s # TRUE 1070s # }; 1070s # 1070s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1070s # { 1070s # &_com_acme_coyote_property_info_mood.parent_struct, 1070s # NULL 1070s # }; 1070s # 1070s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "com.acme.Coyote", 1070s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1070s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1070s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1070s # NULL 1070s # }, 1070s # "com-acme-coyote", 1070s # }; 1070s # 1070s # 1070s # /** 1070s # * com_acme_coyote_interface_info: 1070s # * 1070s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1070s # * 1070s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1070s # */ 1070s # GDBusInterfaceInfo * 1070s # com_acme_coyote_interface_info (void) 1070s # { 1070s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_override_properties: 1070s # * @klass: The class structure for a #GObject derived class. 1070s # * @property_id_begin: The property id to assign to the first overridden property. 1070s # * 1070s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1070s # * The properties are overridden in the order they are defined. 1070s # * 1070s # * Returns: The last property id. 1070s # */ 1070s # guint 1070s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1070s # { 1070s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1070s # return property_id_begin - 1; 1070s # } 1070s # 1070s # 1070s # inline static void 1070s # com_acme_coyote_signal_marshal_surprised ( 1070s # GClosure *closure, 1070s # GValue *return_value, 1070s # unsigned int n_param_values, 1070s # const GValue *param_values, 1070s # void *invocation_hint, 1070s # void *marshal_data) 1070s # { 1070s # g_cclosure_marshal_VOID__VOID (closure, 1070s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1070s # } 1070s # 1070s # inline static void 1070s # com_acme_coyote_method_marshal_run ( 1070s # GClosure *closure, 1070s # GValue *return_value, 1070s # unsigned int n_param_values, 1070s # const GValue *param_values, 1070s # void *invocation_hint, 1070s # void *marshal_data) 1070s # { 1070s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1070s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1070s # } 1070s # 1070s # inline static void 1070s # com_acme_coyote_method_marshal_sleep ( 1070s # GClosure *closure, 1070s # GValue *return_value, 1070s # unsigned int n_param_values, 1070s # const GValue *param_values, 1070s # void *invocation_hint, 1070s # void *marshal_data) 1070s # { 1070s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1070s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1070s # } 1070s # 1070s # inline static void 1070s # com_acme_coyote_method_marshal_attack ( 1070s # GClosure *closure, 1070s # GValue *return_value, 1070s # unsigned int n_param_values, 1070s # const GValue *param_values, 1070s # void *invocation_hint, 1070s # void *marshal_data) 1070s # { 1070s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1070s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1070s # } 1070s # 1070s # 1070s # /** 1070s # * ComAcmeCoyote: 1070s # * 1070s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1070s # */ 1070s # 1070s # /** 1070s # * ComAcmeCoyoteIface: 1070s # * @parent_iface: The parent interface. 1070s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1070s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1070s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1070s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1070s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1070s # * 1070s # * Virtual table for the D-Bus interface com.acme.Coyote. 1070s # */ 1070s # 1070s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1070s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1070s # 1070s # static void 1070s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1070s # { 1070s # /* GObject signals for incoming D-Bus method calls: */ 1070s # /** 1070s # * ComAcmeCoyote::handle-run: 1070s # * @object: A #ComAcmeCoyote. 1070s # * @invocation: A #GDBusMethodInvocation. 1070s # * 1070s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1070s # * 1070s # * If 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. 1070s # * 1070s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1070s # */ 1070s # g_signal_new ("handle-run", 1070s # G_TYPE_FROM_INTERFACE (iface), 1070s # G_SIGNAL_RUN_LAST, 1070s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1070s # g_signal_accumulator_true_handled, 1070s # NULL, 1070s # com_acme_coyote_method_marshal_run, 1070s # G_TYPE_BOOLEAN, 1070s # 1, 1070s # G_TYPE_DBUS_METHOD_INVOCATION); 1070s # 1070s # /** 1070s # * ComAcmeCoyote::handle-sleep: 1070s # * @object: A #ComAcmeCoyote. 1070s # * @invocation: A #GDBusMethodInvocation. 1070s # * 1070s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1070s # * 1070s # * If 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. 1070s # * 1070s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1070s # */ 1070s # g_signal_new ("handle-sleep", 1070s # G_TYPE_FROM_INTERFACE (iface), 1070s # G_SIGNAL_RUN_LAST, 1070s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1070s # g_signal_accumulator_true_handled, 1070s # NULL, 1070s # com_acme_coyote_method_marshal_sleep, 1070s # G_TYPE_BOOLEAN, 1070s # 1, 1070s # G_TYPE_DBUS_METHOD_INVOCATION); 1070s # 1070s # /** 1070s # * ComAcmeCoyote::handle-attack: 1070s # * @object: A #ComAcmeCoyote. 1070s # * @invocation: A #GDBusMethodInvocation. 1070s # * 1070s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1070s # * 1070s # * If 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. 1070s # * 1070s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1070s # */ 1070s # g_signal_new ("handle-attack", 1070s # G_TYPE_FROM_INTERFACE (iface), 1070s # G_SIGNAL_RUN_LAST, 1070s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1070s # g_signal_accumulator_true_handled, 1070s # NULL, 1070s # com_acme_coyote_method_marshal_attack, 1070s # G_TYPE_BOOLEAN, 1070s # 1, 1070s # G_TYPE_DBUS_METHOD_INVOCATION); 1070s # 1070s # /* GObject signals for received D-Bus signals: */ 1070s # /** 1070s # * ComAcmeCoyote::surprised: 1070s # * @object: A #ComAcmeCoyote. 1070s # * 1070s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1070s # * 1070s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1070s # */ 1070s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1070s # g_signal_new ("surprised", 1070s # G_TYPE_FROM_INTERFACE (iface), 1070s # G_SIGNAL_RUN_LAST, 1070s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1070s # NULL, 1070s # NULL, 1070s # com_acme_coyote_signal_marshal_surprised, 1070s # G_TYPE_NONE, 1070s # 0); 1070s # 1070s # /* GObject properties for D-Bus properties: */ 1070s # /** 1070s # * ComAcmeCoyote:mood: 1070s # * 1070s # * Represents the D-Bus property "Mood". 1070s # * 1070s # * 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. 1070s # */ 1070s # g_object_interface_install_property (iface, 1070s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_get_mood: (skip) 1070s # * @object: A #ComAcmeCoyote. 1070s # * 1070s # * Gets the value of the "Mood" D-Bus property. 1070s # * 1070s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1070s # * 1070s # * 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. 1070s # * 1070s # * 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. 1070s # */ 1070s # const gchar * 1070s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1070s # { 1070s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1070s # 1070s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_dup_mood: (skip) 1070s # * @object: A #ComAcmeCoyote. 1070s # * 1070s # * Gets a copy of the "Mood" D-Bus property. 1070s # * 1070s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1070s # * 1070s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1070s # */ 1070s # gchar * 1070s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1070s # { 1070s # gchar *value; 1070s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1070s # return value; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_set_mood: (skip) 1070s # * @object: A #ComAcmeCoyote. 1070s # * @value: The value to set. 1070s # * 1070s # * Sets the "Mood" D-Bus property to @value. 1070s # * 1070s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1070s # */ 1070s # void 1070s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1070s # { 1070s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_emit_surprised: 1070s # * @object: A #ComAcmeCoyote. 1070s # * 1070s # * Emits the "Surprised" D-Bus signal. 1070s # */ 1070s # void 1070s # com_acme_coyote_emit_surprised ( 1070s # ComAcmeCoyote *object) 1070s # { 1070s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_run: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1070s # * 1070s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1070s # */ 1070s # void 1070s # com_acme_coyote_call_run ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1070s # "Run", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # callback, 1070s # user_data); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_run_finish: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Finishes an operation started with com_acme_coyote_call_run(). 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # com_acme_coyote_call_run_finish ( 1070s # ComAcmeCoyote *proxy, 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_run_sync: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1070s # * 1070s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # com_acme_coyote_call_run_sync ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1070s # "Run", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_sleep: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1070s # * 1070s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1070s # */ 1070s # void 1070s # com_acme_coyote_call_sleep ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1070s # "Sleep", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # callback, 1070s # user_data); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_sleep_finish: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # com_acme_coyote_call_sleep_finish ( 1070s # ComAcmeCoyote *proxy, 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_sleep_sync: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1070s # * 1070s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # com_acme_coyote_call_sleep_sync ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1070s # "Sleep", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_attack: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1070s # * 1070s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1070s # */ 1070s # void 1070s # com_acme_coyote_call_attack ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1070s # "Attack", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # callback, 1070s # user_data); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_attack_finish: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Finishes an operation started with com_acme_coyote_call_attack(). 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # com_acme_coyote_call_attack_finish ( 1070s # ComAcmeCoyote *proxy, 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_call_attack_sync: 1070s # * @proxy: A #ComAcmeCoyoteProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1070s # * 1070s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # com_acme_coyote_call_attack_sync ( 1070s # ComAcmeCoyote *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1070s # "Attack", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_complete_run: 1070s # * @object: A #ComAcmeCoyote. 1070s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1070s # * 1070s # * 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. 1070s # * 1070s # * This method will free @invocation, you cannot use it afterwards. 1070s # */ 1070s # void 1070s # com_acme_coyote_complete_run ( 1070s # ComAcmeCoyote *object G_GNUC_UNUSED, 1070s # GDBusMethodInvocation *invocation) 1070s # { 1070s # g_dbus_method_invocation_return_value (invocation, 1070s # g_variant_new ("()")); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_complete_sleep: 1070s # * @object: A #ComAcmeCoyote. 1070s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1070s # * 1070s # * 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. 1070s # * 1070s # * This method will free @invocation, you cannot use it afterwards. 1070s # */ 1070s # void 1070s # com_acme_coyote_complete_sleep ( 1070s # ComAcmeCoyote *object G_GNUC_UNUSED, 1070s # GDBusMethodInvocation *invocation) 1070s # { 1070s # g_dbus_method_invocation_return_value (invocation, 1070s # g_variant_new ("()")); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_complete_attack: 1070s # * @object: A #ComAcmeCoyote. 1070s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1070s # * 1070s # * 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. 1070s # * 1070s # * This method will free @invocation, you cannot use it afterwards. 1070s # */ 1070s # void 1070s # com_acme_coyote_complete_attack ( 1070s # ComAcmeCoyote *object G_GNUC_UNUSED, 1070s # GDBusMethodInvocation *invocation) 1070s # { 1070s # g_dbus_method_invocation_return_value (invocation, 1070s # g_variant_new ("()")); 1070s # } 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # 1070s # /** 1070s # * ComAcmeCoyoteProxy: 1070s # * 1070s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1070s # */ 1070s # 1070s # /** 1070s # * ComAcmeCoyoteProxyClass: 1070s # * @parent_class: The parent class. 1070s # * 1070s # * Class structure for #ComAcmeCoyoteProxy. 1070s # */ 1070s # 1070s # struct _ComAcmeCoyoteProxyPrivate 1070s # { 1070s # GData *qdata; 1070s # }; 1070s # 1070s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1070s # 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1070s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1070s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1070s # 1070s # #else 1070s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1070s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1070s # 1070s # #endif 1070s # static void 1070s # com_acme_coyote_proxy_finalize (GObject *object) 1070s # { 1070s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1070s # g_datalist_clear (&proxy->priv->qdata); 1070s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_get_property (GObject *object, 1070s # guint prop_id, 1070s # GValue *value, 1070s # GParamSpec *pspec G_GNUC_UNUSED) 1070s # { 1070s # const _ExtendedGDBusPropertyInfo *info; 1070s # GVariant *variant; 1070s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1070s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1070s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1070s # if (info->use_gvariant) 1070s # { 1070s # g_value_set_variant (value, variant); 1070s # } 1070s # else 1070s # { 1070s # if (variant != NULL) 1070s # g_dbus_gvariant_to_gvalue (variant, value); 1070s # } 1070s # if (variant != NULL) 1070s # g_variant_unref (variant); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1070s # GAsyncResult *res, 1070s # gpointer user_data) 1070s # { 1070s # const _ExtendedGDBusPropertyInfo *info = user_data; 1070s # GError *error; 1070s # GVariant *_ret; 1070s # error = NULL; 1070s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1070s # if (!_ret) 1070s # { 1070s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1070s # info->parent_struct.name, 1070s # error->message, g_quark_to_string (error->domain), error->code); 1070s # g_error_free (error); 1070s # } 1070s # else 1070s # { 1070s # g_variant_unref (_ret); 1070s # } 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_set_property (GObject *object, 1070s # guint prop_id, 1070s # const GValue *value, 1070s # GParamSpec *pspec G_GNUC_UNUSED) 1070s # { 1070s # const _ExtendedGDBusPropertyInfo *info; 1070s # GVariant *variant; 1070s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1070s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1070s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1070s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1070s # "org.freedesktop.DBus.Properties.Set", 1070s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1070s # g_variant_unref (variant); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1070s # const gchar *sender_name G_GNUC_UNUSED, 1070s # const gchar *signal_name, 1070s # GVariant *parameters) 1070s # { 1070s # _ExtendedGDBusSignalInfo *info; 1070s # GVariantIter iter; 1070s # GVariant *child; 1070s # GValue *paramv; 1070s # gsize num_params; 1070s # gsize n; 1070s # guint signal_id; 1070s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1070s # if (info == NULL) 1070s # return; 1070s # num_params = g_variant_n_children (parameters); 1070s # paramv = g_new0 (GValue, num_params + 1); 1070s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1070s # g_value_set_object (¶mv[0], proxy); 1070s # g_variant_iter_init (&iter, parameters); 1070s # n = 1; 1070s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1070s # { 1070s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1070s # if (arg_info->use_gvariant) 1070s # { 1070s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1070s # g_value_set_variant (¶mv[n], child); 1070s # n++; 1070s # } 1070s # else 1070s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1070s # g_variant_unref (child); 1070s # } 1070s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1070s # g_signal_emitv (paramv, signal_id, 0, NULL); 1070s # for (n = 0; n < num_params + 1; n++) 1070s # g_value_unset (¶mv[n]); 1070s # g_free (paramv); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1070s # GVariant *changed_properties, 1070s # const gchar *const *invalidated_properties) 1070s # { 1070s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1070s # guint n; 1070s # const gchar *key; 1070s # GVariantIter *iter; 1070s # _ExtendedGDBusPropertyInfo *info; 1070s # g_variant_get (changed_properties, "a{sv}", &iter); 1070s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1070s # { 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1070s # g_datalist_remove_data (&proxy->priv->qdata, key); 1070s # if (info != NULL) 1070s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1070s # } 1070s # g_variant_iter_free (iter); 1070s # for (n = 0; invalidated_properties[n] != NULL; n++) 1070s # { 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1070s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1070s # if (info != NULL) 1070s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1070s # } 1070s # } 1070s # 1070s # static const gchar * 1070s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1070s # { 1070s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1070s # GVariant *variant; 1070s # const gchar *value = NULL; 1070s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1070s # if (variant != NULL) 1070s # { 1070s # value = g_variant_get_string (variant, NULL); 1070s # g_variant_unref (variant); 1070s # } 1070s # return value; 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1070s # { 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1070s # #else 1070s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1070s # #endif 1070s # 1070s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1070s # { 1070s # GObjectClass *gobject_class; 1070s # GDBusProxyClass *proxy_class; 1070s # 1070s # gobject_class = G_OBJECT_CLASS (klass); 1070s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1070s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1070s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1070s # 1070s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1070s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1070s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1070s # 1070s # com_acme_coyote_override_properties (gobject_class, 1); 1070s # 1070s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1070s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1070s # #endif 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1070s # { 1070s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_proxy_new: 1070s # * @connection: A #GDBusConnection. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1070s # * 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1070s # * 1070s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1070s # */ 1070s # void 1070s # com_acme_coyote_proxy_new ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # 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); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_proxy_new_finish: 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1070s # * 1070s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # ComAcmeCoyote * 1070s # com_acme_coyote_proxy_new_finish ( 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GObject *ret; 1070s # GObject *source_object; 1070s # source_object = g_async_result_get_source_object (res); 1070s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1070s # g_object_unref (source_object); 1070s # if (ret != NULL) 1070s # return COM_ACME_COYOTE (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_proxy_new_sync: 1070s # * @connection: A #GDBusConnection. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1070s # * 1070s # * The calling thread is blocked until a reply is received. 1070s # * 1070s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1070s # * 1070s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # ComAcmeCoyote * 1070s # com_acme_coyote_proxy_new_sync ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GInitable *ret; 1070s # 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); 1070s # if (ret != NULL) 1070s # return COM_ACME_COYOTE (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # 1070s # /** 1070s # * com_acme_coyote_proxy_new_for_bus: 1070s # * @bus_type: A #GBusType. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: A bus name (well-known or unique). 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1070s # * 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1070s # * 1070s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1070s # */ 1070s # void 1070s # com_acme_coyote_proxy_new_for_bus ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # 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); 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_proxy_new_for_bus_finish: 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1070s # * 1070s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # ComAcmeCoyote * 1070s # com_acme_coyote_proxy_new_for_bus_finish ( 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GObject *ret; 1070s # GObject *source_object; 1070s # source_object = g_async_result_get_source_object (res); 1070s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1070s # g_object_unref (source_object); 1070s # if (ret != NULL) 1070s # return COM_ACME_COYOTE (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_proxy_new_for_bus_sync: 1070s # * @bus_type: A #GBusType. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: A bus name (well-known or unique). 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1070s # * 1070s # * The calling thread is blocked until a reply is received. 1070s # * 1070s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1070s # * 1070s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # ComAcmeCoyote * 1070s # com_acme_coyote_proxy_new_for_bus_sync ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GInitable *ret; 1070s # 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); 1070s # if (ret != NULL) 1070s # return COM_ACME_COYOTE (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # 1070s # /** 1070s # * ComAcmeCoyoteSkeleton: 1070s # * 1070s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1070s # */ 1070s # 1070s # /** 1070s # * ComAcmeCoyoteSkeletonClass: 1070s # * @parent_class: The parent class. 1070s # * 1070s # * Class structure for #ComAcmeCoyoteSkeleton. 1070s # */ 1070s # 1070s # struct _ComAcmeCoyoteSkeletonPrivate 1070s # { 1070s # GValue *properties; 1070s # GList *changed_properties; 1070s # GSource *changed_properties_idle_source; 1070s # GMainContext *context; 1070s # GMutex lock; 1070s # }; 1070s # 1070s # static void 1070s # _com_acme_coyote_skeleton_handle_method_call ( 1070s # GDBusConnection *connection G_GNUC_UNUSED, 1070s # const gchar *sender G_GNUC_UNUSED, 1070s # const gchar *object_path G_GNUC_UNUSED, 1070s # const gchar *interface_name, 1070s # const gchar *method_name, 1070s # GVariant *parameters, 1070s # GDBusMethodInvocation *invocation, 1070s # gpointer user_data) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1070s # _ExtendedGDBusMethodInfo *info; 1070s # GVariantIter iter; 1070s # GVariant *child; 1070s # GValue *paramv; 1070s # gsize num_params; 1070s # guint num_extra; 1070s # gsize n; 1070s # guint signal_id; 1070s # GValue return_value = G_VALUE_INIT; 1070s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1070s # g_assert (info != NULL); 1070s # num_params = g_variant_n_children (parameters); 1070s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1070s # n = 0; 1070s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1070s # g_value_set_object (¶mv[n++], skeleton); 1070s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1070s # g_value_set_object (¶mv[n++], invocation); 1070s # if (info->pass_fdlist) 1070s # { 1070s # #ifdef G_OS_UNIX 1070s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1070s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1070s # #else 1070s # g_assert_not_reached (); 1070s # #endif 1070s # } 1070s # g_variant_iter_init (&iter, parameters); 1070s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1070s # { 1070s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1070s # if (arg_info->use_gvariant) 1070s # { 1070s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1070s # g_value_set_variant (¶mv[n], child); 1070s # n++; 1070s # } 1070s # else 1070s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1070s # g_variant_unref (child); 1070s # } 1070s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1070s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1070s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1070s # if (!g_value_get_boolean (&return_value)) 1070s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1070s # g_value_unset (&return_value); 1070s # for (n = 0; n < num_params + num_extra; n++) 1070s # g_value_unset (¶mv[n]); 1070s # g_free (paramv); 1070s # } 1070s # 1070s # static GVariant * 1070s # _com_acme_coyote_skeleton_handle_get_property ( 1070s # GDBusConnection *connection G_GNUC_UNUSED, 1070s # const gchar *sender G_GNUC_UNUSED, 1070s # const gchar *object_path G_GNUC_UNUSED, 1070s # const gchar *interface_name G_GNUC_UNUSED, 1070s # const gchar *property_name, 1070s # GError **error, 1070s # gpointer user_data) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1070s # GValue value = G_VALUE_INIT; 1070s # GParamSpec *pspec; 1070s # _ExtendedGDBusPropertyInfo *info; 1070s # GVariant *ret; 1070s # ret = NULL; 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1070s # g_assert (info != NULL); 1070s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1070s # if (pspec == NULL) 1070s # { 1070s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1070s # } 1070s # else 1070s # { 1070s # g_value_init (&value, pspec->value_type); 1070s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1070s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1070s # g_value_unset (&value); 1070s # } 1070s # return ret; 1070s # } 1070s # 1070s # static gboolean 1070s # _com_acme_coyote_skeleton_handle_set_property ( 1070s # GDBusConnection *connection G_GNUC_UNUSED, 1070s # const gchar *sender G_GNUC_UNUSED, 1070s # const gchar *object_path G_GNUC_UNUSED, 1070s # const gchar *interface_name G_GNUC_UNUSED, 1070s # const gchar *property_name, 1070s # GVariant *variant, 1070s # GError **error, 1070s # gpointer user_data) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1070s # GValue value = G_VALUE_INIT; 1070s # GParamSpec *pspec; 1070s # _ExtendedGDBusPropertyInfo *info; 1070s # gboolean ret; 1070s # ret = FALSE; 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1070s # g_assert (info != NULL); 1070s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1070s # if (pspec == NULL) 1070s # { 1070s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1070s # } 1070s # else 1070s # { 1070s # if (info->use_gvariant) 1070s # g_value_set_variant (&value, variant); 1070s # else 1070s # g_dbus_gvariant_to_gvalue (variant, &value); 1070s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1070s # g_value_unset (&value); 1070s # ret = TRUE; 1070s # } 1070s # return ret; 1070s # } 1070s # 1070s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1070s # { 1070s # _com_acme_coyote_skeleton_handle_method_call, 1070s # _com_acme_coyote_skeleton_handle_get_property, 1070s # _com_acme_coyote_skeleton_handle_set_property, 1070s # {NULL} 1070s # }; 1070s # 1070s # static GDBusInterfaceInfo * 1070s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1070s # { 1070s # return com_acme_coyote_interface_info (); 1070s # } 1070s # 1070s # static GDBusInterfaceVTable * 1070s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1070s # { 1070s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1070s # } 1070s # 1070s # static GVariant * 1070s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1070s # 1070s # GVariantBuilder builder; 1070s # guint n; 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1070s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1070s # #else 1070s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1070s # #endif 1070s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1070s # goto out; 1070s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1070s # { 1070s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1070s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1070s # { 1070s # GVariant *value; 1070s # 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); 1070s # if (value != NULL) 1070s # { 1070s # g_variant_take_ref (value); 1070s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1070s # g_variant_unref (value); 1070s # } 1070s # } 1070s # } 1070s # out: 1070s # return g_variant_builder_end (&builder); 1070s # } 1070s # 1070s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1070s # gboolean emit_changed = FALSE; 1070s # 1070s # g_mutex_lock (&skeleton->priv->lock); 1070s # if (skeleton->priv->changed_properties_idle_source != NULL) 1070s # { 1070s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1070s # skeleton->priv->changed_properties_idle_source = NULL; 1070s # emit_changed = TRUE; 1070s # } 1070s # g_mutex_unlock (&skeleton->priv->lock); 1070s # 1070s # if (emit_changed) 1070s # _com_acme_coyote_emit_changed (skeleton); 1070s # } 1070s # 1070s # static void 1070s # _com_acme_coyote_on_signal_surprised ( 1070s # ComAcmeCoyote *object) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1070s # 1070s # GList *connections, *l; 1070s # GVariant *signal_variant; 1070s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1070s # 1070s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1070s # for (l = connections; l != NULL; l = l->next) 1070s # { 1070s # GDBusConnection *connection = l->data; 1070s # g_dbus_connection_emit_signal (connection, 1070s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1070s # signal_variant, NULL); 1070s # } 1070s # g_variant_unref (signal_variant); 1070s # g_list_free_full (connections, g_object_unref); 1070s # } 1070s # 1070s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1070s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1070s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1070s # 1070s # #else 1070s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1070s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1070s # 1070s # #endif 1070s # static void 1070s # com_acme_coyote_skeleton_finalize (GObject *object) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1070s # guint n; 1070s # for (n = 0; n < 1; n++) 1070s # g_value_unset (&skeleton->priv->properties[n]); 1070s # g_free (skeleton->priv->properties); 1070s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1070s # if (skeleton->priv->changed_properties_idle_source != NULL) 1070s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1070s # g_main_context_unref (skeleton->priv->context); 1070s # g_mutex_clear (&skeleton->priv->lock); 1070s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_get_property (GObject *object, 1070s # guint prop_id, 1070s # GValue *value, 1070s # GParamSpec *pspec G_GNUC_UNUSED) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1070s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1070s # g_mutex_lock (&skeleton->priv->lock); 1070s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1070s # g_mutex_unlock (&skeleton->priv->lock); 1070s # } 1070s # 1070s # static gboolean 1070s # _com_acme_coyote_emit_changed (gpointer user_data) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1070s # GList *l; 1070s # GVariantBuilder builder; 1070s # GVariantBuilder invalidated_builder; 1070s # guint num_changes; 1070s # 1070s # g_mutex_lock (&skeleton->priv->lock); 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1070s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1070s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1070s # #else 1070s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1070s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1070s # #endif 1070s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1070s # { 1070s # ChangedProperty *cp = l->data; 1070s # GVariant *variant; 1070s # const GValue *cur_value; 1070s # 1070s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1070s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1070s # { 1070s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1070s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1070s # g_variant_unref (variant); 1070s # num_changes++; 1070s # } 1070s # } 1070s # if (num_changes > 0) 1070s # { 1070s # GList *connections, *ll; 1070s # GVariant *signal_variant; 1070s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1070s # &builder, &invalidated_builder)); 1070s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1070s # for (ll = connections; ll != NULL; ll = ll->next) 1070s # { 1070s # GDBusConnection *connection = ll->data; 1070s # 1070s # g_dbus_connection_emit_signal (connection, 1070s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1070s # "org.freedesktop.DBus.Properties", 1070s # "PropertiesChanged", 1070s # signal_variant, 1070s # NULL); 1070s # } 1070s # g_variant_unref (signal_variant); 1070s # g_list_free_full (connections, g_object_unref); 1070s # } 1070s # else 1070s # { 1070s # g_variant_builder_clear (&builder); 1070s # g_variant_builder_clear (&invalidated_builder); 1070s # } 1070s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1070s # skeleton->priv->changed_properties = NULL; 1070s # skeleton->priv->changed_properties_idle_source = NULL; 1070s # g_mutex_unlock (&skeleton->priv->lock); 1070s # return FALSE; 1070s # } 1070s # 1070s # static void 1070s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1070s # { 1070s # ChangedProperty *cp; 1070s # GList *l; 1070s # cp = NULL; 1070s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1070s # { 1070s # ChangedProperty *i_cp = l->data; 1070s # if (i_cp->info == info) 1070s # { 1070s # cp = i_cp; 1070s # break; 1070s # } 1070s # } 1070s # if (cp == NULL) 1070s # { 1070s # cp = g_new0 (ChangedProperty, 1); 1070s # cp->prop_id = prop_id; 1070s # cp->info = info; 1070s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1070s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1070s # g_value_copy (orig_value, &cp->orig_value); 1070s # } 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_notify (GObject *object, 1070s # GParamSpec *pspec G_GNUC_UNUSED) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1070s # g_mutex_lock (&skeleton->priv->lock); 1070s # if (skeleton->priv->changed_properties != NULL && 1070s # skeleton->priv->changed_properties_idle_source == NULL) 1070s # { 1070s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1070s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1070s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1070s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1070s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1070s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1070s # } 1070s # g_mutex_unlock (&skeleton->priv->lock); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_set_property (GObject *object, 1070s # guint prop_id, 1070s # const GValue *value, 1070s # GParamSpec *pspec) 1070s # { 1070s # const _ExtendedGDBusPropertyInfo *info; 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1070s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1070s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1070s # g_mutex_lock (&skeleton->priv->lock); 1070s # g_object_freeze_notify (object); 1070s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1070s # { 1070s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1070s # info->emits_changed_signal) 1070s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1070s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1070s # g_object_notify_by_pspec (object, pspec); 1070s # } 1070s # g_mutex_unlock (&skeleton->priv->lock); 1070s # g_object_thaw_notify (object); 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1070s # { 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1070s # #else 1070s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1070s # #endif 1070s # 1070s # g_mutex_init (&skeleton->priv->lock); 1070s # skeleton->priv->context = g_main_context_ref_thread_default (); 1070s # skeleton->priv->properties = g_new0 (GValue, 1); 1070s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1070s # } 1070s # 1070s # static const gchar * 1070s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1070s # { 1070s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1070s # const gchar *value; 1070s # g_mutex_lock (&skeleton->priv->lock); 1070s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1070s # g_mutex_unlock (&skeleton->priv->lock); 1070s # return value; 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1070s # { 1070s # GObjectClass *gobject_class; 1070s # GDBusInterfaceSkeletonClass *skeleton_class; 1070s # 1070s # gobject_class = G_OBJECT_CLASS (klass); 1070s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1070s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1070s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1070s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1070s # 1070s # 1070s # com_acme_coyote_override_properties (gobject_class, 1); 1070s # 1070s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1070s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1070s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1070s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1070s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1070s # 1070s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1070s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1070s # #endif 1070s # } 1070s # 1070s # static void 1070s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1070s # { 1070s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1070s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1070s # } 1070s # 1070s # /** 1070s # * com_acme_coyote_skeleton_new: 1070s # * 1070s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1070s # * 1070s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1070s # */ 1070s # ComAcmeCoyote * 1070s # com_acme_coyote_skeleton_new (void) 1070s # { 1070s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1070s # } 1070s # 1070s # /* ------------------------------------------------------------------------ 1070s # * Code for interface org.project.Bar.Frobnicator 1070s # * ------------------------------------------------------------------------ 1070s # */ 1070s # 1070s # /** 1070s # * SECTION:OrgProjectBarFrobnicator 1070s # * @title: OrgProjectBarFrobnicator 1070s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1070s # * 1070s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1070s # */ 1070s # 1070s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1070s # 1070s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "RandomMethod", 1070s # NULL, 1070s # NULL, 1070s # NULL 1070s # }, 1070s # "handle-random-method", 1070s # FALSE 1070s # }; 1070s # 1070s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1070s # { 1070s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1070s # NULL 1070s # }; 1070s # 1070s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1070s # { 1070s # { 1070s # -1, 1070s # (gchar *) "org.project.Bar.Frobnicator", 1070s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1070s # NULL, 1070s # NULL, 1070s # NULL 1070s # }, 1070s # "org-project-bar-frobnicator", 1070s # }; 1070s # 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_interface_info: 1070s # * 1070s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1070s # * 1070s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1070s # */ 1070s # GDBusInterfaceInfo * 1070s # org_project_bar_frobnicator_interface_info (void) 1070s # { 1070s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_override_properties: 1070s # * @klass: The class structure for a #GObject derived class. 1070s # * @property_id_begin: The property id to assign to the first overridden property. 1070s # * 1070s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1070s # * The properties are overridden in the order they are defined. 1070s # * 1070s # * Returns: The last property id. 1070s # */ 1070s # guint 1070s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1070s # { 1070s # return property_id_begin - 1; 1070s # } 1070s # 1070s # 1070s # inline static void 1070s # org_project_bar_frobnicator_method_marshal_random_method ( 1070s # GClosure *closure, 1070s # GValue *return_value, 1070s # unsigned int n_param_values, 1070s # const GValue *param_values, 1070s # void *invocation_hint, 1070s # void *marshal_data) 1070s # { 1070s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1070s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1070s # } 1070s # 1070s # 1070s # /** 1070s # * OrgProjectBarFrobnicator: 1070s # * 1070s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1070s # */ 1070s # 1070s # /** 1070s # * OrgProjectBarFrobnicatorIface: 1070s # * @parent_iface: The parent interface. 1070s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1070s # * 1070s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1070s # */ 1070s # 1070s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1070s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1070s # { 1070s # /* GObject signals for incoming D-Bus method calls: */ 1070s # /** 1070s # * OrgProjectBarFrobnicator::handle-random-method: 1070s # * @object: A #OrgProjectBarFrobnicator. 1070s # * @invocation: A #GDBusMethodInvocation. 1070s # * 1070s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1070s # * 1070s # * If 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. 1070s # * 1070s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1070s # */ 1070s # g_signal_new ("handle-random-method", 1070s # G_TYPE_FROM_INTERFACE (iface), 1070s # G_SIGNAL_RUN_LAST, 1070s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1070s # g_signal_accumulator_true_handled, 1070s # NULL, 1070s # org_project_bar_frobnicator_method_marshal_random_method, 1070s # G_TYPE_BOOLEAN, 1070s # 1, 1070s # G_TYPE_DBUS_METHOD_INVOCATION); 1070s # 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_call_random_method: 1070s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1070s # * 1070s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1070s # */ 1070s # void 1070s # org_project_bar_frobnicator_call_random_method ( 1070s # OrgProjectBarFrobnicator *proxy, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1070s # "RandomMethod", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # callback, 1070s # user_data); 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_call_random_method_finish: 1070s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # org_project_bar_frobnicator_call_random_method_finish ( 1070s # OrgProjectBarFrobnicator *proxy, 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_call_random_method_sync: 1070s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL. 1070s # * 1070s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1070s # * 1070s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1070s # * 1070s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1070s # */ 1070s # gboolean 1070s # org_project_bar_frobnicator_call_random_method_sync ( 1070s # OrgProjectBarFrobnicator *proxy, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GVariant *_ret; 1070s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1070s # "RandomMethod", 1070s # g_variant_new ("()"), 1070s # G_DBUS_CALL_FLAGS_NONE, 1070s # -1, 1070s # cancellable, 1070s # error); 1070s # if (_ret == NULL) 1070s # goto _out; 1070s # g_variant_get (_ret, 1070s # "()"); 1070s # g_variant_unref (_ret); 1070s # _out: 1070s # return _ret != NULL; 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_complete_random_method: 1070s # * @object: A #OrgProjectBarFrobnicator. 1070s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1070s # * 1070s # * 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. 1070s # * 1070s # * This method will free @invocation, you cannot use it afterwards. 1070s # */ 1070s # void 1070s # org_project_bar_frobnicator_complete_random_method ( 1070s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1070s # GDBusMethodInvocation *invocation) 1070s # { 1070s # g_dbus_method_invocation_return_value (invocation, 1070s # g_variant_new ("()")); 1070s # } 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # 1070s # /** 1070s # * OrgProjectBarFrobnicatorProxy: 1070s # * 1070s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1070s # */ 1070s # 1070s # /** 1070s # * OrgProjectBarFrobnicatorProxyClass: 1070s # * @parent_class: The parent class. 1070s # * 1070s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1070s # */ 1070s # 1070s # struct _OrgProjectBarFrobnicatorProxyPrivate 1070s # { 1070s # GData *qdata; 1070s # }; 1070s # 1070s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1070s # 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1070s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1070s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1070s # 1070s # #else 1070s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1070s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1070s # 1070s # #endif 1070s # static void 1070s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1070s # { 1070s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1070s # g_datalist_clear (&proxy->priv->qdata); 1070s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1070s # guint prop_id G_GNUC_UNUSED, 1070s # GValue *value G_GNUC_UNUSED, 1070s # GParamSpec *pspec G_GNUC_UNUSED) 1070s # { 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1070s # guint prop_id G_GNUC_UNUSED, 1070s # const GValue *value G_GNUC_UNUSED, 1070s # GParamSpec *pspec G_GNUC_UNUSED) 1070s # { 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1070s # const gchar *sender_name G_GNUC_UNUSED, 1070s # const gchar *signal_name, 1070s # GVariant *parameters) 1070s # { 1070s # _ExtendedGDBusSignalInfo *info; 1070s # GVariantIter iter; 1070s # GVariant *child; 1070s # GValue *paramv; 1070s # gsize num_params; 1070s # gsize n; 1070s # guint signal_id; 1070s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1070s # if (info == NULL) 1070s # return; 1070s # num_params = g_variant_n_children (parameters); 1070s # paramv = g_new0 (GValue, num_params + 1); 1070s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1070s # g_value_set_object (¶mv[0], proxy); 1070s # g_variant_iter_init (&iter, parameters); 1070s # n = 1; 1070s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1070s # { 1070s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1070s # if (arg_info->use_gvariant) 1070s # { 1070s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1070s # g_value_set_variant (¶mv[n], child); 1070s # n++; 1070s # } 1070s # else 1070s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1070s # g_variant_unref (child); 1070s # } 1070s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1070s # g_signal_emitv (paramv, signal_id, 0, NULL); 1070s # for (n = 0; n < num_params + 1; n++) 1070s # g_value_unset (¶mv[n]); 1070s # g_free (paramv); 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1070s # GVariant *changed_properties, 1070s # const gchar *const *invalidated_properties) 1070s # { 1070s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1070s # guint n; 1070s # const gchar *key; 1070s # GVariantIter *iter; 1070s # _ExtendedGDBusPropertyInfo *info; 1070s # g_variant_get (changed_properties, "a{sv}", &iter); 1070s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1070s # { 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1070s # g_datalist_remove_data (&proxy->priv->qdata, key); 1070s # if (info != NULL) 1070s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1070s # } 1070s # g_variant_iter_free (iter); 1070s # for (n = 0; invalidated_properties[n] != NULL; n++) 1070s # { 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1070s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1070s # if (info != NULL) 1070s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1070s # } 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1070s # { 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1070s # #else 1070s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1070s # #endif 1070s # 1070s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1070s # { 1070s # GObjectClass *gobject_class; 1070s # GDBusProxyClass *proxy_class; 1070s # 1070s # gobject_class = G_OBJECT_CLASS (klass); 1070s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1070s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1070s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1070s # 1070s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1070s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1070s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1070s # 1070s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1070s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1070s # #endif 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1070s # { 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_proxy_new: 1070s # * @connection: A #GDBusConnection. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1070s # * 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1070s # * 1070s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1070s # */ 1070s # void 1070s # org_project_bar_frobnicator_proxy_new ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # 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); 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_proxy_new_finish: 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1070s # * 1070s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # OrgProjectBarFrobnicator * 1070s # org_project_bar_frobnicator_proxy_new_finish ( 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GObject *ret; 1070s # GObject *source_object; 1070s # source_object = g_async_result_get_source_object (res); 1070s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1070s # g_object_unref (source_object); 1070s # if (ret != NULL) 1070s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_proxy_new_sync: 1070s # * @connection: A #GDBusConnection. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1070s # * 1070s # * The calling thread is blocked until a reply is received. 1070s # * 1070s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1070s # * 1070s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # OrgProjectBarFrobnicator * 1070s # org_project_bar_frobnicator_proxy_new_sync ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GInitable *ret; 1070s # 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); 1070s # if (ret != NULL) 1070s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_proxy_new_for_bus: 1070s # * @bus_type: A #GBusType. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: A bus name (well-known or unique). 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1070s # * @user_data: User data to pass to @callback. 1070s # * 1070s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1070s # * 1070s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1070s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1070s # * 1070s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1070s # */ 1070s # void 1070s # org_project_bar_frobnicator_proxy_new_for_bus ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data) 1070s # { 1070s # 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); 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1070s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1070s # * 1070s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # OrgProjectBarFrobnicator * 1070s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1070s # GAsyncResult *res, 1070s # GError **error) 1070s # { 1070s # GObject *ret; 1070s # GObject *source_object; 1070s # source_object = g_async_result_get_source_object (res); 1070s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1070s # g_object_unref (source_object); 1070s # if (ret != NULL) 1070s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1070s # * @bus_type: A #GBusType. 1070s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1070s # * @name: A bus name (well-known or unique). 1070s # * @object_path: An object path. 1070s # * @cancellable: (nullable): A #GCancellable or %NULL. 1070s # * @error: Return location for error or %NULL 1070s # * 1070s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1070s # * 1070s # * The calling thread is blocked until a reply is received. 1070s # * 1070s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1070s # * 1070s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1070s # */ 1070s # OrgProjectBarFrobnicator * 1070s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error) 1070s # { 1070s # GInitable *ret; 1070s # 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); 1070s # if (ret != NULL) 1070s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1070s # else 1070s # return NULL; 1070s # } 1070s # 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # 1070s # /** 1070s # * OrgProjectBarFrobnicatorSkeleton: 1070s # * 1070s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1070s # */ 1070s # 1070s # /** 1070s # * OrgProjectBarFrobnicatorSkeletonClass: 1070s # * @parent_class: The parent class. 1070s # * 1070s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1070s # */ 1070s # 1070s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1070s # { 1070s # GValue *properties; 1070s # GList *changed_properties; 1070s # GSource *changed_properties_idle_source; 1070s # GMainContext *context; 1070s # GMutex lock; 1070s # }; 1070s # 1070s # static void 1070s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1070s # GDBusConnection *connection G_GNUC_UNUSED, 1070s # const gchar *sender G_GNUC_UNUSED, 1070s # const gchar *object_path G_GNUC_UNUSED, 1070s # const gchar *interface_name, 1070s # const gchar *method_name, 1070s # GVariant *parameters, 1070s # GDBusMethodInvocation *invocation, 1070s # gpointer user_data) 1070s # { 1070s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1070s # _ExtendedGDBusMethodInfo *info; 1070s # GVariantIter iter; 1070s # GVariant *child; 1070s # GValue *paramv; 1070s # gsize num_params; 1070s # guint num_extra; 1070s # gsize n; 1070s # guint signal_id; 1070s # GValue return_value = G_VALUE_INIT; 1070s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1070s # g_assert (info != NULL); 1070s # num_params = g_variant_n_children (parameters); 1070s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1070s # n = 0; 1070s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1070s # g_value_set_object (¶mv[n++], skeleton); 1070s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1070s # g_value_set_object (¶mv[n++], invocation); 1070s # if (info->pass_fdlist) 1070s # { 1070s # #ifdef G_OS_UNIX 1070s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1070s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1070s # #else 1070s # g_assert_not_reached (); 1070s # #endif 1070s # } 1070s # g_variant_iter_init (&iter, parameters); 1070s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1070s # { 1070s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1070s # if (arg_info->use_gvariant) 1070s # { 1070s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1070s # g_value_set_variant (¶mv[n], child); 1070s # n++; 1070s # } 1070s # else 1070s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1070s # g_variant_unref (child); 1070s # } 1070s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1070s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1070s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1070s # if (!g_value_get_boolean (&return_value)) 1070s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1070s # g_value_unset (&return_value); 1070s # for (n = 0; n < num_params + num_extra; n++) 1070s # g_value_unset (¶mv[n]); 1070s # g_free (paramv); 1070s # } 1070s # 1070s # static GVariant * 1070s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1070s # GDBusConnection *connection G_GNUC_UNUSED, 1070s # const gchar *sender G_GNUC_UNUSED, 1070s # const gchar *object_path G_GNUC_UNUSED, 1070s # const gchar *interface_name G_GNUC_UNUSED, 1070s # const gchar *property_name, 1070s # GError **error, 1070s # gpointer user_data) 1070s # { 1070s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1070s # GValue value = G_VALUE_INIT; 1070s # GParamSpec *pspec; 1070s # _ExtendedGDBusPropertyInfo *info; 1070s # GVariant *ret; 1070s # ret = NULL; 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1070s # g_assert (info != NULL); 1070s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1070s # if (pspec == NULL) 1070s # { 1070s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1070s # } 1070s # else 1070s # { 1070s # g_value_init (&value, pspec->value_type); 1070s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1070s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1070s # g_value_unset (&value); 1070s # } 1070s # return ret; 1070s # } 1070s # 1070s # static gboolean 1070s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1070s # GDBusConnection *connection G_GNUC_UNUSED, 1070s # const gchar *sender G_GNUC_UNUSED, 1070s # const gchar *object_path G_GNUC_UNUSED, 1070s # const gchar *interface_name G_GNUC_UNUSED, 1070s # const gchar *property_name, 1070s # GVariant *variant, 1070s # GError **error, 1070s # gpointer user_data) 1070s # { 1070s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1070s # GValue value = G_VALUE_INIT; 1070s # GParamSpec *pspec; 1070s # _ExtendedGDBusPropertyInfo *info; 1070s # gboolean ret; 1070s # ret = FALSE; 1070s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1070s # g_assert (info != NULL); 1070s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1070s # if (pspec == NULL) 1070s # { 1070s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1070s # } 1070s # else 1070s # { 1070s # if (info->use_gvariant) 1070s # g_value_set_variant (&value, variant); 1070s # else 1070s # g_dbus_gvariant_to_gvalue (variant, &value); 1070s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1070s # g_value_unset (&value); 1070s # ret = TRUE; 1070s # } 1070s # return ret; 1070s # } 1070s # 1070s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1070s # { 1070s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1070s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1070s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1070s # {NULL} 1070s # }; 1070s # 1070s # static GDBusInterfaceInfo * 1070s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1070s # { 1070s # return org_project_bar_frobnicator_interface_info (); 1070s # } 1070s # 1070s # static GDBusInterfaceVTable * 1070s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1070s # { 1070s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1070s # } 1070s # 1070s # static GVariant * 1070s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1070s # { 1070s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1070s # 1070s # GVariantBuilder builder; 1070s # guint n; 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1070s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1070s # #else 1070s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1070s # #endif 1070s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1070s # goto out; 1070s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1070s # { 1070s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1070s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1070s # { 1070s # GVariant *value; 1070s # 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); 1070s # if (value != NULL) 1070s # { 1070s # g_variant_take_ref (value); 1070s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1070s # g_variant_unref (value); 1070s # } 1070s # } 1070s # } 1070s # out: 1070s # return g_variant_builder_end (&builder); 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1070s # { 1070s # } 1070s # 1070s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1070s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1070s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1070s # 1070s # #else 1070s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1070s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1070s # 1070s # #endif 1070s # static void 1070s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1070s # { 1070s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1070s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1070s # if (skeleton->priv->changed_properties_idle_source != NULL) 1070s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1070s # g_main_context_unref (skeleton->priv->context); 1070s # g_mutex_clear (&skeleton->priv->lock); 1070s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1070s # { 1070s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1070s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1070s # #else 1070s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1070s # #endif 1070s # 1070s # g_mutex_init (&skeleton->priv->lock); 1070s # skeleton->priv->context = g_main_context_ref_thread_default (); 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1070s # { 1070s # GObjectClass *gobject_class; 1070s # GDBusInterfaceSkeletonClass *skeleton_class; 1070s # 1070s # gobject_class = G_OBJECT_CLASS (klass); 1070s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1070s # 1070s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1070s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1070s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1070s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1070s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1070s # 1070s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1070s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1070s # #endif 1070s # } 1070s # 1070s # static void 1070s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1070s # { 1070s # } 1070s # 1070s # /** 1070s # * org_project_bar_frobnicator_skeleton_new: 1070s # * 1070s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1070s # * 1070s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1070s # */ 1070s # OrgProjectBarFrobnicator * 1070s # org_project_bar_frobnicator_skeleton_new (void) 1070s # { 1070s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1070s # } 1070s # Error: 1070s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1070s # gdbus-codegen: /usr/bin/gdbus-codegen 1070s # tmpdir: /tmp/tmpt9q4iarq 1070s # /tmp/tmpt9q4iarq/tmpdh8zt2my.xml: 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt9q4iarq/tmpdh8zt2my.xml', '--output', '-', '--header'] 1070s # Return code: 0 1070s # Output: 1070s # /* 1070s # * This file is generated by gdbus-codegen, do not modify it. 1070s # * 1070s # * The license of this code is the same as for the D-Bus interface description 1070s # * it was derived from. Note that it links to GLib, so must comply with the 1070s # * LGPL linking clauses. 1070s # */ 1070s # 1070s # #ifndef __STDOUT__ 1070s # #define __STDOUT__ 1070s # 1070s # #include 1070s # 1070s # G_BEGIN_DECLS 1070s # 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # /* Declarations for FDPassing */ 1070s # 1070s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1070s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1070s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1070s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1070s # 1070s # struct _FDPassing; 1070s # typedef struct _FDPassing FDPassing; 1070s # typedef struct _FDPassingIface FDPassingIface; 1070s # 1070s # struct _FDPassingIface 1070s # { 1070s # GTypeInterface parent_iface; 1070s # 1070s # gboolean (*handle_hello_fd) ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GUnixFDList *fd_list, 1070s # const gchar *arg_greeting); 1070s # 1070s # gboolean (*handle_no_annotation) ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GVariant *arg_greeting, 1070s # const gchar *arg_greeting_locale); 1070s # 1070s # gboolean (*handle_no_annotation_nested) ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GVariant *arg_files); 1070s # 1070s # }; 1070s # 1070s # GType fdpassing_get_type (void) G_GNUC_CONST; 1070s # 1070s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1070s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1070s # 1070s # 1070s # /* D-Bus method call completion functions: */ 1070s # void fdpassing_complete_hello_fd ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GUnixFDList *fd_list, 1070s # const gchar *response); 1070s # 1070s # void fdpassing_complete_no_annotation ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GVariant *response, 1070s # const gchar *response_locale); 1070s # 1070s # void fdpassing_complete_no_annotation_nested ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # 1070s # 1070s # /* D-Bus method calls: */ 1070s # void fdpassing_call_hello_fd ( 1070s # FDPassing *proxy, 1070s # const gchar *arg_greeting, 1070s # GUnixFDList *fd_list, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean fdpassing_call_hello_fd_finish ( 1070s # FDPassing *proxy, 1070s # gchar **out_response, 1070s # GUnixFDList **out_fd_list, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean fdpassing_call_hello_fd_sync ( 1070s # FDPassing *proxy, 1070s # const gchar *arg_greeting, 1070s # GUnixFDList *fd_list, 1070s # gchar **out_response, 1070s # GUnixFDList **out_fd_list, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void fdpassing_call_no_annotation ( 1070s # FDPassing *proxy, 1070s # GVariant *arg_greeting, 1070s # const gchar *arg_greeting_locale, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean fdpassing_call_no_annotation_finish ( 1070s # FDPassing *proxy, 1070s # GVariant **out_response, 1070s # gchar **out_response_locale, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean fdpassing_call_no_annotation_sync ( 1070s # FDPassing *proxy, 1070s # GVariant *arg_greeting, 1070s # const gchar *arg_greeting_locale, 1070s # GVariant **out_response, 1070s # gchar **out_response_locale, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void fdpassing_call_no_annotation_nested ( 1070s # FDPassing *proxy, 1070s # GVariant *arg_files, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean fdpassing_call_no_annotation_nested_finish ( 1070s # FDPassing *proxy, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean fdpassing_call_no_annotation_nested_sync ( 1070s # FDPassing *proxy, 1070s # GVariant *arg_files, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1070s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1070s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1070s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1070s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1070s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1070s # 1070s # typedef struct _FDPassingProxy FDPassingProxy; 1070s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1070s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1070s # 1070s # struct _FDPassingProxy 1070s # { 1070s # /*< private >*/ 1070s # GDBusProxy parent_instance; 1070s # FDPassingProxyPrivate *priv; 1070s # }; 1070s # 1070s # struct _FDPassingProxyClass 1070s # { 1070s # GDBusProxyClass parent_class; 1070s # }; 1070s # 1070s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1070s # #endif 1070s # 1070s # void fdpassing_proxy_new ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # FDPassing *fdpassing_proxy_new_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # FDPassing *fdpassing_proxy_new_sync ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void fdpassing_proxy_new_for_bus ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1070s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1070s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1070s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1070s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1070s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1070s # 1070s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1070s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1070s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1070s # 1070s # struct _FDPassingSkeleton 1070s # { 1070s # /*< private >*/ 1070s # GDBusInterfaceSkeleton parent_instance; 1070s # FDPassingSkeletonPrivate *priv; 1070s # }; 1070s # 1070s # struct _FDPassingSkeletonClass 1070s # { 1070s # GDBusInterfaceSkeletonClass parent_class; 1070s # }; 1070s # 1070s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1070s # #endif 1070s # 1070s # FDPassing *fdpassing_skeleton_new (void); 1070s # 1070s # 1070s # G_END_DECLS 1070s # 1070s # #endif /* __STDOUT__ */ 1070s # Error: 1070s # 1070s # /tmp/tmpt9q4iarq/tmpu6jn64dv.xml: 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt9q4iarq/tmpu6jn64dv.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1070s # Return code: 0 1070s # Output: 1070s # /* 1070s # * This file is generated by gdbus-codegen, do not modify it. 1070s # * 1070s # * The license of this code is the same as for the D-Bus interface description 1070s # * it was derived from. Note that it links to GLib, so must comply with the 1070s # * LGPL linking clauses. 1070s # */ 1070s # 1070s # #ifndef __STDOUT__ 1070s # #define __STDOUT__ 1070s # 1070s # #include 1070s # 1070s # G_BEGIN_DECLS 1070s # 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # /* Declarations for FDPassing */ 1070s # 1070s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1070s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1070s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1070s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1070s # 1070s # struct _FDPassing; 1070s # typedef struct _FDPassing FDPassing; 1070s # typedef struct _FDPassingIface FDPassingIface; 1070s # 1070s # struct _FDPassingIface 1070s # { 1070s # GTypeInterface parent_iface; 1070s # 1070s # gboolean (*handle_hello_fd) ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GUnixFDList *fd_list, 1070s # const gchar *arg_greeting); 1070s # 1070s # gboolean (*handle_no_annotation) ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GVariant *arg_greeting, 1070s # const gchar *arg_greeting_locale); 1070s # 1070s # gboolean (*handle_no_annotation_nested) ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GVariant *arg_files); 1070s # 1070s # }; 1070s # 1070s # GType fdpassing_get_type (void) G_GNUC_CONST; 1070s # 1070s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1070s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1070s # 1070s # 1070s # /* D-Bus method call completion functions: */ 1070s # void fdpassing_complete_hello_fd ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GUnixFDList *fd_list, 1070s # const gchar *response); 1070s # 1070s # void fdpassing_complete_no_annotation ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GVariant *response, 1070s # const gchar *response_locale); 1070s # 1070s # void fdpassing_complete_no_annotation_nested ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation); 1070s # 1070s # 1070s # 1070s # /* D-Bus method calls: */ 1070s # void fdpassing_call_hello_fd ( 1070s # FDPassing *proxy, 1070s # const gchar *arg_greeting, 1070s # GUnixFDList *fd_list, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean fdpassing_call_hello_fd_finish ( 1070s # FDPassing *proxy, 1070s # gchar **out_response, 1070s # GUnixFDList **out_fd_list, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean fdpassing_call_hello_fd_sync ( 1070s # FDPassing *proxy, 1070s # const gchar *arg_greeting, 1070s # GUnixFDList *fd_list, 1070s # gchar **out_response, 1070s # GUnixFDList **out_fd_list, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void fdpassing_call_no_annotation ( 1070s # FDPassing *proxy, 1070s # GVariant *arg_greeting, 1070s # const gchar *arg_greeting_locale, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean fdpassing_call_no_annotation_finish ( 1070s # FDPassing *proxy, 1070s # GVariant **out_response, 1070s # gchar **out_response_locale, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean fdpassing_call_no_annotation_sync ( 1070s # FDPassing *proxy, 1070s # GVariant *arg_greeting, 1070s # const gchar *arg_greeting_locale, 1070s # GVariant **out_response, 1070s # gchar **out_response_locale, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void fdpassing_call_no_annotation_nested ( 1070s # FDPassing *proxy, 1070s # GVariant *arg_files, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean fdpassing_call_no_annotation_nested_finish ( 1070s # FDPassing *proxy, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean fdpassing_call_no_annotation_nested_sync ( 1070s # FDPassing *proxy, 1070s # GVariant *arg_files, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1070s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1070s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1070s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1070s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1070s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1070s # 1070s # typedef struct _FDPassingProxy FDPassingProxy; 1070s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1070s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1070s # 1070s # struct _FDPassingProxy 1070s # { 1070s # /*< private >*/ 1070s # GDBusProxy parent_instance; 1070s # FDPassingProxyPrivate *priv; 1070s # }; 1070s # 1070s # struct _FDPassingProxyClass 1070s # { 1070s # GDBusProxyClass parent_class; 1070s # }; 1070s # 1070s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1070s # #endif 1070s # 1070s # void fdpassing_proxy_new ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # FDPassing *fdpassing_proxy_new_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # FDPassing *fdpassing_proxy_new_sync ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void fdpassing_proxy_new_for_bus ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1070s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1070s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1070s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1070s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1070s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1070s # 1070s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1070s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1070s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1070s # 1070s # struct _FDPassingSkeleton 1070s # { 1070s # /*< private >*/ 1070s # GDBusInterfaceSkeleton parent_instance; 1070s # FDPassingSkeletonPrivate *priv; 1070s # }; 1070s # 1070s # struct _FDPassingSkeletonClass 1070s # { 1070s # GDBusInterfaceSkeletonClass parent_class; 1070s # }; 1070s # 1070s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1070s # #endif 1070s # 1070s # FDPassing *fdpassing_skeleton_new (void); 1070s # 1070s # 1070s # G_END_DECLS 1070s # 1070s # #endif /* __STDOUT__ */ 1070s # Error: 1070s # 1070s # /tmp/tmpt9q4iarq/tmpew3g0jnv.xml: 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # 1070s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt9q4iarq/tmpew3g0jnv.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1070s # Return code: 0 1070s # Output: 1070s # /* 1070s # * This file is generated by gdbus-codegen, do not modify it. 1070s # * 1070s # * The license of this code is the same as for the D-Bus interface description 1070s # * it was derived from. Note that it links to GLib, so must comply with the 1070s # * LGPL linking clauses. 1070s # */ 1070s # 1070s # #ifndef __STDOUT__ 1070s # #define __STDOUT__ 1070s # 1070s # #include 1070s # 1070s # G_BEGIN_DECLS 1070s # 1070s # 1070s # /* ------------------------------------------------------------------------ */ 1070s # /* Declarations for FDPassing */ 1070s # 1070s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1070s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1070s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1070s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1070s # 1070s # struct _FDPassing; 1070s # typedef struct _FDPassing FDPassing; 1070s # typedef struct _FDPassingIface FDPassingIface; 1070s # 1070s # struct _FDPassingIface 1070s # { 1070s # GTypeInterface parent_iface; 1070s # 1070s # gboolean (*handle_hello_fd) ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GUnixFDList *fd_list, 1070s # const gchar *arg_greeting); 1070s # 1070s # gboolean (*handle_no_annotation) ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GUnixFDList *fd_list, 1070s # GVariant *arg_greeting, 1070s # const gchar *arg_greeting_locale); 1070s # 1070s # gboolean (*handle_no_annotation_nested) ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GUnixFDList *fd_list, 1070s # GVariant *arg_files); 1070s # 1070s # }; 1070s # 1070s # GType fdpassing_get_type (void) G_GNUC_CONST; 1070s # 1070s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1070s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1070s # 1070s # 1070s # /* D-Bus method call completion functions: */ 1070s # void fdpassing_complete_hello_fd ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GUnixFDList *fd_list, 1070s # const gchar *response); 1070s # 1070s # void fdpassing_complete_no_annotation ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GUnixFDList *fd_list, 1070s # GVariant *response, 1070s # const gchar *response_locale); 1070s # 1070s # void fdpassing_complete_no_annotation_nested ( 1070s # FDPassing *object, 1070s # GDBusMethodInvocation *invocation, 1070s # GUnixFDList *fd_list); 1070s # 1070s # 1070s # 1070s # /* D-Bus method calls: */ 1070s # void fdpassing_call_hello_fd ( 1070s # FDPassing *proxy, 1070s # const gchar *arg_greeting, 1070s # GDBusCallFlags call_flags, 1070s # gint timeout_msec, 1070s # GUnixFDList *fd_list, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean fdpassing_call_hello_fd_finish ( 1070s # FDPassing *proxy, 1070s # gchar **out_response, 1070s # GUnixFDList **out_fd_list, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean fdpassing_call_hello_fd_sync ( 1070s # FDPassing *proxy, 1070s # const gchar *arg_greeting, 1070s # GDBusCallFlags call_flags, 1070s # gint timeout_msec, 1070s # GUnixFDList *fd_list, 1070s # gchar **out_response, 1070s # GUnixFDList **out_fd_list, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void fdpassing_call_no_annotation ( 1070s # FDPassing *proxy, 1070s # GVariant *arg_greeting, 1070s # const gchar *arg_greeting_locale, 1070s # GDBusCallFlags call_flags, 1070s # gint timeout_msec, 1070s # GUnixFDList *fd_list, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean fdpassing_call_no_annotation_finish ( 1070s # FDPassing *proxy, 1070s # GVariant **out_response, 1070s # gchar **out_response_locale, 1070s # GUnixFDList **out_fd_list, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean fdpassing_call_no_annotation_sync ( 1070s # FDPassing *proxy, 1070s # GVariant *arg_greeting, 1070s # const gchar *arg_greeting_locale, 1070s # GDBusCallFlags call_flags, 1070s # gint timeout_msec, 1070s # GUnixFDList *fd_list, 1070s # GVariant **out_response, 1070s # gchar **out_response_locale, 1070s # GUnixFDList **out_fd_list, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void fdpassing_call_no_annotation_nested ( 1070s # FDPassing *proxy, 1070s # GVariant *arg_files, 1070s # GDBusCallFlags call_flags, 1070s # gint timeout_msec, 1070s # GUnixFDList *fd_list, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # 1070s # gboolean fdpassing_call_no_annotation_nested_finish ( 1070s # FDPassing *proxy, 1070s # GUnixFDList **out_fd_list, 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # 1070s # gboolean fdpassing_call_no_annotation_nested_sync ( 1070s # FDPassing *proxy, 1070s # GVariant *arg_files, 1070s # GDBusCallFlags call_flags, 1070s # gint timeout_msec, 1070s # GUnixFDList *fd_list, 1070s # GUnixFDList **out_fd_list, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1070s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1070s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1070s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1070s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1070s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1070s # 1070s # typedef struct _FDPassingProxy FDPassingProxy; 1070s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1070s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1070s # 1070s # struct _FDPassingProxy 1070s # { 1070s # /*< private >*/ 1070s # GDBusProxy parent_instance; 1070s # FDPassingProxyPrivate *priv; 1070s # }; 1070s # 1070s # struct _FDPassingProxyClass 1070s # { 1070s # GDBusProxyClass parent_class; 1070s # }; 1070s # 1070s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1070s # #endif 1070s # 1070s # void fdpassing_proxy_new ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # FDPassing *fdpassing_proxy_new_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # FDPassing *fdpassing_proxy_new_sync ( 1070s # GDBusConnection *connection, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # void fdpassing_proxy_new_for_bus ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GAsyncReadyCallback callback, 1070s # gpointer user_data); 1070s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1070s # GAsyncResult *res, 1070s # GError **error); 1070s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1070s # GBusType bus_type, 1070s # GDBusProxyFlags flags, 1070s # const gchar *name, 1070s # const gchar *object_path, 1070s # GCancellable *cancellable, 1070s # GError **error); 1070s # 1070s # 1070s # /* ---- */ 1070s # 1070s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1070s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1070s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1070s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1070s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1070s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1070s # 1070s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1070s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1070s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1070s # 1070s # struct _FDPassingSkeleton 1070s # { 1070s # /*< private >*/ 1070s # GDBusInterfaceSkeleton parent_instance; 1070s # FDPassingSkeletonPrivate *priv; 1070s # }; 1070s # 1070s # struct _FDPassingSkeletonClass 1070s # { 1070s # GDBusInterfaceSkeletonClass parent_class; 1070s # }; 1070s # 1070s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1070s # 1070s # #if GLIB_CHECK_VERSION(2, 44, 0) 1070s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1070s # #endif 1070s # 1070s # FDPassing *fdpassing_skeleton_new (void); 1070s # 1070s # 1070s # G_END_DECLS 1070s # 1070s # #endif /* __STDOUT__ */ 1070s # Error: 1070s 1..39 1070s ok - glib/codegen.py.test 1070s # Running test: glib/regex.test 1070s TAP version 14 1070s # random seed: R02S14d832c620183ca8ec216c8b7fee07de 1070s 1..848 1070s # Start of regex tests 1070s ok 1 /regex/properties 1070s ok 2 /regex/class 1070s ok 3 /regex/lookahead 1070s ok 4 /regex/lookbehind 1070s ok 5 /regex/subpattern 1070s ok 6 /regex/condition 1070s ok 7 /regex/recursion 1070s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1070s ok 8 /regex/multiline 1070s ok 9 /regex/explicit-crlf 1070s ok 10 /regex/max-lookbehind 1070s ok 11 /regex/compile-errors 1070s ok 12 /regex/jit-unsupported-matching 1070s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1070s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1070s ok 13 /regex/unmatched-named-subpattern 1070s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1070s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1070s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1070s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1070s ok 14 /regex/compiled-regex-after-jit-failure 1070s # Start of new tests 1070s ok 15 /regex/new/1 1070s ok 16 /regex/new/2 1070s ok 17 /regex/new/3 1070s ok 18 /regex/new/4 1070s ok 19 /regex/new/5 1070s ok 20 /regex/new/6 1070s ok 21 /regex/new/7 1070s ok 22 /regex/new/8 1070s ok 23 /regex/new/9 1070s ok 24 /regex/new/10 1070s ok 25 /regex/new/11 1070s ok 26 /regex/new/12 1070s ok 27 /regex/new/13 1070s ok 28 /regex/new/14 1070s ok 29 /regex/new/15 1070s ok 30 /regex/new/16 1070s ok 31 /regex/new/17 1070s ok 32 /regex/new/18 1070s ok 33 /regex/new/19 1070s ok 34 /regex/new/71 1070s ok 35 /regex/new/80 1070s ok 36 /regex/new/82 1070s # End of new tests 1070s # Start of new-check-flags tests 1070s ok 37 /regex/new-check-flags/20 1070s ok 38 /regex/new-check-flags/21 1070s ok 39 /regex/new-check-flags/22 1070s ok 40 /regex/new-check-flags/23 1070s ok 41 /regex/new-check-flags/24 1070s ok 42 /regex/new-check-flags/25 1070s ok 43 /regex/new-check-flags/26 1070s ok 44 /regex/new-check-flags/27 1070s ok 45 /regex/new-check-flags/28 1070s ok 46 /regex/new-check-flags/29 1070s ok 47 /regex/new-check-flags/30 1070s ok 48 /regex/new-check-flags/31 1070s ok 49 /regex/new-check-flags/32 1070s ok 50 /regex/new-check-flags/33 1070s ok 51 /regex/new-check-flags/34 1070s ok 52 /regex/new-check-flags/35 1070s ok 53 /regex/new-check-flags/36 1070s # End of new-check-flags tests 1070s # Start of new-fail tests 1070s ok 54 /regex/new-fail/37 1070s ok 55 /regex/new-fail/38 1070s ok 56 /regex/new-fail/39 1070s ok 57 /regex/new-fail/40 1070s ok 58 /regex/new-fail/41 1070s ok 59 /regex/new-fail/42 1070s ok 60 /regex/new-fail/43 1070s ok 61 /regex/new-fail/44 1070s ok 62 /regex/new-fail/45 1070s ok 63 /regex/new-fail/46 1070s ok 64 /regex/new-fail/47 1070s ok 65 /regex/new-fail/48 1070s ok 66 /regex/new-fail/49 1070s ok 67 /regex/new-fail/50 1070s ok 68 /regex/new-fail/51 1070s ok 69 /regex/new-fail/52 1070s ok 70 /regex/new-fail/53 1070s ok 71 /regex/new-fail/54 1070s ok 72 /regex/new-fail/55 1070s ok 73 /regex/new-fail/56 1070s ok 74 /regex/new-fail/57 1070s ok 75 /regex/new-fail/58 1070s ok 76 /regex/new-fail/59 1070s ok 77 /regex/new-fail/60 1070s ok 78 /regex/new-fail/61 1070s ok 79 /regex/new-fail/62 1070s ok 80 /regex/new-fail/63 1070s ok 81 /regex/new-fail/64 1070s ok 82 /regex/new-fail/65 1070s ok 83 /regex/new-fail/66 1070s ok 84 /regex/new-fail/67 1070s ok 85 /regex/new-fail/68 1070s ok 86 /regex/new-fail/69 1070s ok 87 /regex/new-fail/70 1070s ok 88 /regex/new-fail/72 1070s ok 89 /regex/new-fail/73 1070s ok 90 /regex/new-fail/74 1070s ok 91 /regex/new-fail/75 1070s ok 92 /regex/new-fail/76 1070s ok 93 /regex/new-fail/77 1070s ok 94 /regex/new-fail/78 1070s ok 95 /regex/new-fail/79 1070s ok 96 /regex/new-fail/81 1070s ok 97 /regex/new-fail/83 1070s ok 98 /regex/new-fail/84 1070s ok 99 /regex/new-fail/85 1070s ok 100 /regex/new-fail/86 1070s ok 101 /regex/new-fail/87 1070s ok 102 /regex/new-fail/88 1070s ok 103 /regex/new-fail/89 1070s ok 104 /regex/new-fail/90 1070s ok 105 /regex/new-fail/91 1070s # End of new-fail tests 1070s # Start of match-simple tests 1070s ok 106 /regex/match-simple/92 1070s ok 107 /regex/match-simple/93 1070s ok 108 /regex/match-simple/94 1070s ok 109 /regex/match-simple/95 1070s ok 110 /regex/match-simple/96 1070s ok 111 /regex/match-simple/97 1070s ok 112 /regex/match-simple/98 1070s ok 113 /regex/match-simple/99 1070s ok 114 /regex/match-simple/100 1070s ok 115 /regex/match-simple/101 1070s ok 116 /regex/match-simple/102 1070s ok 117 /regex/match-simple/103 1070s ok 118 /regex/match-simple/104 1070s ok 119 /regex/match-simple/105 1070s ok 120 /regex/match-simple/106 1070s ok 121 /regex/match-simple/107 1070s ok 122 /regex/match-simple/108 1070s ok 123 /regex/match-simple/109 1070s ok 124 /regex/match-simple/110 1070s ok 125 /regex/match-simple/111 1070s ok 126 /regex/match-simple/112 1070s ok 127 /regex/match-simple/113 1070s ok 128 /regex/match-simple/114 1070s ok 129 /regex/match-simple/115 1070s ok 130 /regex/match-simple/116 1070s ok 131 /regex/match-simple/117 1070s ok 132 /regex/match-simple/118 1070s ok 133 /regex/match-simple/119 1070s ok 134 /regex/match-simple/120 1070s ok 135 /regex/match-simple/121 1070s ok 136 /regex/match-simple/122 1070s ok 137 /regex/match-simple/123 1070s ok 138 /regex/match-simple/124 1070s ok 139 /regex/match-simple/125 1070s ok 140 /regex/match-simple/126 1070s ok 141 /regex/match-simple/127 1070s ok 142 /regex/match-simple/128 1070s ok 143 /regex/match-simple/129 1070s ok 144 /regex/match-simple/130 1070s ok 145 /regex/match-simple/131 1070s ok 146 /regex/match-simple/132 1070s ok 147 /regex/match-simple/133 1070s ok 148 /regex/match-simple/134 1070s ok 149 /regex/match-simple/135 1070s ok 150 /regex/match-simple/136 1070s ok 151 /regex/match-simple/137 1070s ok 152 /regex/match-simple/138 1070s ok 153 /regex/match-simple/139 1070s ok 154 /regex/match-simple/140 1070s ok 155 /regex/match-simple/141 1070s ok 156 /regex/match-simple/142 1070s ok 157 /regex/match-simple/143 1070s ok 158 /regex/match-simple/144 1070s ok 159 /regex/match-simple/145 1070s ok 160 /regex/match-simple/146 1070s ok 161 /regex/match-simple/147 1070s ok 162 /regex/match-simple/148 1070s ok 163 /regex/match-simple/149 1070s ok 164 /regex/match-simple/150 1070s ok 165 /regex/match-simple/151 1070s ok 166 /regex/match-simple/152 1070s ok 167 /regex/match-simple/153 1070s ok 168 /regex/match-simple/154 1070s ok 169 /regex/match-simple/155 1070s ok 170 /regex/match-simple/156 1070s ok 171 /regex/match-simple/157 1070s ok 172 /regex/match-simple/158 1070s ok 173 /regex/match-simple/159 1070s ok 174 /regex/match-simple/160 1070s ok 175 /regex/match-simple/161 1070s ok 176 /regex/match-simple/162 1070s ok 177 /regex/match-simple/163 1070s ok 178 /regex/match-simple/164 1070s # End of match-simple tests 1070s # Start of match-simple-optimized tests 1070s ok 179 /regex/match-simple-optimized/92 1070s ok 180 /regex/match-simple-optimized/93 1070s ok 181 /regex/match-simple-optimized/94 1070s ok 182 /regex/match-simple-optimized/95 1070s ok 183 /regex/match-simple-optimized/96 1070s ok 184 /regex/match-simple-optimized/97 1070s ok 185 /regex/match-simple-optimized/98 1070s ok 186 /regex/match-simple-optimized/99 1070s ok 187 /regex/match-simple-optimized/100 1070s ok 188 /regex/match-simple-optimized/101 1070s ok 189 /regex/match-simple-optimized/102 1070s ok 190 /regex/match-simple-optimized/103 1070s ok 191 /regex/match-simple-optimized/104 1070s ok 192 /regex/match-simple-optimized/105 1070s ok 193 /regex/match-simple-optimized/106 1070s ok 194 /regex/match-simple-optimized/107 1070s ok 195 /regex/match-simple-optimized/108 1070s ok 196 /regex/match-simple-optimized/109 1070s ok 197 /regex/match-simple-optimized/110 1070s ok 198 /regex/match-simple-optimized/111 1070s ok 199 /regex/match-simple-optimized/112 1070s ok 200 /regex/match-simple-optimized/113 1070s ok 201 /regex/match-simple-optimized/114 1070s ok 202 /regex/match-simple-optimized/115 1070s ok 203 /regex/match-simple-optimized/116 1070s ok 204 /regex/match-simple-optimized/117 1070s ok 205 /regex/match-simple-optimized/118 1070s ok 206 /regex/match-simple-optimized/119 1070s ok 207 /regex/match-simple-optimized/120 1070s ok 208 /regex/match-simple-optimized/121 1070s ok 209 /regex/match-simple-optimized/122 1070s ok 210 /regex/match-simple-optimized/123 1070s ok 211 /regex/match-simple-optimized/124 1070s ok 212 /regex/match-simple-optimized/125 1070s ok 213 /regex/match-simple-optimized/126 1070s ok 214 /regex/match-simple-optimized/127 1070s ok 215 /regex/match-simple-optimized/128 1070s ok 216 /regex/match-simple-optimized/129 1070s ok 217 /regex/match-simple-optimized/130 1070s ok 218 /regex/match-simple-optimized/131 1070s ok 219 /regex/match-simple-optimized/132 1070s ok 220 /regex/match-simple-optimized/133 1070s ok 221 /regex/match-simple-optimized/134 1070s ok 222 /regex/match-simple-optimized/135 1070s ok 223 /regex/match-simple-optimized/136 1070s ok 224 /regex/match-simple-optimized/137 1070s ok 225 /regex/match-simple-optimized/138 1070s ok 226 /regex/match-simple-optimized/139 1070s ok 227 /regex/match-simple-optimized/140 1070s ok 228 /regex/match-simple-optimized/141 1070s ok 229 /regex/match-simple-optimized/142 1070s ok 230 /regex/match-simple-optimized/143 1070s ok 231 /regex/match-simple-optimized/144 1070s ok 232 /regex/match-simple-optimized/145 1070s ok 233 /regex/match-simple-optimized/146 1070s ok 234 /regex/match-simple-optimized/147 1070s ok 235 /regex/match-simple-optimized/148 1070s ok 236 /regex/match-simple-optimized/149 1070s ok 237 /regex/match-simple-optimized/150 1070s ok 238 /regex/match-simple-optimized/151 1070s ok 239 /regex/match-simple-optimized/152 1070s ok 240 /regex/match-simple-optimized/153 1070s ok 241 /regex/match-simple-optimized/154 1070s ok 242 /regex/match-simple-optimized/155 1070s ok 243 /regex/match-simple-optimized/156 1070s ok 244 /regex/match-simple-optimized/157 1070s ok 245 /regex/match-simple-optimized/158 1070s ok 246 /regex/match-simple-optimized/159 1070s ok 247 /regex/match-simple-optimized/160 1070s ok 248 /regex/match-simple-optimized/161 1070s ok 249 /regex/match-simple-optimized/162 1070s ok 250 /regex/match-simple-optimized/163 1070s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1070s ok 251 /regex/match-simple-optimized/164 1070s # End of match-simple-optimized tests 1070s # Start of match tests 1070s ok 252 /regex/match/165 1070s ok 253 /regex/match/166 1070s ok 254 /regex/match/167 1070s ok 255 /regex/match/168 1070s ok 256 /regex/match/169 1070s ok 257 /regex/match/170 1070s ok 258 /regex/match/171 1070s ok 259 /regex/match/172 1070s ok 260 /regex/match/173 1070s ok 261 /regex/match/174 1070s ok 262 /regex/match/175 1070s ok 263 /regex/match/176 1070s ok 264 /regex/match/177 1070s ok 265 /regex/match/178 1070s ok 266 /regex/match/179 1070s ok 267 /regex/match/180 1070s ok 268 /regex/match/181 1070s ok 269 /regex/match/182 1070s ok 270 /regex/match/183 1070s ok 271 /regex/match/184 1070s ok 272 /regex/match/185 1070s ok 273 /regex/match/186 1070s ok 274 /regex/match/187 1070s ok 275 /regex/match/188 1070s ok 276 /regex/match/189 1070s ok 277 /regex/match/190 1070s ok 278 /regex/match/191 1070s ok 279 /regex/match/192 1070s ok 280 /regex/match/193 1070s ok 281 /regex/match/194 1070s ok 282 /regex/match/195 1070s ok 283 /regex/match/196 1070s ok 284 /regex/match/197 1070s ok 285 /regex/match/198 1070s ok 286 /regex/match/199 1070s ok 287 /regex/match/200 1070s ok 288 /regex/match/201 1070s ok 289 /regex/match/202 1070s ok 290 /regex/match/203 1070s ok 291 /regex/match/204 1070s ok 292 /regex/match/205 1070s ok 293 /regex/match/206 1070s ok 294 /regex/match/207 1070s ok 295 /regex/match/208 1070s ok 296 /regex/match/209 1070s ok 297 /regex/match/210 1070s ok 298 /regex/match/211 1070s ok 299 /regex/match/212 1070s ok 300 /regex/match/213 1070s ok 301 /regex/match/214 1070s ok 302 /regex/match/215 1070s ok 303 /regex/match/216 1070s ok 304 /regex/match/217 1070s ok 305 /regex/match/218 1070s ok 306 /regex/match/219 1070s ok 307 /regex/match/220 1070s ok 308 /regex/match/221 1070s ok 309 /regex/match/222 1070s ok 310 /regex/match/223 1070s ok 311 /regex/match/224 1070s ok 312 /regex/match/225 1070s ok 313 /regex/match/226 1070s ok 314 /regex/match/227 1070s ok 315 /regex/match/228 1070s ok 316 /regex/match/229 1070s ok 317 /regex/match/230 1070s ok 318 /regex/match/231 1070s ok 319 /regex/match/232 1070s ok 320 /regex/match/233 1070s ok 321 /regex/match/234 1070s ok 322 /regex/match/235 1070s ok 323 /regex/match/236 1070s ok 324 /regex/match/237 1070s ok 325 /regex/match/238 1070s ok 326 /regex/match/239 1070s ok 327 /regex/match/240 1070s ok 328 /regex/match/241 1070s ok 329 /regex/match/242 1070s ok 330 /regex/match/243 1070s ok 331 /regex/match/244 1070s ok 332 /regex/match/245 1070s ok 333 /regex/match/246 1070s ok 334 /regex/match/partial281 1070s ok 335 /regex/match/partial282 1070s ok 336 /regex/match/partial283 1070s ok 337 /regex/match/partial284 1070s ok 338 /regex/match/partial285 1070s ok 339 /regex/match/partial286 1070s ok 340 /regex/match/partial287 1070s ok 341 /regex/match/partial288 1070s ok 342 /regex/match/partial289 1070s ok 343 /regex/match/partial290 1070s ok 344 /regex/match/partial291 1070s ok 345 /regex/match/partial292 1070s ok 346 /regex/match/partial293 1070s ok 347 /regex/match/partial294 1070s ok 348 /regex/match/partial295 1070s ok 349 /regex/match/partial296 1070s ok 350 /regex/match/partial297 1070s ok 351 /regex/match/partial298 1070s ok 352 /regex/match/partial299 1070s ok 353 /regex/match/partial300 1070s ok 354 /regex/match/partial301 1070s ok 355 /regex/match/partial302 1070s # Start of next0 tests 1070s ok 356 /regex/match/next0/247 1070s ok 357 /regex/match/next0/248 1070s ok 358 /regex/match/next0/249 1070s ok 359 /regex/match/next0/250 1070s # End of next0 tests 1070s # Start of next1 tests 1070s ok 360 /regex/match/next1/251 1070s ok 361 /regex/match/next1/252 1070s ok 362 /regex/match/next1/253 1070s ok 363 /regex/match/next1/254 1070s ok 364 /regex/match/next1/255 1070s # End of next1 tests 1070s # Start of next2 tests 1070s ok 365 /regex/match/next2/256 1070s ok 366 /regex/match/next2/257 1070s ok 367 /regex/match/next2/258 1070s ok 368 /regex/match/next2/259 1070s ok 369 /regex/match/next2/260 1070s ok 370 /regex/match/next2/261 1070s ok 371 /regex/match/next2/262 1070s ok 372 /regex/match/next2/263 1070s # End of next2 tests 1070s # Start of next3 tests 1070s ok 373 /regex/match/next3/264 1070s ok 374 /regex/match/next3/265 1070s ok 375 /regex/match/next3/266 1070s ok 376 /regex/match/next3/267 1070s ok 377 /regex/match/next3/268 1070s ok 378 /regex/match/next3/269 1070s # End of next3 tests 1070s # Start of next4 tests 1070s ok 379 /regex/match/next4/270 1070s # End of next4 tests 1070s # Start of count tests 1070s ok 380 /regex/match/count/271 1070s ok 381 /regex/match/count/272 1070s ok 382 /regex/match/count/273 1070s ok 383 /regex/match/count/274 1070s ok 384 /regex/match/count/275 1070s ok 385 /regex/match/count/276 1070s ok 386 /regex/match/count/277 1070s ok 387 /regex/match/count/278 1070s ok 388 /regex/match/count/279 1070s ok 389 /regex/match/count/280 1070s # End of count tests 1070s # Start of count-optimized tests 1070s ok 390 /regex/match/count-optimized/271 1070s ok 391 /regex/match/count-optimized/272 1070s ok 392 /regex/match/count-optimized/273 1070s ok 393 /regex/match/count-optimized/274 1070s ok 394 /regex/match/count-optimized/275 1070s ok 395 /regex/match/count-optimized/276 1070s ok 396 /regex/match/count-optimized/277 1070s ok 397 /regex/match/count-optimized/278 1070s ok 398 /regex/match/count-optimized/279 1070s ok 399 /regex/match/count-optimized/280 1070s # End of count-optimized tests 1070s # Start of partial-optimized tests 1070s ok 400 /regex/match/partial-optimized/281 1070s ok 401 /regex/match/partial-optimized/282 1070s ok 402 /regex/match/partial-optimized/283 1070s ok 403 /regex/match/partial-optimized/284 1070s ok 404 /regex/match/partial-optimized/285 1070s ok 405 /regex/match/partial-optimized/286 1070s ok 406 /regex/match/partial-optimized/287 1070s ok 407 /regex/match/partial-optimized/288 1070s ok 408 /regex/match/partial-optimized/289 1070s ok 409 /regex/match/partial-optimized/290 1070s ok 410 /regex/match/partial-optimized/291 1070s ok 411 /regex/match/partial-optimized/292 1070s ok 412 /regex/match/partial-optimized/293 1070s ok 413 /regex/match/partial-optimized/294 1070s ok 414 /regex/match/partial-optimized/295 1070s ok 415 /regex/match/partial-optimized/296 1070s ok 416 /regex/match/partial-optimized/297 1070s ok 417 /regex/match/partial-optimized/298 1070s ok 418 /regex/match/partial-optimized/299 1070s ok 419 /regex/match/partial-optimized/300 1070s ok 420 /regex/match/partial-optimized/301 1070s ok 421 /regex/match/partial-optimized/302 1070s # End of partial-optimized tests 1070s # Start of subpattern tests 1070s ok 422 /regex/match/subpattern/303 1070s ok 423 /regex/match/subpattern/304 1070s ok 424 /regex/match/subpattern/305 1070s ok 425 /regex/match/subpattern/306 1070s ok 426 /regex/match/subpattern/307 1070s ok 427 /regex/match/subpattern/308 1070s ok 428 /regex/match/subpattern/309 1070s ok 429 /regex/match/subpattern/310 1070s ok 430 /regex/match/subpattern/311 1070s ok 431 /regex/match/subpattern/312 1070s ok 432 /regex/match/subpattern/313 1070s ok 433 /regex/match/subpattern/314 1070s ok 434 /regex/match/subpattern/315 1070s # Start of named tests 1070s # Start of dupnames tests 1070s ok 435 /regex/match/subpattern/named/dupnames/325 1070s ok 436 /regex/match/subpattern/named/dupnames/326 1070s ok 437 /regex/match/subpattern/named/dupnames/327 1070s ok 438 /regex/match/subpattern/named/dupnames/328 1070s ok 439 /regex/match/subpattern/named/dupnames/329 1070s # End of dupnames tests 1070s # End of named tests 1070s # End of subpattern tests 1070s # Start of subpattern-optimized tests 1070s ok 440 /regex/match/subpattern-optimized/303 1070s ok 441 /regex/match/subpattern-optimized/304 1070s ok 442 /regex/match/subpattern-optimized/305 1070s ok 443 /regex/match/subpattern-optimized/306 1070s ok 444 /regex/match/subpattern-optimized/307 1070s ok 445 /regex/match/subpattern-optimized/308 1070s ok 446 /regex/match/subpattern-optimized/309 1070s ok 447 /regex/match/subpattern-optimized/310 1070s ok 448 /regex/match/subpattern-optimized/311 1070s ok 449 /regex/match/subpattern-optimized/312 1070s ok 450 /regex/match/subpattern-optimized/313 1070s ok 451 /regex/match/subpattern-optimized/314 1070s ok 452 /regex/match/subpattern-optimized/315 1070s # End of subpattern-optimized tests 1070s # Start of named tests 1070s # Start of subpattern tests 1070s ok 453 /regex/match/named/subpattern/316 1070s ok 454 /regex/match/named/subpattern/317 1070s ok 455 /regex/match/named/subpattern/318 1070s ok 456 /regex/match/named/subpattern/319 1070s ok 457 /regex/match/named/subpattern/320 1070s ok 458 /regex/match/named/subpattern/321 1070s ok 459 /regex/match/named/subpattern/322 1070s ok 460 /regex/match/named/subpattern/323 1070s ok 461 /regex/match/named/subpattern/324 1070s ok 462 /regex/match/named/subpattern/330 1070s ok 463 /regex/match/named/subpattern/331 1070s ok 464 /regex/match/named/subpattern/332 1070s ok 465 /regex/match/named/subpattern/333 1070s ok 466 /regex/match/named/subpattern/334 1070s # End of subpattern tests 1070s # End of named tests 1070s # End of match tests 1070s # Start of match-optimized tests 1070s ok 467 /regex/match-optimized/165 1070s ok 468 /regex/match-optimized/166 1070s ok 469 /regex/match-optimized/167 1070s ok 470 /regex/match-optimized/168 1070s ok 471 /regex/match-optimized/169 1070s ok 472 /regex/match-optimized/170 1070s ok 473 /regex/match-optimized/171 1070s ok 474 /regex/match-optimized/172 1070s ok 475 /regex/match-optimized/173 1070s ok 476 /regex/match-optimized/174 1070s ok 477 /regex/match-optimized/175 1070s ok 478 /regex/match-optimized/176 1070s ok 479 /regex/match-optimized/177 1070s ok 480 /regex/match-optimized/178 1070s ok 481 /regex/match-optimized/179 1070s ok 482 /regex/match-optimized/180 1070s ok 483 /regex/match-optimized/181 1070s ok 484 /regex/match-optimized/182 1070s ok 485 /regex/match-optimized/183 1070s ok 486 /regex/match-optimized/184 1070s ok 487 /regex/match-optimized/185 1070s ok 488 /regex/match-optimized/186 1070s ok 489 /regex/match-optimized/187 1070s ok 490 /regex/match-optimized/188 1070s ok 491 /regex/match-optimized/189 1070s ok 492 /regex/match-optimized/190 1070s ok 493 /regex/match-optimized/191 1070s ok 494 /regex/match-optimized/192 1070s ok 495 /regex/match-optimized/193 1070s ok 496 /regex/match-optimized/194 1070s ok 497 /regex/match-optimized/195 1070s ok 498 /regex/match-optimized/196 1070s ok 499 /regex/match-optimized/197 1070s ok 500 /regex/match-optimized/198 1070s ok 501 /regex/match-optimized/199 1070s ok 502 /regex/match-optimized/200 1070s ok 503 /regex/match-optimized/201 1070s ok 504 /regex/match-optimized/202 1070s ok 505 /regex/match-optimized/203 1070s ok 506 /regex/match-optimized/204 1070s ok 507 /regex/match-optimized/205 1070s ok 508 /regex/match-optimized/206 1070s ok 509 /regex/match-optimized/207 1070s ok 510 /regex/match-optimized/208 1070s ok 511 /regex/match-optimized/209 1070s ok 512 /regex/match-optimized/210 1070s ok 513 /regex/match-optimized/211 1070s ok 514 /regex/match-optimized/212 1070s ok 515 /regex/match-optimized/213 1070s ok 516 /regex/match-optimized/214 1070s ok 517 /regex/match-optimized/215 1070s ok 518 /regex/match-optimized/216 1070s ok 519 /regex/match-optimized/217 1070s ok 520 /regex/match-optimized/218 1070s ok 521 /regex/match-optimized/219 1070s ok 522 /regex/match-optimized/220 1070s ok 523 /regex/match-optimized/221 1070s ok 524 /regex/match-optimized/222 1070s ok 525 /regex/match-optimized/223 1070s ok 526 /regex/match-optimized/224 1070s ok 527 /regex/match-optimized/225 1070s ok 528 /regex/match-optimized/226 1070s ok 529 /regex/match-optimized/227 1070s ok 530 /regex/match-optimized/228 1070s ok 531 /regex/match-optimized/229 1070s ok 532 /regex/match-optimized/230 1070s ok 533 /regex/match-optimized/231 1070s ok 534 /regex/match-optimized/232 1070s ok 535 /regex/match-optimized/233 1070s ok 536 /regex/match-optimized/234 1070s ok 537 /regex/match-optimized/235 1070s ok 538 /regex/match-optimized/236 1070s ok 539 /regex/match-optimized/237 1070s ok 540 /regex/match-optimized/238 1070s ok 541 /regex/match-optimized/239 1070s ok 542 /regex/match-optimized/240 1070s ok 543 /regex/match-optimized/241 1070s ok 544 /regex/match-optimized/242 1070s ok 545 /regex/match-optimized/243 1070s ok 546 /regex/match-optimized/244 1070s ok 547 /regex/match-optimized/245 1070s ok 548 /regex/match-optimized/246 1070s # End of match-optimized tests 1070s # Start of fetch-all0 tests 1070s ok 549 /regex/fetch-all0/335 1070s ok 550 /regex/fetch-all0/336 1070s # End of fetch-all0 tests 1070s # Start of fetch-all1 tests 1070s ok 551 /regex/fetch-all1/337 1070s ok 552 /regex/fetch-all1/338 1070s ok 553 /regex/fetch-all1/339 1070s # End of fetch-all1 tests 1070s # Start of fetch-all2 tests 1070s ok 554 /regex/fetch-all2/340 1070s ok 555 /regex/fetch-all2/341 1070s ok 556 /regex/fetch-all2/342 1070s # End of fetch-all2 tests 1070s # Start of fetch-all3 tests 1070s ok 557 /regex/fetch-all3/343 1070s ok 558 /regex/fetch-all3/344 1070s ok 559 /regex/fetch-all3/345 1070s ok 560 /regex/fetch-all3/346 1070s ok 561 /regex/fetch-all3/347 1070s # End of fetch-all3 tests 1070s # Start of split tests 1070s # Start of simple0 tests 1070s ok 562 /regex/split/simple0/348 1070s ok 563 /regex/split/simple0/349 1070s ok 564 /regex/split/simple0/364 1070s ok 565 /regex/split/simple0/365 1070s # End of simple0 tests 1070s # Start of simple1 tests 1070s ok 566 /regex/split/simple1/350 1070s ok 567 /regex/split/simple1/351 1070s # End of simple1 tests 1070s # Start of simple2 tests 1070s ok 568 /regex/split/simple2/352 1070s ok 569 /regex/split/simple2/358 1070s ok 570 /regex/split/simple2/360 1070s # End of simple2 tests 1070s # Start of simple3 tests 1070s ok 571 /regex/split/simple3/353 1070s ok 572 /regex/split/simple3/354 1070s ok 573 /regex/split/simple3/355 1070s ok 574 /regex/split/simple3/356 1070s ok 575 /regex/split/simple3/357 1070s ok 576 /regex/split/simple3/359 1070s ok 577 /regex/split/simple3/361 1070s ok 578 /regex/split/simple3/362 1070s ok 579 /regex/split/simple3/363 1070s # End of simple3 tests 1070s # End of split tests 1070s # Start of split0 tests 1070s ok 580 /regex/split0/366 1070s ok 581 /regex/split0/368 1070s # End of split0 tests 1070s # Start of full-split0 tests 1070s ok 582 /regex/full-split0/367 1070s ok 583 /regex/full-split0/369 1070s ok 584 /regex/full-split0/370 1070s ok 585 /regex/full-split0/371 1070s ok 586 /regex/full-split0/372 1070s # End of full-split0 tests 1070s # Start of split1 tests 1070s ok 587 /regex/split1/373 1070s ok 588 /regex/split1/376 1070s # End of split1 tests 1070s # Start of full-split1 tests 1070s ok 589 /regex/full-split1/374 1070s ok 590 /regex/full-split1/375 1070s ok 591 /regex/full-split1/377 1070s ok 592 /regex/full-split1/378 1070s ok 593 /regex/full-split1/404 1070s # End of full-split1 tests 1070s # Start of split2 tests 1070s ok 594 /regex/split2/379 1070s ok 595 /regex/split2/383 1070s ok 596 /regex/split2/395 1070s # End of split2 tests 1070s # Start of full-split2 tests 1070s ok 597 /regex/full-split2/380 1070s ok 598 /regex/full-split2/381 1070s ok 599 /regex/full-split2/382 1070s ok 600 /regex/full-split2/384 1070s ok 601 /regex/full-split2/396 1070s ok 602 /regex/full-split2/399 1070s ok 603 /regex/full-split2/405 1070s # End of full-split2 tests 1070s # Start of split3 tests 1070s ok 604 /regex/split3/385 1070s ok 605 /regex/split3/387 1070s ok 606 /regex/split3/389 1070s ok 607 /regex/split3/391 1070s ok 608 /regex/split3/393 1070s ok 609 /regex/split3/397 1070s ok 610 /regex/split3/400 1070s ok 611 /regex/split3/402 1070s # End of split3 tests 1070s # Start of full-split3 tests 1070s ok 612 /regex/full-split3/386 1070s ok 613 /regex/full-split3/388 1070s ok 614 /regex/full-split3/390 1070s ok 615 /regex/full-split3/392 1070s ok 616 /regex/full-split3/394 1070s ok 617 /regex/full-split3/398 1070s ok 618 /regex/full-split3/401 1070s ok 619 /regex/full-split3/403 1070s ok 620 /regex/full-split3/406 1070s ok 621 /regex/full-split3/407 1070s # End of full-split3 tests 1070s # Start of check-repacement tests 1070s ok 622 /regex/check-repacement/408 1070s ok 623 /regex/check-repacement/409 1070s ok 624 /regex/check-repacement/410 1070s ok 625 /regex/check-repacement/411 1070s ok 626 /regex/check-repacement/412 1070s ok 627 /regex/check-repacement/413 1070s ok 628 /regex/check-repacement/414 1070s ok 629 /regex/check-repacement/415 1070s # End of check-repacement tests 1070s # Start of expand tests 1070s ok 630 /regex/expand/416 1070s ok 631 /regex/expand/417 1070s ok 632 /regex/expand/418 1070s ok 633 /regex/expand/419 1070s ok 634 /regex/expand/420 1070s ok 635 /regex/expand/421 1070s ok 636 /regex/expand/422 1070s ok 637 /regex/expand/423 1070s ok 638 /regex/expand/424 1070s ok 639 /regex/expand/425 1070s ok 640 /regex/expand/426 1070s ok 641 /regex/expand/427 1070s ok 642 /regex/expand/428 1070s ok 643 /regex/expand/429 1070s ok 644 /regex/expand/430 1070s ok 645 /regex/expand/431 1070s ok 646 /regex/expand/432 1070s ok 647 /regex/expand/433 1070s ok 648 /regex/expand/434 1070s ok 649 /regex/expand/435 1070s ok 650 /regex/expand/436 1070s ok 651 /regex/expand/437 1070s ok 652 /regex/expand/438 1070s ok 653 /regex/expand/439 1070s ok 654 /regex/expand/440 1070s ok 655 /regex/expand/441 1070s ok 656 /regex/expand/442 1070s ok 657 /regex/expand/443 1070s ok 658 /regex/expand/444 1070s ok 659 /regex/expand/445 1070s ok 660 /regex/expand/446 1070s ok 661 /regex/expand/447 1070s ok 662 /regex/expand/448 1070s ok 663 /regex/expand/449 1070s ok 664 /regex/expand/450 1070s ok 665 /regex/expand/451 1070s ok 666 /regex/expand/452 1070s ok 667 /regex/expand/453 1070s ok 668 /regex/expand/454 1070s ok 669 /regex/expand/455 1070s ok 670 /regex/expand/456 1070s ok 671 /regex/expand/457 1070s ok 672 /regex/expand/458 1070s ok 673 /regex/expand/459 1070s ok 674 /regex/expand/460 1070s ok 675 /regex/expand/461 1070s ok 676 /regex/expand/462 1070s ok 677 /regex/expand/463 1070s ok 678 /regex/expand/464 1070s ok 679 /regex/expand/465 1070s ok 680 /regex/expand/466 1070s ok 681 /regex/expand/467 1070s ok 682 /regex/expand/468 1070s ok 683 /regex/expand/469 1070s ok 684 /regex/expand/470 1070s ok 685 /regex/expand/471 1070s ok 686 /regex/expand/472 1070s ok 687 /regex/expand/473 1070s ok 688 /regex/expand/474 1070s ok 689 /regex/expand/475 1070s ok 690 /regex/expand/476 1070s ok 691 /regex/expand/477 1070s ok 692 /regex/expand/478 1070s ok 693 /regex/expand/479 1070s ok 694 /regex/expand/480 1070s ok 695 /regex/expand/481 1070s # End of expand tests 1070s # Start of replace tests 1070s ok 696 /regex/replace/482 1070s ok 697 /regex/replace/483 1070s ok 698 /regex/replace/484 1070s ok 699 /regex/replace/485 1070s ok 700 /regex/replace/486 1070s ok 701 /regex/replace/487 1070s ok 702 /regex/replace/488 1070s ok 703 /regex/replace/489 1070s ok 704 /regex/replace/490 1070s ok 705 /regex/replace/491 1070s ok 706 /regex/replace/492 1070s ok 707 /regex/replace/493 1070s ok 708 /regex/replace/494 1070s ok 709 /regex/replace/495 1070s ok 710 /regex/replace/496 1070s ok 711 /regex/replace/497 1070s ok 712 /regex/replace/498 1070s ok 713 /regex/replace/499 1070s ok 714 /regex/replace/500 1070s ok 715 /regex/replace/501 1070s ok 716 /regex/replace/502 1070s ok 717 /regex/replace/503 1070s ok 718 /regex/replace/504 1070s ok 719 /regex/replace/505 1070s ok 720 /regex/replace/506 1070s ok 721 /regex/replace/507 1070s ok 722 /regex/replace/508 1070s ok 723 /regex/replace/509 1070s # End of replace tests 1070s # Start of replace-optimized tests 1070s ok 724 /regex/replace-optimized/482 1070s ok 725 /regex/replace-optimized/483 1070s ok 726 /regex/replace-optimized/484 1070s ok 727 /regex/replace-optimized/485 1070s ok 728 /regex/replace-optimized/486 1070s ok 729 /regex/replace-optimized/487 1070s ok 730 /regex/replace-optimized/488 1070s ok 731 /regex/replace-optimized/489 1070s ok 732 /regex/replace-optimized/490 1070s ok 733 /regex/replace-optimized/491 1070s ok 734 /regex/replace-optimized/492 1070s ok 735 /regex/replace-optimized/493 1070s ok 736 /regex/replace-optimized/494 1070s ok 737 /regex/replace-optimized/495 1070s ok 738 /regex/replace-optimized/496 1070s ok 739 /regex/replace-optimized/497 1070s ok 740 /regex/replace-optimized/498 1070s ok 741 /regex/replace-optimized/499 1070s ok 742 /regex/replace-optimized/500 1070s ok 743 /regex/replace-optimized/501 1070s ok 744 /regex/replace-optimized/502 1070s ok 745 /regex/replace-optimized/503 1070s ok 746 /regex/replace-optimized/504 1070s ok 747 /regex/replace-optimized/505 1070s ok 748 /regex/replace-optimized/506 1070s ok 749 /regex/replace-optimized/507 1070s ok 750 /regex/replace-optimized/508 1070s ok 751 /regex/replace-optimized/509 1070s # End of replace-optimized tests 1070s # Start of replace-literally tests 1070s ok 752 /regex/replace-literally/510 1070s ok 753 /regex/replace-literally/511 1070s ok 754 /regex/replace-literally/512 1070s ok 755 /regex/replace-literally/513 1070s ok 756 /regex/replace-literally/514 1070s ok 757 /regex/replace-literally/515 1070s ok 758 /regex/replace-literally/516 1070s ok 759 /regex/replace-literally/517 1070s ok 760 /regex/replace-literally/518 1070s ok 761 /regex/replace-literally/519 1070s ok 762 /regex/replace-literally/520 1070s ok 763 /regex/replace-literally/521 1070s ok 764 /regex/replace-literally/522 1070s ok 765 /regex/replace-literally/523 1070s ok 766 /regex/replace-literally/524 1070s ok 767 /regex/replace-literally/525 1070s ok 768 /regex/replace-literally/526 1070s ok 769 /regex/replace-literally/527 1070s ok 770 /regex/replace-literally/528 1070s ok 771 /regex/replace-literally/529 1070s # End of replace-literally tests 1070s # Start of string-number tests 1070s ok 772 /regex/string-number/530 1070s ok 773 /regex/string-number/531 1070s ok 774 /regex/string-number/532 1070s ok 775 /regex/string-number/533 1070s ok 776 /regex/string-number/534 1070s ok 777 /regex/string-number/535 1070s ok 778 /regex/string-number/536 1070s ok 779 /regex/string-number/537 1070s ok 780 /regex/string-number/538 1070s ok 781 /regex/string-number/539 1070s ok 782 /regex/string-number/540 1070s ok 783 /regex/string-number/541 1070s ok 784 /regex/string-number/542 1070s ok 785 /regex/string-number/543 1070s ok 786 /regex/string-number/544 1070s # End of string-number tests 1070s # Start of escape_nul tests 1070s ok 787 /regex/escape_nul/545 1070s ok 788 /regex/escape_nul/546 1070s ok 789 /regex/escape_nul/547 1070s ok 790 /regex/escape_nul/548 1070s ok 791 /regex/escape_nul/549 1070s ok 792 /regex/escape_nul/550 1070s ok 793 /regex/escape_nul/551 1070s ok 794 /regex/escape_nul/552 1070s ok 795 /regex/escape_nul/553 1070s ok 796 /regex/escape_nul/554 1070s ok 797 /regex/escape_nul/555 1070s ok 798 /regex/escape_nul/556 1070s ok 799 /regex/escape_nul/557 1070s ok 800 /regex/escape_nul/558 1070s ok 801 /regex/escape_nul/559 1070s # End of escape_nul tests 1070s # Start of escape tests 1070s ok 802 /regex/escape/560 1070s ok 803 /regex/escape/561 1070s ok 804 /regex/escape/562 1070s ok 805 /regex/escape/563 1070s ok 806 /regex/escape/564 1070s ok 807 /regex/escape/565 1070s ok 808 /regex/escape/566 1070s ok 809 /regex/escape/567 1070s ok 810 /regex/escape/568 1070s ok 811 /regex/escape/569 1070s ok 812 /regex/escape/570 1070s ok 813 /regex/escape/571 1070s ok 814 /regex/escape/572 1070s ok 815 /regex/escape/573 1070s ok 816 /regex/escape/574 1070s ok 817 /regex/escape/575 1070s ok 818 /regex/escape/576 1070s ok 819 /regex/escape/577 1070s # End of escape tests 1070s # Start of match-all0 tests 1070s ok 820 /regex/match-all0/578 1070s ok 821 /regex/match-all0/580 1070s # End of match-all0 tests 1070s # Start of match-all-full0 tests 1070s ok 822 /regex/match-all-full0/579 1070s ok 823 /regex/match-all-full0/581 1070s ok 824 /regex/match-all-full0/582 1070s ok 825 /regex/match-all-full0/583 1070s # End of match-all-full0 tests 1070s # Start of match-all1 tests 1070s ok 826 /regex/match-all1/584 1070s ok 827 /regex/match-all1/586 1070s ok 828 /regex/match-all1/591 1070s # End of match-all1 tests 1070s # Start of match-all-full1 tests 1070s ok 829 /regex/match-all-full1/585 1070s ok 830 /regex/match-all-full1/587 1070s ok 831 /regex/match-all-full1/588 1070s ok 832 /regex/match-all-full1/589 1070s ok 833 /regex/match-all-full1/590 1070s ok 834 /regex/match-all-full1/592 1070s # End of match-all-full1 tests 1070s # Start of match-all2 tests 1070s ok 835 /regex/match-all2/593 1070s ok 836 /regex/match-all2/595 1070s ok 837 /regex/match-all2/597 1070s # End of match-all2 tests 1070s # Start of match-all-full2 tests 1070s ok 838 /regex/match-all-full2/594 1070s ok 839 /regex/match-all-full2/596 1070s ok 840 /regex/match-all-full2/598 1070s # End of match-all-full2 tests 1070s # Start of match-all3 tests 1070s ok 841 /regex/match-all3/599 1070s ok 842 /regex/match-all3/601 1070s # End of match-all3 tests 1070s # Start of match-all-full3 tests 1070s ok 843 /regex/match-all-full3/600 1070s ok 844 /regex/match-all-full3/602 1070s # End of match-all-full3 tests 1070s # Start of match-notempty tests 1070s ok 845 /regex/match-notempty/603 1070s # End of match-notempty tests 1070s # Start of match-notempty-optimized tests 1070s ok 846 /regex/match-notempty-optimized/603 1070s # End of match-notempty-optimized tests 1070s # Start of match-notempty-atstart tests 1070s ok 847 /regex/match-notempty-atstart/604 1070s # End of match-notempty-atstart tests 1070s # Start of match-notempty-atstart-optimized tests 1070s ok 848 /regex/match-notempty-atstart-optimized/604 1070s # End of match-notempty-atstart-optimized tests 1070s # End of regex tests 1070s ok - glib/regex.test 1070s # Running test: glib/gdbus-bz627724.test 1070s TAP version 14 1070s # random seed: R02S49bb50c754a2df0a630512a4605a16e7 1070s 1..1 1070s # Start of gdbus tests 1070s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_QTSOE3/gdbus/bz627724/.dirs/home 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_QTSOE3/gdbus/bz627724/.dirs/cache 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_QTSOE3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_QTSOE3/gdbus/bz627724/.dirs/system-config2 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_QTSOE3/gdbus/bz627724/.dirs/config 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_QTSOE3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_QTSOE3/gdbus/bz627724/.dirs/system-data2 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_QTSOE3/gdbus/bz627724/.dirs/data 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_QTSOE3/gdbus/bz627724/.dirs/state 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_QTSOE3/gdbus/bz627724/.dirs/runtime 1070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1070s ok 1 /gdbus/bz627724 1070s # End of gdbus tests 1070s ok - glib/gdbus-bz627724.test 1070s # Running test: glib/pathbuf.test 1070s TAP version 14 1070s # random seed: R02S7145b9a9205833d0812dcd6413ab3224 1070s 1..3 1070s # Start of pathbuf tests 1070s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/init/.dirs/home 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/init/.dirs/cache 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_2Z9NE3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_2Z9NE3/pathbuf/init/.dirs/system-config2 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/init/.dirs/config 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_2Z9NE3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_2Z9NE3/pathbuf/init/.dirs/system-data2 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/init/.dirs/data 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/init/.dirs/state 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_2Z9NE3/pathbuf/init/.dirs/runtime 1070s # Initializing empty path buf 1070s # Initializing with empty path 1070s # Initializing with full path 1070s # Initializing with no path 1070s # Allocating GPathBuf on the heap 1070s ok 1 /pathbuf/init 1070s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/push-pop/.dirs/home 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/push-pop/.dirs/cache 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_2Z9NE3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_2Z9NE3/pathbuf/push-pop/.dirs/system-config2 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/push-pop/.dirs/config 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_2Z9NE3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_2Z9NE3/pathbuf/push-pop/.dirs/system-data2 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/push-pop/.dirs/data 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/push-pop/.dirs/state 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_2Z9NE3/pathbuf/push-pop/.dirs/runtime 1070s # Pushing relative path component 1070s # Pushing absolute path component 1070s # Popping a path component 1070s # Can't pop the last element of a path buffer 1070s ok 2 /pathbuf/push-pop 1070s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/filename-extension/.dirs/home 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/filename-extension/.dirs/cache 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_2Z9NE3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_2Z9NE3/pathbuf/filename-extension/.dirs/system-config2 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/filename-extension/.dirs/config 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_2Z9NE3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_2Z9NE3/pathbuf/filename-extension/.dirs/system-data2 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/filename-extension/.dirs/data 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_2Z9NE3/pathbuf/filename-extension/.dirs/state 1070s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_2Z9NE3/pathbuf/filename-extension/.dirs/runtime 1070s ok 3 /pathbuf/filename-extension 1070s # End of pathbuf tests 1070s ok - glib/pathbuf.test 1070s # Running test: glib/signals-refcount3.test 1070s TAP version 14 1070s # random seed: R02Sc7b403af023ed98e137dceee7e28eb25 1070s 1..1 1070s # Start of gobject tests 1070s # Start of refcount tests 1070s # init 0x10019c90 1070s # 1070s # init 0x10020510 1070s # 1073s # Executing: glib/signals-refcount3.test 1075s # dispose 0x10019c90! 1075s # 1075s # dispose 0x10020510! 1075s # 1075s ok 1 /gobject/refcount/signals 1075s # slow test /gobject/refcount/signals executed in 5.00 secs 1075s # End of refcount tests 1075s # End of gobject tests 1075s ok - glib/signals-refcount3.test 1075s # Running test: glib/gdbus-connection.test 1075s TAP version 14 1075s # random seed: R02Sfb1bf05abebee7ede711c99137e34eef 1075s 1..9 1075s # Start of gdbus tests 1075s # Start of connection tests 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/bus-failure/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/bus-failure/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/bus-failure/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/bus-failure/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/bus-failure/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/bus-failure/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/bus-failure/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/bus-failure/.dirs/runtime 1075s ok 1 /gdbus/connection/bus-failure 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/basic/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/basic/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/basic/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/basic/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/basic/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/basic/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/basic/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/basic/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 2 /gdbus/connection/basic 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/life-cycle/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/life-cycle/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/life-cycle/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/life-cycle/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/life-cycle/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/life-cycle/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/life-cycle/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/life-cycle/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 3 /gdbus/connection/life-cycle 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/send/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/send/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/send/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/send/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/send/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/send/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/send/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/send/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 4 /gdbus/connection/send 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signals/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signals/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signals/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signals/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signals/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signals/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signals/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signals/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 5 /gdbus/connection/signals 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signal-match-rules/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signal-match-rules/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signal-match-rules/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signal-match-rules/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signal-match-rules/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signal-match-rules/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signal-match-rules/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/signal-match-rules/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 6 /gdbus/connection/signal-match-rules 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/filter/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/filter/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/filter/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/filter/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/filter/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/filter/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/filter/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/filter/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 7 /gdbus/connection/filter 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/serials/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/serials/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/serials/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/serials/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/serials/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/serials/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/serials/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/serials/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 8 /gdbus/connection/serials 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/cancel/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/cancel/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/cancel/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/cancel/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_SWYNE3/gdbus/connection/cancel/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/cancel/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/cancel/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SWYNE3/gdbus/connection/cancel/.dirs/runtime 1075s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 9 /gdbus/connection/cancel 1075s # End of connection tests 1075s # End of gdbus tests 1075s ok - glib/gdbus-connection.test 1075s # Running test: glib/thread-pool-slow.test 1075s TAP version 14 1075s # random seed: R02Se6cab01da54820fb490630ad05df3b05 1075s 1..7 1075s # Start of threadpool tests 1075s ok 1 /threadpool/functions 1076s ok 2 /threadpool/stop-unused 1076s # slow test /threadpool/stop-unused executed in 0.52 secs 1076s ok 3 /threadpool/pools 1076s # [unsorted] ===> pushed new thread with id:95, number of threads:1, unprocessed:1 1076s # [unsorted] ===> pushed new thread with id:46, number of threads:2, unprocessed:2 1076s # [unsorted] ===> pushed new thread with id:90, number of threads:3, unprocessed:3 1076s # [unsorted] ===> pushed new thread with id:28, number of threads:4, unprocessed:4 1076s # [unsorted] ===> pushed new thread with id:96, number of threads:5, unprocessed:5 1076s # [unsorted] ===> pushed new thread with id:75, number of threads:6, unprocessed:5 1076s # [unsorted] ===> pushed new thread with id:27, number of threads:7, unprocessed:1 1076s # [unsorted] ===> pushed new thread with id:77, number of threads:8, unprocessed:2 1076s # [unsorted] ===> pushed new thread with id:18, number of threads:9, unprocessed:3 1076s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:4 1076s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:5 1076s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:6 1076s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:7 1076s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:8 1076s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:9 1076s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:10 1076s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:11 1076s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:12 1076s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:13 1076s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:14 1076s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:15 1076s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:16 1076s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:17 1076s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:18 1076s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:15 1076s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:16 1076s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:17 1076s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:18 1076s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:19 1076s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:20 1076s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:21 1076s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:22 1076s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:23 1076s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:24 1076s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:25 1076s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:26 1076s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:27 1076s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:28 1076s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:29 1076s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:30 1076s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:31 1076s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:32 1076s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:33 1076s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:34 1076s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:35 1076s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:36 1076s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:37 1076s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:38 1076s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:39 1076s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:40 1076s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:41 1076s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:42 1076s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:43 1076s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:44 1076s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:45 1076s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:46 1076s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:47 1076s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:48 1076s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:49 1076s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:50 1076s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:51 1076s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:52 1076s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:53 1076s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:54 1076s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:55 1076s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:56 1076s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:57 1076s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:58 1076s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:59 1076s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:60 1076s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:61 1076s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:62 1076s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:63 1076s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:64 1076s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:65 1076s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:66 1076s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:67 1076s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:68 1076s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:69 1076s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:70 1076s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:71 1076s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:72 1076s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:73 1076s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:74 1076s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:75 1076s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:76 1076s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:77 1076s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:78 1076s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:79 1076s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:80 1076s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:81 1076s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:82 1076s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:83 1076s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:84 1076s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:85 1076s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:86 1076s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:87 1076s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:88 1076s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:89 1076s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:90 1076s ok 4 /threadpool/no-sort 1076s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:1 1076s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:2 1076s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:3 1076s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:4 1076s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:5 1076s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:6 1076s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:7 1076s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:8 1076s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:9 1076s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:10 1076s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:11 1076s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:12 1076s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:13 1076s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:14 1076s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:15 1076s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:16 1076s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:17 1076s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:18 1076s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:19 1076s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:20 1076s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:21 1076s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:22 1076s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:23 1076s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:24 1076s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:25 1076s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:26 1076s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:27 1076s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:28 1076s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:29 1076s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:30 1076s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:31 1076s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:32 1076s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:33 1076s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:34 1076s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:35 1076s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:36 1076s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:37 1076s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:38 1076s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:39 1076s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:40 1076s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:41 1076s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:42 1076s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:43 1076s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:44 1076s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:45 1076s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:46 1076s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:47 1076s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:48 1076s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:49 1076s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:50 1076s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:51 1076s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:52 1076s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:53 1076s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:54 1076s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:55 1076s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:56 1076s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:57 1076s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:58 1076s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:59 1076s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:60 1076s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:61 1076s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:62 1076s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:63 1076s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:64 1076s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:65 1076s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:66 1076s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:67 1076s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:68 1076s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:69 1076s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:70 1076s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:71 1076s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:72 1076s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:73 1076s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:74 1076s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:75 1076s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:76 1076s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:77 1076s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:78 1076s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:79 1076s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:80 1076s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:81 1076s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:82 1076s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:83 1076s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:84 1076s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:85 1076s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:86 1076s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:87 1076s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:88 1076s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:89 1076s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:90 1076s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:91 1076s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:92 1076s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:93 1076s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:94 1076s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:95 1076s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:96 1076s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:97 1076s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:98 1076s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:99 1076s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:100 1076s # Starting thread pool processing 1076s ok 5 /threadpool/sort 1076s ok 6 /threadpool/stop-unused-multiple 1076s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1076s # Pool idle thread count: 0, unprocessed jobs: 49 1077s # Pool idle thread count: 0, unprocessed jobs: 0 1077s # Pool idle thread count: 0, unprocessed jobs: 0 1077s # Pool idle thread count: 10, unprocessed jobs: 0 1077s # Pool idle thread count: 10, unprocessed jobs: 0 1078s # Pool idle thread count: 10, unprocessed jobs: 0 1078s # Pool idle thread count: 10, unprocessed jobs: 0 1078s # Executing: glib/thread-pool-slow.test 1078s # Pool idle thread count: 10, unprocessed jobs: 0 1078s # Pool idle thread count: 10, unprocessed jobs: 0 1079s # Pool idle thread count: 10, unprocessed jobs: 0 1079s # Pool idle thread count: 10, unprocessed jobs: 0 1079s # Pool idle thread count: 10, unprocessed jobs: 0 1079s # Pool idle thread count: 10, unprocessed jobs: 0 1080s # Pool idle thread count: 10, unprocessed jobs: 0 1080s # Pool idle thread count: 10, unprocessed jobs: 0 1080s # Pool idle thread count: 10, unprocessed jobs: 0 1080s # Pool idle thread count: 10, unprocessed jobs: 0 1081s # Pool idle thread count: 10, unprocessed jobs: 0 1081s # Pool idle thread count: 10, unprocessed jobs: 0 1081s # Pool idle thread count: 10, unprocessed jobs: 0 1081s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1083s # Pool idle thread count: 10, unprocessed jobs: 0 1083s # Pool idle thread count: 10, unprocessed jobs: 0 1083s # Executing: glib/thread-pool-slow.test 1083s # Pool idle thread count: 10, unprocessed jobs: 0 1083s # Pool idle thread count: 10, unprocessed jobs: 0 1084s # Pool idle thread count: 10, unprocessed jobs: 0 1084s # Pool idle thread count: 10, unprocessed jobs: 0 1084s # Pool idle thread count: 10, unprocessed jobs: 0 1084s # Pool idle thread count: 10, unprocessed jobs: 0 1085s # Pool idle thread count: 10, unprocessed jobs: 0 1085s # Pool idle thread count: 10, unprocessed jobs: 0 1085s # Pool idle thread count: 10, unprocessed jobs: 2 1085s # Pool idle thread count: 8, unprocessed jobs: 0 1085s # Pool idle thread count: 8, unprocessed jobs: 0 1085s # Pool idle thread count: 8, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1087s # Pool idle thread count: 10, unprocessed jobs: 0 1087s # Pool idle thread count: 10, unprocessed jobs: 0 1087s # Pool idle thread count: 2, unprocessed jobs: 0 1087s # Pool idle thread count: 2, unprocessed jobs: 0 1088s # Pool idle thread count: 2, unprocessed jobs: 0 1088s # Pool idle thread count: 2, unprocessed jobs: 0 1088s # Executing: glib/thread-pool-slow.test 1088s # Pool idle thread count: 2, unprocessed jobs: 0 1088s # Pool idle thread count: 2, unprocessed jobs: 0 1089s # Pool idle thread count: 2, unprocessed jobs: 0 1089s # Pool idle thread count: 2, unprocessed jobs: 0 1089s # Pool idle thread count: 2, unprocessed jobs: 0 1089s # Pool idle thread count: 2, unprocessed jobs: 0 1090s # Pool idle thread count: 2, unprocessed jobs: 0 1090s # Pool idle thread count: 2, unprocessed jobs: 0 1090s # Pool idle thread count: 2, unprocessed jobs: 0 1090s # Pool idle thread count: 2, unprocessed jobs: 0 1091s # Pool idle thread count: 2, unprocessed jobs: 0 1091s # Pool idle thread count: 2, unprocessed jobs: 0 1091s # Pool idle thread count: 2, unprocessed jobs: 0 1091s # Pool idle thread count: 2, unprocessed jobs: 0 1092s # Pool idle thread count: 2, unprocessed jobs: 0 1092s # Pool idle thread count: 2, unprocessed jobs: 0 1092s # Pool idle thread count: 2, unprocessed jobs: 0 1092s # Pool idle thread count: 2, unprocessed jobs: 0 1093s # Pool idle thread count: 2, unprocessed jobs: 0 1093s # Pool idle thread count: 2, unprocessed jobs: 0 1093s # Executing: glib/thread-pool-slow.test 1093s # Pool idle thread count: 2, unprocessed jobs: 0 1093s # Pool idle thread count: 2, unprocessed jobs: 0 1094s # Pool idle thread count: 2, unprocessed jobs: 0 1094s # Pool idle thread count: 2, unprocessed jobs: 0 1094s # Pool idle thread count: 2, unprocessed jobs: 0 1094s # Pool idle thread count: 2, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1096s ok 7 /threadpool/idle-time 1096s # slow test /threadpool/idle-time executed in 19.54 secs 1096s # End of threadpool tests 1096s ok - glib/thread-pool-slow.test 1096s # Running test: glib/stream-rw_all.test 1096s TAP version 14 1096s # random seed: R02S6dc4559a8ff96b3d074ad667c5e0e214 1096s 1..3 1096s # Start of stream tests 1096s # Start of read_all_async tests 1096s ok 1 /stream/read_all_async/memory 1096s # End of read_all_async tests 1096s # Start of write_all_async tests 1096s ok 2 /stream/write_all_async/memory 1096s # End of write_all_async tests 1096s # Start of read_write_all_async tests 1096s ok 3 /stream/read_write_all_async/pipe 1096s # End of read_write_all_async tests 1096s # End of stream tests 1096s ok - glib/stream-rw_all.test 1096s # Running test: glib/gdbus-addresses.test 1096s TAP version 14 1096s # random seed: R02S9ecb1999dd4805f8ba5128e99ffffedd 1096s 1..9 1096s # Start of gdbus tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/empty-address/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/empty-address/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/empty-address/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/empty-address/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/empty-address/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/empty-address/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/empty-address/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0HDQE3/gdbus/empty-address/.dirs/runtime 1096s ok 1 /gdbus/empty-address 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unsupported-address/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unsupported-address/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/unsupported-address/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unsupported-address/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/unsupported-address/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unsupported-address/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unsupported-address/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unsupported-address/.dirs/runtime 1096s ok 2 /gdbus/unsupported-address 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/address-parsing/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/address-parsing/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/address-parsing/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/address-parsing/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/address-parsing/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/address-parsing/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/address-parsing/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0HDQE3/gdbus/address-parsing/.dirs/runtime 1096s ok 3 /gdbus/address-parsing 1096s ok - glib/gdbus-addresses.test 1096s # Running test: glib/logging.test 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unix-address/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unix-address/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/unix-address/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unix-address/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/unix-address/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unix-address/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unix-address/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0HDQE3/gdbus/unix-address/.dirs/runtime 1096s ok 4 /gdbus/unix-address 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/nonce-tcp-address/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/nonce-tcp-address/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/nonce-tcp-address/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/nonce-tcp-address/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/nonce-tcp-address/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/nonce-tcp-address/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/nonce-tcp-address/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0HDQE3/gdbus/nonce-tcp-address/.dirs/runtime 1096s ok 5 /gdbus/nonce-tcp-address 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/tcp-address/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/tcp-address/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/tcp-address/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/tcp-address/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/tcp-address/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/tcp-address/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/tcp-address/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0HDQE3/gdbus/tcp-address/.dirs/runtime 1096s ok 6 /gdbus/tcp-address 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/autolaunch-address/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/autolaunch-address/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/autolaunch-address/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/autolaunch-address/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/autolaunch-address/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/autolaunch-address/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/autolaunch-address/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0HDQE3/gdbus/autolaunch-address/.dirs/runtime 1096s ok 7 /gdbus/autolaunch-address 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/mixed-address/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/mixed-address/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/mixed-address/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/mixed-address/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/mixed-address/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/mixed-address/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/mixed-address/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0HDQE3/gdbus/mixed-address/.dirs/runtime 1096s ok 8 /gdbus/mixed-address 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/escape-address/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/escape-address/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/escape-address/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/escape-address/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0HDQE3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0HDQE3/gdbus/escape-address/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/escape-address/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0HDQE3/gdbus/escape-address/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0HDQE3/gdbus/escape-address/.dirs/runtime 1096s ok 9 /gdbus/escape-address 1096s # End of gdbus tests 1096s TAP version 14 1096s # random seed: R02Sd563d1b651276fd0793ef0bef4d2a9d2 1096s 1..20 1096s # Start of logging tests 1096s ok 1 /logging/default-handler 1096s ok 2 /logging/journald-handler 1096s ok 3 /logging/warnings 1096s ok 4 /logging/fatal-log-mask 1096s ok 5 /logging/always-fatal 1096s # bu-DEBUG: message 1096s # ba-DEBUG: message 1096s # ba-INFO: message 1096s ok 6 /logging/set-handler 1096s ok 7 /logging/print-handler 1096s ok 8 /logging/printerr-handler 1096s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1096s # The Log Message Handler 1096s # 1096s # The Good Fail Message Handler 1096s # 1096s ok 9 /logging/653052 1096s ok 10 /logging/gibberish 1096s # Start of default-handler tests 1096s # Start of subprocess tests 1096s # End of subprocess tests 1096s # End of default-handler tests 1096s # End of logging tests 1096s # Start of structured-logging tests 1096s ok 11 /structured-logging/no-state 1096s ok 12 /structured-logging/some-state 1096s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly. 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760 1096s ok 13 /structured-logging/recursion-overflow 1096s ok 14 /structured-logging/robustness 1096s ok 15 /structured-logging/roundtrip1 1096s ok 16 /structured-logging/roundtrip2 1096s ok 17 /structured-logging/roundtrip3 1096s ok 18 /structured-logging/variant1 1096s ok 19 /structured-logging/variant2 1096s ok 20 /structured-logging/set-writer-func-twice 1096s # End of structured-logging tests 1096s ok - glib/logging.test 1096s # Running test: glib/refcount.test 1096s TAP version 14 1096s # random seed: R02S3795e9ffeb9f4bfc58ee5face22a50e1 1096s 1..4 1096s # Start of refcount tests 1096s ok 1 /refcount/grefcount 1096s ok 2 /refcount/gatomicrefcount 1096s # Start of grefcount tests 1096s ok 3 /refcount/grefcount/saturation 1096s # End of grefcount tests 1096s # Start of gatomicrefcount tests 1096s ok 4 /refcount/gatomicrefcount/saturation 1096s # End of gatomicrefcount tests 1096s # End of refcount tests 1096s ok - glib/refcount.test 1096s # Running test: glib/autoptr-girepository.test 1096s TAP version 14 1096s # random seed: R02Sf6c552f46427c02ef8270a71fb1daed3 1096s 1..24 1096s # Start of autoptr tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/repository/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/repository/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/repository/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/repository/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/repository/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/repository/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/repository/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/repository/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 1 /autoptr/repository 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/typelib/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/typelib/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/typelib/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/typelib/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/typelib/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/typelib/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/typelib/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/typelib/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 2 /autoptr/typelib 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/base-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/base-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/base-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/base-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/base-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/base-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/base-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/base-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 3 /autoptr/base-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/arg-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/arg-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/arg-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/arg-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/arg-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/arg-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/arg-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/arg-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 4 /autoptr/arg-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callable-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callable-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/callable-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callable-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/callable-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callable-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callable-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callable-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 5 /autoptr/callable-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callback-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callback-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/callback-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callback-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/callback-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callback-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callback-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/callback-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 6 /autoptr/callback-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/constant-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/constant-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/constant-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/constant-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/constant-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/constant-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/constant-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/constant-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 7 /autoptr/constant-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/enum-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/enum-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/enum-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/enum-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/enum-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/enum-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/enum-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/enum-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 8 /autoptr/enum-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/field-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/field-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/field-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/field-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/field-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/field-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/field-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/field-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 9 /autoptr/field-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/flags-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/flags-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/flags-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/flags-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/flags-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/flags-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/flags-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/flags-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 10 /autoptr/flags-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/function-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/function-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/function-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/function-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/function-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/function-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/function-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/function-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 11 /autoptr/function-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/interface-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/interface-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/interface-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/interface-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/interface-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/interface-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/interface-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/interface-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 12 /autoptr/interface-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/object-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/object-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/object-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/object-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/object-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/object-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/object-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/object-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 13 /autoptr/object-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/property-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/property-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/property-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/property-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/property-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/property-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/property-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/property-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 14 /autoptr/property-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/registered-type-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/registered-type-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/registered-type-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/registered-type-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/registered-type-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/registered-type-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/registered-type-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/registered-type-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 15 /autoptr/registered-type-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/signal-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/signal-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/signal-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/signal-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/signal-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/signal-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/signal-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/signal-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 16 /autoptr/signal-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/struct-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/struct-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/struct-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/struct-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/struct-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/struct-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/struct-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/struct-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 17 /autoptr/struct-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/type-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/type-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/type-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/type-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/type-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/type-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/type-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/type-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 18 /autoptr/type-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/union-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/union-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/union-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/union-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/union-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/union-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/union-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/union-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 19 /autoptr/union-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/value-info/.dirs/home 1096s ok - glib/autoptr-girepository.test 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/value-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/value-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/value-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/value-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/value-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/value-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/value-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 20 /autoptr/value-info 1096s # Running test: glib/socket-address.test 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/vfunc-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/vfunc-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/vfunc-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/vfunc-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/autoptr/vfunc-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/vfunc-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/autoptr/vfunc-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/autoptr/vfunc-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 21 /autoptr/vfunc-info 1096s # End of autoptr tests 1096s # Start of auto tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/arg-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/arg-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/auto/arg-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/arg-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/auto/arg-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/arg-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/arg-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/auto/arg-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 22 /auto/arg-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/type-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/type-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/auto/type-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/type-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/auto/type-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/type-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/type-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/auto/type-info/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 23 /auto/type-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/function-invoker/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/function-invoker/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5LWUE3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_5LWUE3/auto/function-invoker/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/function-invoker/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5LWUE3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_5LWUE3/auto/function-invoker/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/function-invoker/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5LWUE3/auto/function-invoker/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5LWUE3/auto/function-invoker/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s ok 24 /auto/function-invoker 1096s # End of auto tests 1096s TAP version 14 1096s # random seed: R02S5837711c9d5016f8ee17b1b4ebf8147a 1096s 1..2 1096s # Start of socket tests 1096s # Start of address tests 1096s # Start of unix tests 1096s ok - glib/socket-address.test 1096s ok 1 /socket/address/unix/construct 1096s ok 2 /socket/address/unix/to-string 1096s # End of unix tests 1096s # End of address tests 1096s # End of socket tests 1096s # Running test: glib/timer.test 1096s TAP version 14 1096s # random seed: R02Sdce81d0d9d1d970c0a0feb39422d4c64 1096s 1..10 1096s # Start of timer tests 1096s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1096s ok 2 /timer/stop 1096s ok 3 /timer/continue 1096s ok 4 /timer/reset 1096s ok 5 /timer/is_active 1096s # End of timer tests 1096s # Start of timeval tests 1096s ok 6 /timeval/add 1096s ok 7 /timeval/from-iso8601 1096s ok 8 /timeval/to-iso8601 1096s # Start of to-iso8601 tests 1096s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 1096s # End of to-iso8601 tests 1096s # End of timeval tests 1096s # Start of usleep tests 1096s ok 10 /usleep/with-zero-wait 1096s # End of usleep tests 1096s ok - glib/timer.test 1096s # Running test: glib/rcbox.test 1096s TAP version 14 1096s # random seed: R02Sf4c945c17ca3e48578c23aa04829a1fb 1096s 1..8 1096s # Start of rcbox tests 1096s ok 1 /rcbox/new 1096s # global_point = 0xa5f4fa8 1096s ok 2 /rcbox/release-full 1096s # global_point_a = 0xa5f4fa8 1096s # global_point_b = 0xa5f5050 1096s ok 3 /rcbox/dup 1096s ok 4 /rcbox/alignment 1096s # End of rcbox tests 1096s # Start of atomic-rcbox tests 1096s ok 5 /atomic-rcbox/new 1096s # global_point = 0xa5f5050 1096s ok 6 /atomic-rcbox/release-full 1096s # global_point_a = 0xa5f5050 1096s # global_point_b = 0xa5f4fa8 1096s ok 7 /atomic-rcbox/dup 1096s ok 8 /atomic-rcbox/alignment 1096s # End of atomic-rcbox tests 1096s ok - glib/rcbox.test 1096s # Running test: glib/objects-refcount2.test 1096s TAP version 14 1096s # random seed: R02Se63fb39953d6bb90cfb630457d2291e2 1096s 1..1 1096s # Start of gobject tests 1096s # Start of refcount tests 1096s # init 0xf606ee8 1096s # 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # Executing: glib/objects-refcount2.test 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # Executing: glib/objects-refcount2.test 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # Executing: glib/objects-refcount2.test 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # dispose 0xf606ee8! 1109s # 1109s ok 1 /gobject/refcount/object-advanced 1109s # slow test /gobject/refcount/object-advanced executed in 12.38 secs 1109s # End of refcount tests 1109s # End of gobject tests 1109s ok - glib/objects-refcount2.test 1109s # Running test: glib/power-profile-monitor-portal.test 1109s TAP version 13 1109s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1109s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1109s 1..2 1109s ok - glib/power-profile-monitor-portal.test 1109s # Running test: glib/gdbus-serialization.test 1109s TAP version 14 1109s # random seed: R02S967e58309f5224d5174850363a6c2e3c 1109s 1..18 1109s # Start of gdbus tests 1109s # Start of message-serialize tests 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/basic/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/basic/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/basic/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/basic/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/basic/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/basic/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/basic/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/basic/.dirs/runtime 1109s ok 1 /gdbus/message-serialize/basic 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/complex/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/complex/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/complex/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/complex/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/complex/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/complex/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/complex/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/complex/.dirs/runtime 1109s ok 2 /gdbus/message-serialize/complex 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/invalid/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/invalid/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/invalid/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/invalid/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/invalid/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/invalid/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/invalid/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/invalid/.dirs/runtime 1109s ok 3 /gdbus/message-serialize/invalid 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/.dirs/runtime 1109s ok 4 /gdbus/message-serialize/header-checks 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/double-array/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/double-array/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/double-array/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/double-array/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/double-array/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/double-array/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/double-array/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/double-array/.dirs/runtime 1109s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1109s ok 5 /gdbus/message-serialize/double-array 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/empty-structure/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/empty-structure/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/empty-structure/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/empty-structure/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/empty-structure/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/empty-structure/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/empty-structure/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/empty-structure/.dirs/runtime 1109s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1109s ok 6 /gdbus/message-serialize/empty-structure 1109s # Start of header-checks tests 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/valid/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/valid/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/valid/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/valid/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/valid/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1109s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1109s ok 7 /gdbus/message-serialize/header-checks/valid 1109s # End of header-checks tests 1109s # End of message-serialize tests 1109s # Start of message-parse tests 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1109s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1109s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/non-signature-header/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/non-signature-header/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/non-signature-header/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/non-signature-header/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/non-signature-header/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/non-signature-header/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/non-signature-header/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/non-signature-header/.dirs/runtime 1109s ok 9 /gdbus/message-parse/non-signature-header 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-signature-header/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-signature-header/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-signature-header/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-signature-header/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-signature-header/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-signature-header/.dirs/runtime 1109s ok 10 /gdbus/message-parse/empty-signature-header 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/multiple-signature-header/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/multiple-signature-header/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/multiple-signature-header/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/multiple-signature-header/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/multiple-signature-header/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1109s ok 11 /gdbus/message-parse/multiple-signature-header 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/over-long-signature-header/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/over-long-signature-header/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/over-long-signature-header/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/over-long-signature-header/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/over-long-signature-header/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1109s ok 12 /gdbus/message-parse/over-long-signature-header 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-header-nesting/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-header-nesting/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-header-nesting/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-header-nesting/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-header-nesting/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1109s ok 13 /gdbus/message-parse/deep-header-nesting 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-body-nesting/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-body-nesting/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-body-nesting/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-body-nesting/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-body-nesting/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1109s ok - glib/gdbus-serialization.test 1109s # Running test: glib/gdbus-sasl.test 1109s ok - glib/gdbus-sasl.test 1109s # Running test: glib/atomic-c-17.test 1109s ok 14 /gdbus/message-parse/deep-body-nesting 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/truncated/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/truncated/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/truncated/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/truncated/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/truncated/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/truncated/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/truncated/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/truncated/.dirs/runtime 1109s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1109s ok 15 /gdbus/message-parse/truncated 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-structure/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-structure/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-structure/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-structure/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-structure/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-structure/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-structure/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/empty-structure/.dirs/runtime 1109s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1109s ok 16 /gdbus/message-parse/empty-structure 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/missing-header/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/missing-header/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/missing-header/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/missing-header/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/missing-header/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/missing-header/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/missing-header/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/missing-header/.dirs/runtime 1109s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1109s ok 17 /gdbus/message-parse/missing-header 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/invalid-header-type/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/invalid-header-type/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/invalid-header-type/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/invalid-header-type/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/invalid-header-type/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OIJTE3/gdbus/message-parse/invalid-header-type/.dirs/runtime 1109s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1109s ok 18 /gdbus/message-parse/invalid-header-type 1109s # End of message-parse tests 1109s # End of gdbus tests 1109s TAP version 14 1109s # random seed: R02S890f8bd967c6e01ec32a9f6bb792750b 1109s 1..1 1109s # Start of gdbus tests 1109s # Start of sasl tests 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_PF6SE3/gdbus/sasl/server/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_PF6SE3/gdbus/sasl/server/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_PF6SE3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_PF6SE3/gdbus/sasl/server/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_PF6SE3/gdbus/sasl/server/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_PF6SE3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_PF6SE3/gdbus/sasl/server/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_PF6SE3/gdbus/sasl/server/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_PF6SE3/gdbus/sasl/server/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_PF6SE3/gdbus/sasl/server/.dirs/runtime 1109s # New handshake: EXTERNAL with incorrect initial response 1109s # C:“AUTH EXTERNAL 30” 1109s # Expect: /^REJECTED.*$/ 1109s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1109s # New handshake: EXTERNAL without initial response, failing to authenticate 1109s # C:“AUTH EXTERNAL” 1109s # Expect: /^DATA$/ 1109s # S:“DATA” 1109s # C:“DATA 30” 1109s # Expect: /^REJECTED.*$/ 1109s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1109s # New handshake: EXTERNAL with initial response 1109s # C:“AUTH EXTERNAL 31303030” 1109s # Expect: /^OK [0-9a-f]+$/ 1109s # S:“OK 5029c9fe46374c490e8db37268f3ee01” 1109s # New handshake: EXTERNAL without initial response 1109s # C:“AUTH EXTERNAL” 1109s # Expect: /^DATA$/ 1109s # S:“DATA” 1109s # C:“DATA 31303030” 1109s # Expect: /^OK [0-9a-f]+$/ 1109s # S:“OK 5029c9fe46374c490e8db37268f3ee01” 1109s # New handshake: EXTERNAL with empty authorization identity 1109s # C:“AUTH EXTERNAL” 1109s # Expect: /^DATA$/ 1109s # S:“DATA” 1109s # C:“DATA” 1109s # Expect: /^OK [0-9a-f]+$/ 1109s # S:“OK 5029c9fe46374c490e8db37268f3ee01” 1109s # New handshake: EXTERNAL with empty authorization identity and whitespace 1109s # C:“AUTH EXTERNAL” 1109s # Expect: /^DATA$/ 1109s # S:“DATA” 1109s # C:“DATA ” 1109s # Expect: /^OK [0-9a-f]+$/ 1109s # S:“OK 5029c9fe46374c490e8db37268f3ee01” 1109s ok 1 /gdbus/sasl/server 1109s # End of sasl tests 1109s # End of gdbus tests 1109s TAP version 14 1109s # random seed: R02Sbd6adefa5a0ef066f2ff885bb09258a1 1109s 1..2 1109s # Start of atomic tests 1109s ok 1 /atomic/types 1109s ok 2 /atomic/threaded 1109s # End of atomic tests 1109s ok - glib/atomic-c-17.test 1109s # Running test: glib/application-command-line.test 1109s TAP version 14 1109s # random seed: R02Saef498f4d914ba3708c96b5767bde12f 1109s 1..1 1109s # Start of application-command-line tests 1109s ok 1 /application-command-line/basic-properties 1109s # End of application-command-line tests 1109s ok - glib/application-command-line.test 1109s # Running test: glib/enums.test 1109s TAP version 14 1109s # random seed: R02Sca3a3ae66b2e9e684390836f85300377 1109s 1..4 1109s # Start of enum tests 1109s ok 1 /enum/basic 1109s ok 2 /enum/define-type 1109s # End of enum tests 1109s # Start of flags tests 1109s ok 3 /flags/basic 1109s ok 4 /flags/define-type 1109s # End of flags tests 1109s ok - glib/enums.test 1109s # Running test: glib/network-address.test 1109s TAP version 14 1109s # random seed: R02Sc7c74113786ecae9e06b2aadd7c4d8dc 1109s 1..72 1109s # Start of network-address tests 1109s ok 1 /network-address/basic 1109s ok 2 /network-address/scope-id 1109s ok 3 /network-address/uri-scope-id 1109s ok 4 /network-address/to-string 1109s # Start of parse-host tests 1109s ok 5 /network-address/parse-host/0 1109s ok 6 /network-address/parse-host/1 1109s ok 7 /network-address/parse-host/2 1109s ok 8 /network-address/parse-host/3 1109s ok 9 /network-address/parse-host/4 1109s ok 10 /network-address/parse-host/5 1109s ok 11 /network-address/parse-host/6 1109s ok 12 /network-address/parse-host/7 1109s ok 13 /network-address/parse-host/8 1109s ok 14 /network-address/parse-host/9 1109s ok 15 /network-address/parse-host/10 1109s ok 16 /network-address/parse-host/11 1109s ok 17 /network-address/parse-host/12 1109s ok 18 /network-address/parse-host/13 1109s # End of parse-host tests 1109s # Start of parse-uri tests 1109s ok 19 /network-address/parse-uri/0 1109s ok 20 /network-address/parse-uri/1 1109s ok 21 /network-address/parse-uri/2 1109s ok 22 /network-address/parse-uri/3 1109s ok 23 /network-address/parse-uri/4 1109s ok 24 /network-address/parse-uri/5 1109s ok 25 /network-address/parse-uri/6 1109s ok 26 /network-address/parse-uri/7 1109s ok 27 /network-address/parse-uri/8 1109s ok 28 /network-address/parse-uri/9 1109s # End of parse-uri tests 1109s # Start of resolve-address tests 1109s # Input: 192.168.1.2 1109s ok 29 /network-address/resolve-address/0 1109s # Input: fe80::42 1109s ok 30 /network-address/resolve-address/1 1109s # Input: 192.168.1.2:80 1109s ok 31 /network-address/resolve-address/2 1109s # Input: [fe80::42] 1109s ok 32 /network-address/resolve-address/3 1109s # Input: [fe80::42]:80 1109s ok 33 /network-address/resolve-address/4 1109s # Input: 192.168.258 1109s ok 34 /network-address/resolve-address/5 1109s # Input: 192.11010306 1109s ok 35 /network-address/resolve-address/6 1109s # Input: 3232235778 1109s ok 36 /network-address/resolve-address/7 1109s # Input: 0300.0250.0001.0001 1109s ok 37 /network-address/resolve-address/8 1109s # Input: 0xC0.0xA8.0x01.0x02 1109s ok 38 /network-address/resolve-address/9 1109s # Input: 0xc0.0xa8.0x01.0x02 1109s ok 39 /network-address/resolve-address/10 1109s # Input: 0xc0a80102 1109s ok 40 /network-address/resolve-address/11 1109s # End of resolve-address tests 1109s # Start of loopback tests 1109s ok 41 /network-address/loopback/basic 1109s ok 42 /network-address/loopback/sync 1109s ok 43 /network-address/loopback/async 1109s # End of loopback tests 1109s # Start of localhost tests 1109s ok 44 /network-address/localhost/async 1109s ok 45 /network-address/localhost/sync 1109s # End of localhost tests 1109s # Start of happy-eyeballs tests 1110s ok 46 /network-address/happy-eyeballs/basic 1110s ok 47 /network-address/happy-eyeballs/parallel 1110s ok 48 /network-address/happy-eyeballs/slow-ipv4 1110s ok 49 /network-address/happy-eyeballs/slow-ipv6 1110s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1111s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1111s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1111s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1111s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1111s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1111s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1111s # /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. 1111s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1111s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1111s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1111s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1111s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1111s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1111s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1111s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1111s ok 57 /network-address/happy-eyeballs/both-error 1111s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1111s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1111s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1111s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1111s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1111s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1111s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1111s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1111s # End of happy-eyeballs tests 1111s # End of network-address tests 1111s # Start of gresolver tests 1111s # Start of resolve-address tests 1111s # Input: 192.168.1.2 1111s ok 61 /gresolver/resolve-address/0 1111s # Input: fe80::42 1111s ok 62 /gresolver/resolve-address/1 1111s # Input: 192.168.1.2:80 1111s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 1111s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1111s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1111s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1111s # Error: Error resolving “192.168.1.2:80”: Name or service not known 1111s ok 63 /gresolver/resolve-address/2 1111s # Input: [fe80::42] 1111s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 1111s # Error: Error resolving “[fe80::42]”: Name or service not known 1111s ok 64 /gresolver/resolve-address/3 1111s # Input: [fe80::42]:80 1111s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 1111s # Error: Error resolving “[fe80::42]:80”: Name or service not known 1111s ok 65 /gresolver/resolve-address/4 1111s # Input: 192.168.258 1111s # Error: Error resolving “192.168.258”: Name or service not known 1111s ok 66 /gresolver/resolve-address/5 1111s # Input: 192.11010306 1111s # Error: Error resolving “192.11010306”: Name or service not known 1111s ok 67 /gresolver/resolve-address/6 1111s # Input: 3232235778 1111s # Error: Error resolving “3232235778”: Name or service not known 1111s ok 68 /gresolver/resolve-address/7 1111s # Input: 0300.0250.0001.0001 1111s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 1111s ok 69 /gresolver/resolve-address/8 1111s # Input: 0xC0.0xA8.0x01.0x02 1111s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 1111s ok 70 /gresolver/resolve-address/9 1111s # Input: 0xc0.0xa8.0x01.0x02 1111s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 1111s ok 71 /gresolver/resolve-address/10 1111s # Input: 0xc0a80102 1111s # Error: Error resolving “0xc0a80102”: Name or service not known 1111s ok 72 /gresolver/resolve-address/11 1111s # End of resolve-address tests 1111s # End of gresolver tests 1111s ok - glib/network-address.test 1111s # Running test: glib/cxx-2b.test 1111s TAP version 14 1111s # random seed: R02S7280da14cb6e64ef337d15b02a156fd7 1111s 1..2 1111s # Start of gtask tests 1111s # 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. 1111s ok 1 /gtask/name 1111s # Start of name tests 1111s # 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. 1111s ok 2 /gtask/name/macro-wrapper 1111s # End of name tests 1111s # End of gtask tests 1111s ok - glib/cxx-2b.test 1111s # Running test: glib/type-flags.test 1111s TAP version 14 1111s # random seed: R02Sfa23083996dd5e2e5c51b02062583a70 1111s 1..4 1111s # Start of type tests 1111s # Start of flags tests 1111s ok 1 /type/flags/interface 1111s ok 2 /type/flags/final 1111s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1111s ok 3 /type/flags/deprecated 1111s # Start of final tests 1111s ok 4 /type/flags/final/instance-check 1111s # End of final tests 1111s # End of flags tests 1111s # End of type tests 1111s ok - glib/type-flags.test 1111s # Running test: glib/uri.test 1111s TAP version 14 1111s # random seed: R02Sbac15acc0a80892ca89ac4000a7dc580 1111s 1..24 1111s # Start of uri tests 1111s ok 1 /uri/file-to-uri 1111s ok 2 /uri/file-from-uri 1111s ok 3 /uri/file-roundtrip 1111s ok 4 /uri/list 1111s # Test 0: %2Babc %4F 1111s # Test 1: %2Babc %4F 1111s # Test 2: %00abc %4F 1111s # Test 3: /cursors/none.png 1111s # Test 4: /cursors%2fbad-subdir/none.png 1111s # Test 5: %0 1111s # Test 6: %ra 1111s # Test 7: %2r 1111s # Test 8: Timm Bäder 1111s # Test 9: (null) 1111s ok 5 /uri/unescape-string 1111s ok 6 /uri/unescape-segment 1111s # Test 0: abcdefgABCDEFG._~ 1111s # Test 1: :+ \\?# 1111s # Test 2: a+b:c 1111s # Test 3: a+b:c\303\234 1111s # Test 4: \374;\322 1111s # Test 5: \303\261\303( 1111s ok 7 /uri/escape-string 1111s ok 8 /uri/escape-bytes 1111s ok 9 /uri/scheme 1111s ok 10 /uri/build 1111s ok 11 /uri/split 1111s ok 12 /uri/is_valid 1111s ok 13 /uri/to-string 1111s ok 14 /uri/join 1111s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1111s # Combination 0 1111s # Combination 1 1111s # Combination 2 1111s # Combination 3 1111s # Combination 4 1111s # Combination 5 1111s # Combination 6 1111s # Combination 7 1111s # Combination 8 1111s # Combination 9 1111s # Combination 10 1111s # Combination 11 1111s # Combination 12 1111s # Combination 13 1111s # Combination 14 1111s # Combination 15 1111s # Combination 16 1111s # Combination 17 1111s # Combination 18 1111s # Combination 19 1111s # Combination 20 1111s # Combination 21 1111s # Combination 22 1111s # Combination 23 1111s # Combination 24 1111s # Combination 25 1111s # Combination 26 1111s # Combination 27 1111s # Combination 28 1111s # Combination 29 1111s # Combination 30 1111s # Combination 31 1111s # Combination 32 1111s # Combination 33 1111s # Combination 34 1111s # Combination 35 1111s # Combination 36 1111s # Combination 37 1111s # Combination 38 1111s # Combination 39 1111s # Combination 40 1111s # Combination 41 1111s # Combination 42 1111s # Combination 43 1111s # Combination 44 1111s # Combination 45 1111s # Combination 46 1111s # Combination 47 1111s # Combination 48 1111s # Combination 49 1111s # Combination 50 1111s # Combination 51 1111s # Combination 52 1111s # Combination 53 1111s # Combination 54 1111s # Combination 55 1111s # Combination 56 1111s # Combination 57 1111s # Combination 58 1111s # Combination 59 1111s # Combination 60 1111s # Combination 61 1111s # Combination 62 1111s # Combination 63 1111s # Combination 64 1111s # Combination 65 1111s # Combination 66 1111s # Combination 67 1111s # Combination 68 1111s # Combination 69 1111s # Combination 70 1111s # Combination 71 1111s # Combination 72 1111s # Combination 73 1111s # Combination 74 1111s # Combination 75 1111s # Combination 76 1111s # Combination 77 1111s # Combination 78 1111s # Combination 79 1111s # Combination 80 1111s # Combination 81 1111s # Combination 82 1111s # Combination 83 1111s # Combination 84 1111s # Combination 85 1111s # Combination 86 1111s # Combination 87 1111s # Combination 88 1111s # Combination 89 1111s # Combination 90 1111s # Combination 91 1111s # Combination 92 1111s # Combination 93 1111s # Combination 94 1111s # Combination 95 1111s # Combination 96 1111s # Combination 97 1111s # Combination 98 1111s # Combination 99 1111s # Combination 100 1111s # Combination 101 1111s # Combination 102 1111s # Combination 103 1111s # Combination 104 1111s # Combination 105 1111s # Combination 106 1111s # Combination 107 1111s # Combination 108 1111s # Combination 109 1111s # Combination 110 1111s # Combination 111 1111s # Combination 112 1111s # Combination 113 1111s # Combination 114 1111s # Combination 115 1111s # Combination 116 1111s # Combination 117 1111s # Combination 118 1111s # Combination 119 1111s # Combination 120 1111s # Combination 121 1111s # Combination 122 1111s # Combination 123 1111s # Combination 124 1111s # Combination 125 1111s # Combination 126 1111s # Combination 127 1111s # Combination 128 1111s # Combination 129 1111s # Combination 130 1111s # Combination 131 1111s # Combination 132 1111s # Combination 133 1111s # Combination 134 1111s # Combination 135 1111s # Combination 136 1111s # Combination 137 1111s # Combination 138 1111s # Combination 139 1111s # Combination 140 1111s # Combination 141 1111s # Combination 142 1111s # Combination 143 1111s # Combination 144 1111s # Combination 145 1111s # Combination 146 1111s # Combination 147 1111s # Combination 148 1111s # Combination 149 1111s # Combination 150 1111s # Combination 151 1111s # Combination 152 1111s # Combination 153 1111s # Combination 154 1111s # Combination 155 1111s # Combination 156 1111s # Combination 157 1111s # Combination 158 1111s # Combination 159 1111s # Combination 160 1111s # Combination 161 1111s # Combination 162 1111s # Combination 163 1111s # Combination 164 1111s # Combination 165 1111s # Combination 166 1111s # Combination 167 1111s # Combination 168 1111s # Combination 169 1111s # Combination 170 1111s # Combination 171 1111s # Combination 172 1111s # Combination 173 1111s # Combination 174 1111s # Combination 175 1111s # Combination 176 1111s ok - glib/uri.test 1111s # Combination 177 1111s # Combination 178 1111s # Combination 179 1111s # Combination 180 1111s # Combination 181 1111s # Combination 182 1111s # Combination 183 1111s # Combination 184 1111s # Combination 185 1111s # Combination 186 1111s # Combination 187 1111s # Combination 188 1111s # Combination 189 1111s # Combination 190 1111s # Combination 191 1111s # Combination 192 1111s # Combination 193 1111s # Combination 194 1111s # Combination 195 1111s # Combination 196 1111s # Combination 197 1111s # Combination 198 1111s # Combination 199 1111s # Combination 200 1111s # Combination 201 1111s # Combination 202 1111s # Combination 203 1111s # Combination 204 1111s # Combination 205 1111s # Combination 206 1111s # Combination 207 1111s # Combination 208 1111s # Combination 209 1111s # Combination 210 1111s # Combination 211 1111s # Combination 212 1111s # Combination 213 1111s # Combination 214 1111s # Combination 215 1111s # Combination 216 1111s # Combination 217 1111s # Combination 218 1111s # Combination 219 1111s # Combination 220 1111s # Combination 221 1111s # Combination 222 1111s # Combination 223 1111s # Combination 224 1111s # Combination 225 1111s # Combination 226 1111s # Combination 227 1111s # Combination 228 1111s # Combination 229 1111s # Combination 230 1111s # Combination 231 1111s # Combination 232 1111s # Combination 233 1111s # Combination 234 1111s # Combination 235 1111s # Combination 236 1111s # Combination 237 1111s # Combination 238 1111s # Combination 239 1111s # Combination 240 1111s # Combination 241 1111s # Combination 242 1111s # Combination 243 1111s # Combination 244 1111s # Combination 245 1111s # Combination 246 1111s # Combination 247 1111s # Combination 248 1111s # Combination 249 1111s # Combination 250 1111s # Combination 251 1111s # Combination 252 1111s # Combination 253 1111s # Combination 254 1111s # Combination 255 1111s ok 15 /uri/join-split-round-trip 1111s ok 16 /uri/normalize 1111s # Start of unescape-bytes tests 1111s # Test 0: %00%00 1111s # Test 1: /cursors/none.png 1111s # Test 2: /cursors%2fbad-subdir/none.png 1111s # Test 3: %% 1111s # Test 4: % 1111s ok 17 /uri/unescape-bytes/nul-terminated 1111s # Running test: glib/gi-inspect-typelib.py.test 1111s # Test 0: %00%00 1111s # Test 1: /cursors/none.png 1111s # Test 2: /cursors%2fbad-subdir/none.png 1111s # Test 3: %% 1111s # Test 4: % 1111s ok 18 /uri/unescape-bytes/length 1111s # End of unescape-bytes tests 1111s # Start of parsing tests 1111s # Test 0: foo: 1111s # Test 1: file:/dev/null 1111s # Test 2: file:///dev/null 1111s # Test 3: ftp://user@host/path 1111s # Test 4: ftp://user@host:9999/path 1111s # Test 5: ftp://user:password@host/path 1111s # Test 6: ftp://user:password@host:9999/path 1111s # Test 7: ftp://user:password@host 1111s # Test 8: http://us%65r@host 1111s # Test 9: http://us%40r@host 1111s # Test 10: http://us%3ar@host 1111s # Test 11: http://us%2fr@host 1111s # Test 12: http://us%3fr@host 1111s # Test 13: http://host?query 1111s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1111s # 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 1111s # Test 16: http://space/%20 1111s # Test 17: http://delims/%3C%3E%23%25%22 1111s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1111s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1111s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1111s # Test 21: http://[3ffe:2a00:100:7031::1] 1111s # Test 22: http://[1080::8:800:200C:417A]/foo 1111s # Test 23: http://[::192.9.5.5]/ipng 1111s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1111s # Test 25: http://[2010:836B:4179::836B:4179] 1111s # Test 26: http://host/path with spaces 1111s # Test 27: http://host/path 1111s # Test 28: http://host/path 1111s # Test 29: http://host 1111s # Test 30: http://host:999 1111s # Test 31: http://host/pa 1111s # th 1111s # Test 32: http: 1111s # //host/path 1111s # Test 33: http:// host/path 1111s # Test 34: http://host/path? 1111s # Test 35: http://host/path# 1111s # Test 36: http://host/path% 1111s # Test 37: http://h%ost/path 1111s # Test 38: http://host/path%% 1111s # Test 39: http://host/path%%% 1111s # Test 40: http://host/path%/x/ 1111s # Test 41: http://host/path%0x/ 1111s # Test 42: http://host/path%ax 1111s # Test 43: http://host/päth/ 1111s # Test 44: HTTP://////////////// 1111s # Test 45: http://@host 1111s # Test 46: http://:@host 1111s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1111s # Test 48: http://example.com/.. 1111s # Test 49: foo0://host/path 1111s # Test 50: f0.o://host/path 1111s # Test 51: http++://host/path 1111s # Test 52: http-ish://host/path 1111s # Test 53: http://[fe80::dead:beef%]/ 1111s # Test 54: http://[fe80::dead:beef%em1]/ 1111s # Test 55: http://[fe80::dead:beef%em1]/ 1111s # Test 56: http://[fe80::dead:beef%25em1]/ 1111s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1111s # Test 58: http://[fe80::dead:beef%25em%31]/ 1111s # Test 59: http://[fe80::dead:beef%10]/ 1111s # Test 60: http://[fe80::dead:beef%10]/ 1111s # Test 61: http://[fe80::dead:beef%25]/ 1111s # Test 62: http://[fe80::dead:beef%25]/ 1111s # Test 63: http://[192.168.0.1%25em1]/ 1111s # Test 64: http://[fe80::dead:beef%2em1]/ 1111s # Test 65: http://[fe80::dead:beef%2em1]/ 1111s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1111s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1111s # Test 68: http://xn--mixed-üp/ 1111s # Test 69: data:./// 1111s # Test 70: data:/.// 1111s ok 19 /uri/parsing/absolute 1111s ok 20 /uri/parsing/relative 1111s # End of parsing tests 1111s # Start of iter-params tests 1111s # URI 0: p1=foo&p2=bar;p3=baz 1111s # URI 1: p1=foo&p2=bar 1111s # URI 2: p1=foo&&P1=bar 1111s # URI 3: %00=foo 1111s # URI 4: p1=%00 1111s # URI 5: p1=foo&p1=bar 1111s # URI 6: p1=foo&P1=bar 1111s # URI 7: =% 1111s # URI 8: = 1111s # URI 9: foo 1111s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1111s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1111s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1111s ok 21 /uri/iter-params/nul-terminated 1111s # URI 0: p1=foo&p2=bar;p3=baz 1111s # URI 1: p1=foo&p2=bar 1111s # URI 2: p1=foo&&P1=bar 1111s # URI 3: %00=foo 1111s # URI 4: p1=%00 1111s # URI 5: p1=foo&p1=bar 1111s # URI 6: p1=foo&P1=bar 1111s # URI 7: =% 1111s # URI 8: = 1111s # URI 9: foo 1111s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1111s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1111s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1111s ok 22 /uri/iter-params/length 1111s # End of iter-params tests 1111s # Start of parse-params tests 1111s # URI 0: p1=foo&p2=bar;p3=baz 1111s # URI 1: p1=foo&p2=bar 1111s # URI 2: p1=foo&&P1=bar 1111s # URI 3: %00=foo 1111s # URI 4: p1=%00 1111s # URI 5: p1=foo&p1=bar 1111s # URI 6: p1=foo&P1=bar 1111s # URI 7: =% 1111s # URI 8: = 1111s # URI 9: foo 1111s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1111s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1111s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1111s ok 23 /uri/parse-params/nul-terminated 1111s # URI 0: p1=foo&p2=bar;p3=baz 1111s # URI 1: p1=foo&p2=bar 1111s # URI 2: p1=foo&&P1=bar 1111s # URI 3: %00=foo 1111s # URI 4: p1=%00 1111s # URI 5: p1=foo&p1=bar 1111s # URI 6: p1=foo&P1=bar 1111s # URI 7: =% 1111s # URI 8: = 1111s # URI 9: foo 1111s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1111s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1111s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1111s ok 24 /uri/parse-params/length 1111s # End of parse-params tests 1111s # End of uri tests 1111s TAP version 13 1111s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 1111s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1111s # tmpdir: /tmp/tmp3a1l6qd3 1111s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 1111s # Return code: 0 1111s # Output: 1111s # Usage: 1111s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 1111s # 1111s # Help Options: 1111s # -h, --help Show help options 1111s # 1111s # Application Options: 1111s # --typelib-version=VERSION Typelib version to inspect 1111s # --print-shlibs List the shared libraries the typelib requires 1111s # --print-typelibs List other typelibs the inspected typelib requires 1111s # Error: 1111s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 1111s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1111s # tmpdir: /tmp/tmp9myugy38 1111s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 1111s # Return code: 1 1111s # Output: 1111s # 1111s # Error: 1111s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 1111s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 1111s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1111s # tmpdir: /tmp/tmps76dv0kl 1111s # Running: ['/usr/bin/gi-inspect-typelib'] 1111s # Return code: 1 1111s # Output: 1111s # 1111s # Error: 1111s # Please specify exactly one namespace 1111s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 1111s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1111s # tmpdir: /tmp/tmpfi6s4l9r 1111s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1111s # Return code: 0 1111s # Output: 1111s # shlib: libgobject-2.0.so.0 1111s # shlib: libglib-2.0.so.0 1111s # Error: 1111s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 1111s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1111s # tmpdir: /tmp/tmplmwwuu2w 1111s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 1111s # Return code: 0 1111s # Output: 1111s # 1111s # Error: 1111s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 1111s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1111s # tmpdir: /tmp/tmpjoy7gxw3 1111s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1111s # Return code: 0 1111s # Output: 1111s # shlib: libgobject-2.0.so.0 1111s # shlib: libglib-2.0.so.0 1111s # Error: 1111s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 1111s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1111s # tmpdir: /tmp/tmp8nixa_rv 1111s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1111s # Return code: 0 1111s # Output: 1111s # shlib: libgobject-2.0.so.0 1111s # Error: 1111s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 1111s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1111s # tmpdir: /tmp/tmpnj471__8 1111s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 1111s # Return code: 0 1111s # Output: 1111s # typelib: GLib-2.0 1111s # Error: 1111s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 1111s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1111s # tmpdir: /tmp/tmpev2fihcj 1111s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1111s # Return code: 0 1111s # Output: 1111s # shlib: libgobject-2.0.so.0 1111s # typelib: GLib-2.0 1111s # Error: 1111s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 1111s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1111s # tmpdir: /tmp/tmpdude81nr 1111s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1111s # Return code: 0 1111s # Output: 1111s # shlib: libgio-2.0.so.0 1111s # Error: 1111s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 1111s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1111s # tmpdir: /tmp/tmpcegyrdc7 1111s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 1111s # Return code: 0 1111s # Output: 1111s # typelib: GObject-2.0 1111s # typelib: GLib-2.0 1111s # typelib: GModule-2.0 1111s # Error: 1111s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 1111s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1111s # tmpdir: /tmp/tmpv_y26hmh 1111s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1111s # Return code: 0 1111s # Output: 1111s # shlib: libgio-2.0.so.0 1111s # typelib: GObject-2.0 1111s # typelib: GLib-2.0 1111s # typelib: GModule-2.0 1111s # Error: 1111s 1..12 1111s ok - glib/gi-inspect-typelib.py.test 1111s # Running test: glib/cxx-98.test 1111s TAP version 14 1111s # random seed: R02S509d2bfc25895cb9d95bb85f1fe19d18 1111s 1..2 1111s # Start of gtask tests 1111s # 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. 1111s ok 1 /gtask/name 1111s # Start of name tests 1111s # 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. 1111s ok 2 /gtask/name/macro-wrapper 1111s # End of name tests 1111s # End of gtask tests 1111s ok - glib/cxx-98.test 1111s # Running test: glib/unicode.test 1111s TAP version 14 1111s # random seed: R02S53cd009bf64362d4375d98574bec005a 1111s 1..39 1111s # Start of unicode tests 1111s ok 1 /unicode/alnum 1111s ok 2 /unicode/alpha 1111s ok 3 /unicode/break-type 1111s ok 4 /unicode/canonical-decomposition 1111s ok 5 /unicode/casefold 1111s # Cannot set locale to lt_LT, skipping 1111s # Cannot set locale to lt_LT, skipping 1111s # Cannot set locale to lt_LT, skipping 1111s # Cannot set locale to lt_LT, skipping 1111s # Cannot set locale to lt_LT, skipping 1111s # Cannot set locale to lt_LT, skipping 1111s # Cannot set locale to lt_LT, skipping 1111s # Cannot set locale to lt_LT, skipping 1111s # Cannot set locale to lt_LT, skipping 1111s # Cannot set locale to lt_LT, skipping 1111s # Cannot set locale to lt_LT, skipping 1111s ok 6 /unicode/casemap_and_casefold 1111s ok 7 /unicode/cases 1111s ok 8 /unicode/character-type 1111s ok 9 /unicode/cntrl 1111s ok 10 /unicode/combining-class 1111s # Composing U+000041 and U+000042; expecting U+000000 1111s # Composing U+000041 and U+000000; expecting U+000000 1111s # Composing U+000066 and U+000069; expecting U+000000 1111s # Composing U+000308 and U+000301; expecting U+000000 1111s # Composing U+000f71 and U+000f72; expecting U+000000 1111s # Composing U+00212b and U+000000; expecting U+000000 1111s # Composing U+0000c5 and U+000000; expecting U+000000 1111s # Composing U+002126 and U+000000; expecting U+000000 1111s # Composing U+0003a9 and U+000000; expecting U+000000 1111s # Composing U+000041 and U+00030a; expecting U+0000c5 1111s # Composing U+00006f and U+000302; expecting U+0000f4 1111s # Composing U+001e63 and U+000307; expecting U+001e69 1111s # Composing U+000073 and U+000323; expecting U+001e63 1111s # Composing U+000064 and U+000307; expecting U+001e0b 1111s # Composing U+000064 and U+000323; expecting U+001e0d 1111s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 1111s # Composing U+001111 and U+001171; expecting U+00d4cc 1111s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 1111s # Composing U+00110e and U+001173; expecting U+00ce20 1111s # Composing U+001100 and U+001160; expecting U+000000 1111s # Composing U+001100 and U+001177; expecting U+000000 1111s # Composing U+00abff and U+0011b6; expecting U+000000 1111s # Composing U+00d7a5 and U+0011b6; expecting U+000000 1111s # Composing U+00ac01 and U+0011b6; expecting U+000000 1111s # Composing U+00d4cc and U+0011a6; expecting U+000000 1111s # Composing U+00d4cc and U+0011c4; expecting U+000000 1111s # Composing U+01611e and U+01611e; expecting U+016121 1111s # Composing U+01611e and U+01611f; expecting U+016123 1111s # Composing U+0000f6 and U+000304; expecting U+00022b 1111s # Composing U+000b47 and U+000b57; expecting U+000b4c 1111s # Composing U+0000a0 and U+000b57; expecting U+000000 1111s # Composing U+016e00 and U+00030a; expecting U+000000 1111s # Composing U+00212b and U+016e00; expecting U+000000 1111s # Composing U+001e63 and U+000306; expecting U+000000 1111s # Composing U+001e63 and U+000304; expecting U+000000 1111s # Composing U+001e63 and U+000b57; expecting U+000000 1111s # Composing U+001e63 and U+000000; expecting U+000000 1111s # Composing U+001e63 and U+0113c2; expecting U+000000 1111s # Composing U+001f01 and U+0113c2; expecting U+000000 1111s # Composing U+00006e and U+000302; expecting U+000000 1111s # Composing U+001e63 and U+01611f; expecting U+000000 1111s # Composing U+01138e and U+0113b8; expecting U+000000 1111s # Composing U+01611e and U+000000; expecting U+000000 1111s # Composing U+000000 and U+01611f; expecting U+000000 1111s # Composing U+011390 and U+0113c2; expecting U+000000 1111s ok 11 /unicode/compose 1111s ok 12 /unicode/decompose 1111s ok 13 /unicode/decompose-tail 1111s ok 14 /unicode/defined 1111s ok 15 /unicode/digit 1111s ok 16 /unicode/digit-value 1111s # Fully decomposing U+000041; expecting 1 codepoints 1111s # Fully decomposing U+00fb01; expecting 1 codepoints 1111s # Fully decomposing U+00212b; expecting 2 codepoints 1111s # Fully decomposing U+002126; expecting 1 codepoints 1111s # Fully decomposing U+000344; expecting 2 codepoints 1111s # Fully decomposing U+000f73; expecting 2 codepoints 1111s # Fully decomposing U+0000c5; expecting 2 codepoints 1111s # Fully decomposing U+0000f4; expecting 2 codepoints 1111s # Fully decomposing U+001e69; expecting 3 codepoints 1111s # Fully decomposing U+001e63; expecting 2 codepoints 1111s # Fully decomposing U+001e0b; expecting 2 codepoints 1111s # Fully decomposing U+001e0d; expecting 2 codepoints 1111s # Fully decomposing U+00d4db; expecting 3 codepoints 1111s # Fully decomposing U+00d4cc; expecting 2 codepoints 1111s # Fully decomposing U+00ce31; expecting 3 codepoints 1111s # Fully decomposing U+00ce20; expecting 2 codepoints 1111s ok 17 /unicode/fully-decompose-canonical 1111s ok 18 /unicode/fully-decompose-len 1111s ok 19 /unicode/normalization 1111s ok 20 /unicode/graph 1111s # Testing script Zyyy (code 1517910393) 1111s # Testing script Zinh (code 1516858984) 1111s # Testing script Zmth (code 1517122664) 1111s # Testing script Arab (code 1098015074) 1111s # Testing script Armn (code 1098018158) 1111s # Testing script Beng (code 1113943655) 1111s # Testing script Bopo (code 1114599535) 1111s # Testing script Cher (code 1130915186) 1111s # Testing script Copt (code 1131376756) 1111s # Testing script Cyrl (code 1132032620) 1111s # Testing script Dsrt (code 1148416628) 1111s # Testing script Deva (code 1147500129) 1111s # Testing script Ethi (code 1165256809) 1111s # Testing script Geor (code 1197830002) 1111s # Testing script Goth (code 1198486632) 1111s # Testing script Grek (code 1198679403) 1111s # Testing script Gujr (code 1198877298) 1111s # Testing script Guru (code 1198879349) 1111s # Testing script Hani (code 1214344809) 1111s # Testing script Hang (code 1214344807) 1111s # Testing script Hebr (code 1214603890) 1111s # Testing script Hira (code 1214870113) 1111s # Testing script Knda (code 1265525857) 1111s # Testing script Kana (code 1264676449) 1111s # Testing script Khmr (code 1265134962) 1111s # Testing script Laoo (code 1281453935) 1111s # Testing script Latn (code 1281455214) 1111s # Testing script Mlym (code 1298954605) 1111s # Testing script Mong (code 1299148391) 1111s # Testing script Mymr (code 1299803506) 1111s # Testing script Ogam (code 1332175213) 1111s # Testing script Ital (code 1232363884) 1111s # Testing script Orya (code 1332902241) 1111s # Testing script Runr (code 1383427698) 1111s # Testing script Sinh (code 1399418472) 1111s # Testing script Syrc (code 1400468067) 1111s # Testing script Taml (code 1415671148) 1111s # Testing script Telu (code 1415933045) 1111s # Testing script Thaa (code 1416126817) 1111s # Testing script Thai (code 1416126825) 1111s # Testing script Tibt (code 1416192628) 1111s # Testing script Cans (code 1130458739) 1111s # Testing script Yiii (code 1500080489) 1111s # Testing script Tglg (code 1416064103) 1111s # Testing script Hano (code 1214344815) 1111s # Testing script Buhd (code 1114990692) 1111s # Testing script Tagb (code 1415669602) 1111s # Testing script Brai (code 1114792297) 1111s # Testing script Cprt (code 1131442804) 1111s # Testing script Limb (code 1281977698) 1111s # Testing script Osma (code 1332964705) 1111s # Testing script Shaw (code 1399349623) 1111s # Testing script Linb (code 1281977954) 1111s # Testing script Tale (code 1415670885) 1111s # Testing script Ugar (code 1432838514) 1111s # Testing script Talu (code 1415670901) 1111s # Testing script Bugi (code 1114990441) 1111s # Testing script Glag (code 1198285159) 1111s # Testing script Tfng (code 1415999079) 1111s # Testing script Sylo (code 1400466543) 1111s # Testing script Xpeo (code 1483761007) 1111s # Testing script Khar (code 1265131890) 1111s # Testing script Zzzz (code 1517976186) 1111s # Testing script Bali (code 1113681001) 1111s # Testing script Xsux (code 1483961720) 1111s # Testing script Phnx (code 1349021304) 1111s # Testing script Phag (code 1349017959) 1111s # Testing script Nkoo (code 1315663727) 1111s # Testing script Kali (code 1264675945) 1111s # Testing script Lepc (code 1281716323) 1111s # Testing script Rjng (code 1382706791) 1111s # Testing script Sund (code 1400204900) 1111s # Testing script Saur (code 1398895986) 1111s # Testing script Cham (code 1130914157) 1111s # Testing script Olck (code 1332503403) 1111s # Testing script Vaii (code 1449224553) 1111s # Testing script Cari (code 1130459753) 1111s # Testing script Lyci (code 1283023721) 1111s # Testing script Lydi (code 1283023977) 1111s # Testing script Avst (code 1098281844) 1111s # Testing script Bamu (code 1113681269) 1111s # Testing script Egyp (code 1164409200) 1111s # Testing script Armi (code 1098018153) 1111s # Testing script Phli (code 1349020777) 1111s # Testing script Prti (code 1349678185) 1111s # Testing script Java (code 1247901281) 1111s # Testing script Kthi (code 1265920105) 1111s # Testing script Lisu (code 1281979253) 1111s # Testing script Mtei (code 1299473769) 1111s # Testing script Sarb (code 1398895202) 1111s # Testing script Orkh (code 1332898664) 1111s # Testing script Samr (code 1398893938) 1111s # Testing script Lana (code 1281453665) 1111s # Testing script Tavt (code 1415673460) 1111s # Testing script Batk (code 1113683051) 1111s # Testing script Brah (code 1114792296) 1111s # Testing script Mand (code 1298230884) 1111s # Testing script Cakm (code 1130457965) 1111s # Testing script Merc (code 1298494051) 1111s # Testing script Mero (code 1298494063) 1111s # Testing script Plrd (code 1349284452) 1111s # Testing script Shrd (code 1399353956) 1111s # Testing script Sora (code 1399812705) 1111s # Testing script Takr (code 1415670642) 1111s # Testing script Bass (code 1113682803) 1111s # Testing script Aghb (code 1097295970) 1111s # Testing script Dupl (code 1148547180) 1111s # Testing script Elba (code 1164730977) 1111s # Testing script Gran (code 1198678382) 1111s # Testing script Khoj (code 1265135466) 1111s # Testing script Sind (code 1399418468) 1111s # Testing script Lina (code 1281977953) 1111s # Testing script Mahj (code 1298229354) 1111s # Testing script Mani (code 1298230889) 1111s # Testing script Mend (code 1298493028) 1111s # Testing script Modi (code 1299145833) 1111s # Testing script Mroo (code 1299345263) 1111s # Testing script Nbat (code 1315070324) 1111s # Testing script Narb (code 1315009122) 1111s # Testing script Perm (code 1348825709) 1111s # Testing script Hmng (code 1215131239) 1111s # Testing script Palm (code 1348562029) 1111s # Testing script Pauc (code 1348564323) 1111s # Testing script Phlp (code 1349020784) 1111s # Testing script Sidd (code 1399415908) 1111s # Testing script Tirh (code 1416196712) 1111s # Testing script Wara (code 1466004065) 1111s # Testing script Ahom (code 1097363309) 1111s # Testing script Hluw (code 1215067511) 1111s # Testing script Hatr (code 1214346354) 1111s # Testing script Mult (code 1299541108) 1111s # Testing script Hung (code 1215655527) 1111s # Testing script Sgnw (code 1399287415) 1111s # Testing script Adlm (code 1097100397) 1111s # Testing script Bhks (code 1114139507) 1111s # Testing script Marc (code 1298231907) 1111s # Testing script Newa (code 1315272545) 1111s # Testing script Osge (code 1332963173) 1111s # Testing script Tang (code 1415671399) 1111s # Testing script Gonm (code 1198485101) 1111s # Testing script Nshu (code 1316186229) 1111s # Testing script Soyo (code 1399814511) 1111s # Testing script Zanb (code 1516334690) 1111s # Testing script Dogr (code 1148151666) 1111s # Testing script Gong (code 1198485095) 1111s # Testing script Rohg (code 1383032935) 1111s # Testing script Maka (code 1298230113) 1111s # Testing script Medf (code 1298490470) 1111s # Testing script Sogo (code 1399809903) 1111s # Testing script Sogd (code 1399809892) 1111s # Testing script Elym (code 1164736877) 1111s # Testing script Nand (code 1315008100) 1111s # Testing script Hmnp (code 1215131248) 1111s # Testing script Wcho (code 1466132591) 1111s # Testing script Chrs (code 1130918515) 1111s # Testing script Diak (code 1147756907) 1111s # Testing script Kits (code 1265202291) 1111s # Testing script Yezi (code 1499822697) 1111s # Testing script Cpmn (code 1131441518) 1111s # Testing script Ougr (code 1333094258) 1111s # Testing script Tnsa (code 1416524641) 1111s # Testing script Toto (code 1416590447) 1111s # Testing script Vith (code 1449751656) 1111s # Testing script Kawi (code 1264678761) 1111s # Testing script Nagm (code 1315006317) 1111s # Testing script Todr (code 1416586354) 1111s # Testing script Gara (code 1197568609) 1111s # Testing script Tutg (code 1416983655) 1111s # Testing script Sunu (code 1400204917) 1111s # Testing script Gukh (code 1198877544) 1111s # Testing script Krai (code 1265787241) 1111s # Testing script Onao (code 1332633967) 1111s ok 21 /unicode/iso15924 1111s ok 22 /unicode/lower 1111s ok 23 /unicode/mark 1111s ok 24 /unicode/mirror 1111s ok 25 /unicode/print 1111s ok 26 /unicode/punctuation 1111s ok 27 /unicode/script 1111s ok 28 /unicode/space 1111s ok 29 /unicode/strdown 1111s ok 30 /unicode/strup 1111s ok 31 /unicode/turkish-strupdown 1111s ok 32 /unicode/title 1111s ok 33 /unicode/upper 1111s ok 34 /unicode/validate 1111s ok 35 /unicode/wide 1111s ok 36 /unicode/xdigit 1111s ok 37 /unicode/xdigit-value 1111s ok 38 /unicode/zero-width 1111s ok 39 /unicode/normalize 1111s # End of unicode tests 1111s ok - glib/unicode.test 1111s # Running test: glib/volumemonitor.test 1111s TAP version 14 1111s # random seed: R02S6107265601da6445fa580d859865ea4e 1111s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1111s 1..3 1111s # Start of volumemonitor tests 1111s ok 1 /volumemonitor/connected_drives 1111s ok 2 /volumemonitor/volumes 1111s ok 3 /volumemonitor/mounts 1111s # End of volumemonitor tests 1111s ok - glib/volumemonitor.test 1111s # Running test: glib/performance-threaded.test 1111s Running test "liststore-is-a" 1112s 6835 runs, min/avg/max = 0.142/0.145/0.395 ms 1112s Running test "liststore-interface-peek" 1113s # Executing: glib/performance-threaded.test 1114s 8895 runs, min/avg/max = 0.109/0.112/0.370 ms 1114s Running test "liststore-interface-peek-same" 1114s 8904 runs, min/avg/max = 0.109/0.112/0.545 ms 1114s ok - glib/performance-threaded.test 1114s # Running test: glib/ifaceproperties.test 1114s TAP version 14 1114s # random seed: R02Se8df52ff4266f4cc62c682a92411668c 1114s 1..7 1114s # Start of interface tests 1114s # Start of properties tests 1114s ok 1 /interface/properties/set 1114s ok 2 /interface/properties/notify 1114s ok 3 /interface/properties/find-overridden 1114s ok 4 /interface/properties/list-overridden 1114s ok 5 /interface/properties/find-interface 1114s ok 6 /interface/properties/list-interface 1114s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1114s ok 7 /interface/properties/not-overridden 1114s # End of properties tests 1114s # End of interface tests 1114s ok - glib/ifaceproperties.test 1114s # Running test: glib/spawn-singlethread.test 1114s TAP version 14 1114s # random seed: R02S367a9f4809adda1b4f715067d7159a57 1114s 1..9 1114s # Start of gthread tests 1114s ok 1 /gthread/spawn-single-sync 1114s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1114s ok 2 /gthread/spawn-stderr-socket 1114s ok 3 /gthread/spawn-single-async 1114s # thread 1 1114s ok - glib/spawn-singlethread.test 1114s # Running test: glib/include.test 1114s ok - glib/include.test 1114s # Running test: glib/gdbus-connection-slow.test 1114s # thread 1 1114s ok 4 /gthread/spawn-single-async-with-fds 1114s ok 5 /gthread/spawn-async-with-invalid-fds 1114s ok 6 /gthread/spawn-script 1114s ok 7 /gthread/spawn-posix-spawn 1114s # Start of spawn tests 1114s ok 8 /gthread/spawn/nonexistent 1114s # FD map: 1114s # • 5 → 15 1114s # • 6 → 16 1114s # • 7 → 17 1114s # • 8 → 18 1114s # • 9 → 19 1114s # • 10 → 20 1114s # • 11 → 21 1114s # • 12 → 22 1114s # • 13 → 23 1114s # • 3 → 13 1114s ok 9 /gthread/spawn/fd-assignment-clash 1114s # End of spawn tests 1114s # End of gthread tests 1114s TAP version 14 1114s # random seed: R02Sdfe609f1966f11e56bc5e6ac67cefbe7 1114s 1..1 1114s # Start of include tests 1114s ok 1 /include/rwlock 1114s # End of include tests 1114s TAP version 14 1114s # random seed: R02S103e777c2c7c3228d075cce56a5a2523 1114s 1..2 1114s # Start of gdbus tests 1114s # Start of connection tests 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/flush/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/flush/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/flush/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/flush/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/flush/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/flush/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/flush/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/flush/.dirs/runtime 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s ok 1 /gdbus/connection/flush 1115s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/large_message/.dirs/home 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/large_message/.dirs/cache 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/large_message/.dirs/system-config2 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/large_message/.dirs/config 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/large_message/.dirs/system-data2 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/large_message/.dirs/data 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/large_message/.dirs/state 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_B7VSE3/gdbus/connection/large_message/.dirs/runtime 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s ok 2 /gdbus/connection/large_message 1115s # End of connection tests 1115s # End of gdbus tests 1115s ok - glib/gdbus-connection-slow.test 1115s # Running test: glib/hostutils.test 1115s TAP version 14 1115s # random seed: R02Sa64a76333d28c2d118bc158ebc1f3ef1 1115s 1..3 1115s # Start of hostutils tests 1115s ok 1 /hostutils/to_ascii 1115s ok 2 /hostutils/to_unicode 1115s ok 3 /hostutils/is_ip_addr 1115s # End of hostutils tests 1115s ok - glib/hostutils.test 1115s # Running test: glib/gdbus-connection-flush.test 1115s TAP version 14 1115s # random seed: R02S60374a00b085c63bf0d6445686cf4bb5 1115s 1..2 1115s # Start of gdbus tests 1115s # Start of connection tests 1115s # Start of flush tests 1115s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/busy/.dirs/home 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/busy/.dirs/cache 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/busy/.dirs/system-config2 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/busy/.dirs/config 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/busy/.dirs/system-data2 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/busy/.dirs/data 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/busy/.dirs/state 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/busy/.dirs/runtime 1115s ok 1 /gdbus/connection/flush/busy 1115s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/idle/.dirs/home 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/idle/.dirs/cache 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/idle/.dirs/system-config2 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/idle/.dirs/config 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/idle/.dirs/system-data2 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/idle/.dirs/data 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/idle/.dirs/state 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_FELUE3/gdbus/connection/flush/idle/.dirs/runtime 1115s ok 2 /gdbus/connection/flush/idle 1115s # End of flush tests 1115s # End of connection tests 1115s # End of gdbus tests 1115s ok - glib/gdbus-connection-flush.test 1115s # Running test: glib/gdbus-threading.test 1115s TAP version 14 1115s # random seed: R02Se85f4c595df7fe51d033179e0961ddd4 1115s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1115s ok - glib/gdbus-threading.test 1115s # Running test: glib/unix.test 1115s TAP version 14 1115s # random seed: R02Sa97f4d3f9ad97639044cd917a240031b 1115s 1..20 1115s # Start of glib-unix tests 1115s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1115s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1115s ok 1 /glib-unix/closefrom 1115s ok 2 /glib-unix/pipe 1115s # /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 1115s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1115s ok 3 /glib-unix/pipe-stdio-overwrite 1115s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1115s ok 4 /glib-unix/pipe-struct 1115s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1115s ok 5 /glib-unix/pipe-struct-auto 1115s ok 6 /glib-unix/error 1115s ok 7 /glib-unix/nonblocking 1116s ok 8 /glib-unix/sighup 1116s # slow test /glib-unix/sighup executed in 0.50 secs 1116s ok 9 /glib-unix/sigterm 1116s # slow test /glib-unix/sigterm executed in 0.50 secs 1117s ok 10 /glib-unix/sighup_again 1117s # slow test /glib-unix/sighup_again executed in 0.50 secs 1117s ok 11 /glib-unix/sighup_add_remove 1117s ok 12 /glib-unix/sighup_nested 1118s # Executing: glib/unix.test 1119s ok 13 /glib-unix/callback_after_signal 1119s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1119s ok 14 /glib-unix/child-wait 1119s # Start of closefrom tests 1119s # Start of subprocess tests 1119s # End of subprocess tests 1119s # End of closefrom tests 1119s # Start of pipe tests 1119s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1119s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1119s ok 15 /glib-unix/pipe/fd-cloexec 1119s # End of pipe tests 1119s # Start of sighup tests 1120s ok 16 /glib-unix/sighup/alternate-stack 1120s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1120s # End of sighup tests 1120s # Start of sigterm tests 1121s ok 17 /glib-unix/sigterm/alternate-stack 1121s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1121s # End of sigterm tests 1121s # Start of sighup_again tests 1122s ok 18 /glib-unix/sighup_again/alternate-stack 1122s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1122s # End of sighup_again tests 1122s # Start of get-passwd-entry tests 1122s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1122s ok - glib/unix.test 1122s ok 19 /glib-unix/get-passwd-entry/root 1122s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1122s ok 20 /glib-unix/get-passwd-entry/nonexistent 1122s # End of get-passwd-entry tests 1122s # End of glib-unix tests 1122s # Running test: glib/utf8-validate.test 1122s ok - glib/utf8-validate.test 1122s TAP version 14 1122s # random seed: R02Sdb3222e1e9c5908d1ec6ac313dc274ce 1122s 1..238 1122s # Start of utf8 tests 1122s # Vector 0 1122s # Vector 1 1122s # Vector 2 1122s # Vector 3 1122s # Vector 4 1122s # Vector 5 1122s # Vector 6 1122s # Vector 7 1122s # Vector 8 1122s # Vector 9 1122s # Vector 10 1122s # Vector 11 1122s # Vector 12 1122s # Vector 13 1122s # Vector 14 1122s # Vector 15 1122s # Vector 16 1122s # Vector 17 1122s # Vector 18 1122s # Vector 19 1122s # Vector 20 1122s # Vector 21 1122s # Vector 22 1122s # Vector 23 1122s # Vector 24 1122s # Vector 25 1122s # Vector 26 1122s # Vector 27 1122s ok 1 /utf8/get-char-validated 1122s # Start of validate tests 1122s ok 2 /utf8/validate/0 1122s ok 3 /utf8/validate/1 1122s ok 4 /utf8/validate/2 1122s ok 5 /utf8/validate/3 1122s ok 6 /utf8/validate/4 1122s ok 7 /utf8/validate/5 1122s ok 8 /utf8/validate/6 1122s ok 9 /utf8/validate/7 1122s ok 10 /utf8/validate/8 1122s ok 11 /utf8/validate/9 1122s ok 12 /utf8/validate/10 1122s ok 13 /utf8/validate/11 1122s ok 14 /utf8/validate/12 1122s ok 15 /utf8/validate/13 1122s ok 16 /utf8/validate/14 1122s ok 17 /utf8/validate/15 1122s ok 18 /utf8/validate/16 1122s ok 19 /utf8/validate/17 1122s ok 20 /utf8/validate/18 1122s # Running test: glib/binding.test 1122s ok - glib/binding.test 1122s # Running test: glib/fileattributematcher.test 1122s ok - glib/fileattributematcher.test 1122s # Running test: glib/cmph-bdz.test 1122s ok 21 /utf8/validate/19 1122s ok 22 /utf8/validate/20 1122s ok 23 /utf8/validate/21 1122s ok 24 /utf8/validate/22 1122s ok 25 /utf8/validate/23 1122s ok 26 /utf8/validate/24 1122s ok 27 /utf8/validate/25 1122s ok 28 /utf8/validate/26 1122s ok 29 /utf8/validate/27 1122s ok 30 /utf8/validate/28 1122s ok 31 /utf8/validate/29 1122s ok 32 /utf8/validate/30 1122s ok 33 /utf8/validate/31 1122s ok 34 /utf8/validate/32 1122s ok 35 /utf8/validate/33 1122s ok 36 /utf8/validate/34 1122s ok 37 /utf8/validate/35 1122s ok 38 /utf8/validate/36 1122s ok 39 /utf8/validate/37 1122s ok 40 /utf8/validate/38 1122s ok 41 /utf8/validate/39 1122s ok 42 /utf8/validate/40 1122s ok 43 /utf8/validate/41 1122s ok 44 /utf8/validate/42 1122s ok 45 /utf8/validate/43 1122s ok 46 /utf8/validate/44 1122s ok 47 /utf8/validate/45 1122s ok 48 /utf8/validate/46 1122s ok 49 /utf8/validate/47 1122s ok 50 /utf8/validate/48 1122s ok 51 /utf8/validate/49 1122s ok 52 /utf8/validate/50 1122s ok 53 /utf8/validate/51 1122s ok 54 /utf8/validate/52 1122s ok 55 /utf8/validate/53 1122s ok 56 /utf8/validate/54 1122s ok 57 /utf8/validate/55 1122s ok 58 /utf8/validate/56 1122s ok 59 /utf8/validate/57 1122s ok 60 /utf8/validate/58 1122s ok 61 /utf8/validate/59 1122s ok 62 /utf8/validate/60 1122s ok 63 /utf8/validate/61 1122s ok 64 /utf8/validate/62 1122s ok 65 /utf8/validate/63 1122s ok 66 /utf8/validate/64 1122s ok 67 /utf8/validate/65 1122s ok 68 /utf8/validate/66 1122s ok 69 /utf8/validate/67 1122s ok 70 /utf8/validate/68 1122s ok 71 /utf8/validate/69 1122s ok 72 /utf8/validate/70 1122s ok 73 /utf8/validate/71 1122s ok 74 /utf8/validate/72 1122s ok 75 /utf8/validate/73 1122s ok 76 /utf8/validate/74 1122s ok 77 /utf8/validate/75 1122s ok 78 /utf8/validate/76 1122s ok 79 /utf8/validate/77 1122s ok 80 /utf8/validate/78 1122s ok 81 /utf8/validate/79 1122s ok 82 /utf8/validate/80 1122s ok 83 /utf8/validate/81 1122s ok 84 /utf8/validate/82 1122s ok 85 /utf8/validate/83 1122s ok 86 /utf8/validate/84 1122s ok 87 /utf8/validate/85 1122s ok 88 /utf8/validate/86 1122s ok 89 /utf8/validate/87 1122s ok 90 /utf8/validate/88 1122s ok 91 /utf8/validate/89 1122s ok 92 /utf8/validate/90 1122s ok 93 /utf8/validate/91 1122s ok 94 /utf8/validate/92 1122s ok 95 /utf8/validate/93 1122s ok 96 /utf8/validate/94 1122s ok 97 /utf8/validate/95 1122s ok 98 /utf8/validate/96 1122s ok 99 /utf8/validate/97 1122s ok 100 /utf8/validate/98 1122s ok 101 /utf8/validate/99 1122s ok 102 /utf8/validate/100 1122s ok 103 /utf8/validate/101 1122s ok 104 /utf8/validate/102 1122s ok 105 /utf8/validate/103 1122s ok 106 /utf8/validate/104 1122s ok 107 /utf8/validate/105 1122s ok 108 /utf8/validate/106 1122s ok 109 /utf8/validate/107 1122s ok 110 /utf8/validate/108 1122s ok 111 /utf8/validate/109 1122s ok 112 /utf8/validate/110 1122s ok 113 /utf8/validate/111 1122s ok 114 /utf8/validate/112 1122s ok 115 /utf8/validate/113 1122s ok 116 /utf8/validate/114 1122s ok 117 /utf8/validate/115 1122s ok 118 /utf8/validate/116 1122s ok 119 /utf8/validate/117 1122s ok 120 /utf8/validate/118 1122s ok 121 /utf8/validate/119 1122s ok 122 /utf8/validate/120 1122s ok 123 /utf8/validate/121 1122s ok 124 /utf8/validate/122 1122s ok 125 /utf8/validate/123 1122s ok 126 /utf8/validate/124 1122s ok 127 /utf8/validate/125 1122s ok 128 /utf8/validate/126 1122s ok 129 /utf8/validate/127 1122s ok 130 /utf8/validate/128 1122s ok 131 /utf8/validate/129 1122s ok 132 /utf8/validate/130 1122s ok 133 /utf8/validate/131 1122s ok 134 /utf8/validate/132 1122s ok 135 /utf8/validate/133 1122s ok 136 /utf8/validate/134 1122s ok 137 /utf8/validate/135 1122s ok 138 /utf8/validate/136 1122s ok 139 /utf8/validate/137 1122s ok 140 /utf8/validate/138 1122s ok 141 /utf8/validate/139 1122s ok 142 /utf8/validate/140 1122s ok 143 /utf8/validate/141 1122s ok 144 /utf8/validate/142 1122s ok 145 /utf8/validate/143 1122s ok 146 /utf8/validate/144 1122s ok 147 /utf8/validate/145 1122s ok 148 /utf8/validate/146 1122s ok 149 /utf8/validate/147 1122s ok 150 /utf8/validate/148 1122s ok 151 /utf8/validate/149 1122s ok 152 /utf8/validate/150 1122s ok 153 /utf8/validate/151 1122s ok 154 /utf8/validate/152 1122s ok 155 /utf8/validate/153 1122s ok 156 /utf8/validate/154 1122s ok 157 /utf8/validate/155 1122s ok 158 /utf8/validate/156 1122s ok 159 /utf8/validate/157 1122s ok 160 /utf8/validate/158 1122s ok 161 /utf8/validate/159 1122s ok 162 /utf8/validate/160 1122s ok 163 /utf8/validate/161 1122s ok 164 /utf8/validate/162 1122s ok 165 /utf8/validate/163 1122s ok 166 /utf8/validate/164 1122s ok 167 /utf8/validate/165 1122s ok 168 /utf8/validate/166 1122s ok 169 /utf8/validate/167 1122s ok 170 /utf8/validate/168 1122s ok 171 /utf8/validate/169 1122s ok 172 /utf8/validate/170 1122s ok 173 /utf8/validate/171 1122s ok 174 /utf8/validate/172 1122s ok 175 /utf8/validate/173 1122s ok 176 /utf8/validate/174 1122s ok 177 /utf8/validate/175 1122s ok 178 /utf8/validate/176 1122s ok 179 /utf8/validate/177 1122s ok 180 /utf8/validate/178 1122s ok 181 /utf8/validate/179 1122s ok 182 /utf8/validate/180 1122s ok 183 /utf8/validate/181 1122s ok 184 /utf8/validate/182 1122s ok 185 /utf8/validate/183 1122s ok 186 /utf8/validate/184 1122s ok 187 /utf8/validate/185 1122s ok 188 /utf8/validate/186 1122s ok 189 /utf8/validate/187 1122s ok 190 /utf8/validate/188 1122s ok 191 /utf8/validate/189 1122s ok 192 /utf8/validate/190 1122s ok 193 /utf8/validate/191 1122s ok 194 /utf8/validate/192 1122s ok 195 /utf8/validate/193 1122s ok 196 /utf8/validate/194 1122s ok 197 /utf8/validate/195 1122s ok 198 /utf8/validate/196 1122s ok 199 /utf8/validate/197 1122s ok 200 /utf8/validate/198 1122s ok 201 /utf8/validate/199 1122s ok 202 /utf8/validate/200 1122s ok 203 /utf8/validate/201 1122s ok 204 /utf8/validate/202 1122s ok 205 /utf8/validate/203 1122s ok 206 /utf8/validate/204 1122s ok 207 /utf8/validate/205 1122s ok 208 /utf8/validate/206 1122s ok 209 /utf8/validate/207 1122s ok 210 /utf8/validate/208 1122s ok 211 /utf8/validate/209 1122s ok 212 /utf8/validate/210 1122s ok 213 /utf8/validate/211 1122s ok 214 /utf8/validate/212 1122s ok 215 /utf8/validate/213 1122s ok 216 /utf8/validate/214 1122s ok 217 /utf8/validate/215 1122s ok 218 /utf8/validate/216 1122s ok 219 /utf8/validate/217 1122s ok 220 /utf8/validate/218 1122s ok 221 /utf8/validate/219 1122s ok 222 /utf8/validate/220 1122s ok 223 /utf8/validate/221 1122s ok 224 /utf8/validate/222 1122s ok 225 /utf8/validate/223 1122s ok 226 /utf8/validate/224 1122s ok 227 /utf8/validate/225 1122s ok 228 /utf8/validate/226 1122s ok 229 /utf8/validate/227 1122s ok 230 /utf8/validate/228 1122s ok 231 /utf8/validate/229 1122s ok 232 /utf8/validate/230 1122s ok 233 /utf8/validate/231 1122s ok 234 /utf8/validate/232 1122s ok 235 /utf8/validate/233 1122s ok 236 /utf8/validate/234 1122s ok 237 /utf8/validate/235 1122s ok 238 /utf8/validate/236 1122s # End of validate tests 1122s # End of utf8 tests 1122s TAP version 14 1122s # random seed: R02S674d738a0a4d94489b496bfd0039dbf4 1122s 1..19 1122s # Start of binding tests 1122s ok 1 /binding/default 1122s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1122s ok 2 /binding/canonicalisation 1122s ok 3 /binding/bidirectional 1122s ok 4 /binding/transform 1122s ok 5 /binding/transform-default 1122s ok 6 /binding/transform-closure 1122s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1122s ok 7 /binding/chain 1122s ok 8 /binding/sync-create 1122s ok 9 /binding/invert-boolean 1122s ok 10 /binding/same-object 1122s ok 11 /binding/unbind 1122s ok 12 /binding/unbind-weak 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1122s ok 13 /binding/unbind-multiple 1122s ok 14 /binding/fail 1122s ok 15 /binding/interface 1122s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1122s ok 16 /binding/concurrent-unbind 1122s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1122s ok 17 /binding/concurrent-finalizing 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1122s ok 18 /binding/dispose-source 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1122s ok 19 /binding/dispose-target 1122s # End of binding tests 1122s TAP version 14 1122s # random seed: R02S2be23aadb000977c9a24c4ed4dca4ed4 1122s 1..3 1122s # Start of fileattributematcher tests 1122s ok 1 /fileattributematcher/exact 1122s ok 2 /fileattributematcher/equality 1122s ok 3 /fileattributematcher/subtract 1122s # End of fileattributematcher tests 1122s TAP version 14 1122s # random seed: R02Sd273c946bf517808d8d796eff8fe582b 1122s 1..2 1122s # Start of cmph-bdz tests 1122s ok 1 /cmph-bdz/search 1122s ok 2 /cmph-bdz/search-packed 1122s # End of cmph-bdz tests 1122s ok - glib/cmph-bdz.test 1122s # Running test: glib/gdbus-message.test 1122s TAP version 14 1122s # random seed: R02Sf66afb12923d9fb7d764ba0acb236799 1122s 1..3 1122s # Start of gdbus tests 1122s # Start of message tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/lock/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/lock/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_IDJPE3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_IDJPE3/gdbus/message/lock/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/lock/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_IDJPE3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_IDJPE3/gdbus/message/lock/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/lock/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/lock/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_IDJPE3/gdbus/message/lock/.dirs/runtime 1122s ok - glib/gdbus-message.test 1122s ok 1 /gdbus/message/lock 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/copy/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/copy/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_IDJPE3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_IDJPE3/gdbus/message/copy/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/copy/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_IDJPE3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_IDJPE3/gdbus/message/copy/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/copy/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/copy/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_IDJPE3/gdbus/message/copy/.dirs/runtime 1122s ok 2 /gdbus/message/copy 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/bytes-needed/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/bytes-needed/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_IDJPE3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_IDJPE3/gdbus/message/bytes-needed/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/bytes-needed/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_IDJPE3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_IDJPE3/gdbus/message/bytes-needed/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/bytes-needed/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_IDJPE3/gdbus/message/bytes-needed/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_IDJPE3/gdbus/message/bytes-needed/.dirs/runtime 1122s # Vector: 0 1122s # Vector: 1 1122s # Vector: 2 1122s # Vector: 3 1122s # Vector: 4 1122s # Vector: 5 1122s ok 3 /gdbus/message/bytes-needed 1122s # End of message tests 1122s # End of gdbus tests 1122s # Running test: glib/signals-refcount1.test 1122s TAP version 14 1122s # random seed: R02S0d3ab77d8900dda30fbc5dce6549cc1b 1122s 1..1 1122s # Start of gobject tests 1122s # Start of refcount tests 1122s # init 0x4cb2c90 1122s # 1122s # init 0x4cb9510 1122s # 1123s # Executing: glib/signals-refcount1.test 1127s ok - glib/signals-refcount1.test 1127s # dispose 0x4cb2c90! 1127s # 1127s # dispose 0x4cb9510! 1127s # 1127s ok 1 /gobject/refcount/signals 1127s # slow test /gobject/refcount/signals executed in 5.00 secs 1127s # End of refcount tests 1127s # End of gobject tests 1127s # Running test: glib/spawn-multithreaded.test 1127s TAP version 14 1127s # random seed: R02S36c5e4503e2f61b8ffeed9b1ee501734 1127s 1..4 1127s # Start of gthread tests 1128s # Child 4018 (ttl 1) exited, status 0 1128s # Executing: glib/spawn-multithreaded.test 1129s # Child 4019 (ttl 2) exited, status 0 1129s ok 1 /gthread/spawn-childs 1129s # slow test /gthread/spawn-childs executed in 2.00 secs 1129s # Created pid: 4023 (ttl 1) 1129s # Created pid: 4024 (ttl 2) 1130s # Child 4023 (ttl 1) exited, status 0 1131s # Child 4024 (ttl 2) exited, status 0 1131s ok 2 /gthread/spawn-childs-threads 1131s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1131s ok 3 /gthread/spawn-sync 1131s ok 4 /gthread/spawn-async 1131s # End of gthread tests 1131s ok - glib/spawn-multithreaded.test 1131s # Running test: glib/gapplication.test 1131s TAP version 14 1131s # random seed: R02Sf087cf10478754bee3d0fb1119e25c82 1131s 1..25 1131s # Start of gapplication tests 1131s ok 1 /gapplication/no-dbus 1131s ok 2 /gapplication/no-appid 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 3 /gapplication/properties 1131s ok 4 /gapplication/app-id 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 5 /gapplication/quit 1131s ok 6 /gapplication/registered 1131s ok 7 /gapplication/local-actions 1131s ok 8 /gapplication/local-command-line 1131s ok 9 /gapplication/resource-path 1131s ok 10 /gapplication/test-help 1131s ok 11 /gapplication/command-line-done 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 12 /gapplication/test-busy 1131s ok 13 /gapplication/test-handle-local-options1 1131s ok 14 /gapplication/test-handle-local-options2 1131s ok 15 /gapplication/test-handle-local-options3 1131s ok 16 /gapplication/api 1131s ok 17 /gapplication/version 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # launching subprocess 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 18 /gapplication/replace 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # launching subprocess 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 19 /gapplication/no-replace 1132s # slow test /gapplication/no-replace executed in 0.51 secs 1132s # Start of command-line tests 1132s # /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 1132s ok 20 /gapplication/command-line/arguments 1132s # End of command-line tests 1132s # Start of dbus tests 1132s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # Message 0 1132s # Message 1 1132s # Message 2 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 21 /gapplication/dbus/activate 1132s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # Message 0 1132s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1132s # Message 1 1132s # Message 2 1132s # Message 3 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 22 /gapplication/dbus/open 1132s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # Message 0 1132s # Message 1 1132s # Message 2 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 23 /gapplication/dbus/command-line 1132s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 24 /gapplication/dbus/command-line-done 1132s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # Message 0 1132s # Message 1 1132s # Message 2 1132s # Message 3 1132s # Message 4 1132s # Message 5 1132s # Message 6 1132s # Message 7 1132s # Message 8 1132s # Message 9 1132s # Message 10 1132s # Message 11 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 25 /gapplication/dbus/activate-action 1132s # End of dbus tests 1132s # End of gapplication tests 1132s ok - glib/gapplication.test 1132s # Running test: glib/markup.test 1132s TAP version 14 1132s # random seed: R02S1f93b7f4c0d613d02129f40fa1c8cafc 1132s 1..1 1132s # Start of markup tests 1132s ok 1 /markup/stack 1132s # End of markup tests 1132s ok - glib/markup.test 1132s # Running test: glib/gdbus-subscribe.test 1132s TAP version 14 1132s # random seed: R02S078c7d95c8c6e54c79204472df1ad7f2 1132s 1..24 1132s # Start of gdbus tests 1132s # Start of subscribe tests 1132s # Start of conn tests 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/simple/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/simple/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/simple/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/simple/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/simple/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/simple/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/simple/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/simple/.dirs/runtime 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1132s # Step 0: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 1: adding subscription 1132s # Sender: (any) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Waiting for AddMatch to be processed 1132s # Step 2: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 2 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 1 /gdbus/subscribe/conn/simple 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1132s # Step 0: adding subscription 1132s # Sender: (any) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Waiting for AddMatch to be processed 1132s # Step 1: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 2: emitting signal 1132s # Sender: service 2 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 3: emitting signal 1132s # Sender: service 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 4: emitting signal 1132s # Sender: service 2 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 1 1132s # Signal received from service 2 :1.2 1132s # Signal received from service 2 :1.2 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 2 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 3 1132s # Signal received from service 2 :1.2 1132s # Signal received from service 2 :1.2 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1132s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1132s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1132s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/match_twice/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/match_twice/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/match_twice/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/match_twice/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/match_twice/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/match_twice/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1132s # Step 0: adding subscription 1132s # Sender: service :1.1 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Waiting for AddMatch to be processed 1132s # Step 1: adding subscription 1132s # Sender: (any) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: (any) 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Waiting for AddMatch to be processed 1132s # Step 2: adding subscription 1132s # Sender: (any) 1132s # Path: (any) 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Waiting for AddMatch to be processed 1132s # Step 3: adding subscription 1132s # Sender: service :1.1 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Waiting for AddMatch to be processed 1132s # Step 4: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 3 /gdbus/subscribe/conn/match_twice 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1132s # Step 0: adding subscription 1132s # Sender: service :1.1 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Waiting for AddMatch to be processed 1132s # Step 1: emitting signal 1132s # Sender: attacker 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 2: emitting signal 1132s # Sender: attacker 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 3: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 3 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1132s # Step 0: adding subscription 1132s # Sender: :0.this.had.better.not.exist 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Waiting for AddMatch to be processed 1132s # Step 1: emitting signal 1132s # Sender: attacker 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 2: emitting signal 1132s # Sender: attacker 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /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 1132s # Step 0: claiming bus name 1132s # Name: org.gtk.Test.AlreadyOwned 1132s # Owner: service 1132s # Step 1: adding subscription 1132s # Sender: org.gtk.Test.AlreadyOwned 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Waiting for AddMatch to be processed 1132s # Step 2: adding subscription 1132s # Sender: org.gtk.Test.OwnedLater 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Waiting for AddMatch to be processed 1132s # Step 3: emitting signal 1132s # Sender: attacker 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 4: emitting signal 1132s # Sender: attacker 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 5: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 6: claiming bus name 1132s # Name: org.gtk.Test.OwnedLater 1132s # Owner: service 1132s # Step 7: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 5 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 7 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 7 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1132s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1132s # Step 0: adding subscription 1132s # Sender: org.freedesktop.DBus 1132s # Path: /org/freedesktop/DBus 1132s # Interface: org.freedesktop.DBus 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Waiting for AddMatch to be processed 1132s # Step 1: emitting signal 1132s # Sender: attacker 1132s # Destination: (broadcast) 1132s # Path: /org/freedesktop/DBus 1132s # Interface: org.freedesktop.DBus 1132s # Member: NameOwnerChanged 1132s # String argument 0: would I lie to you? 1132s # Waiting for signal to reach message bus 1132s # Step 2: emitting signal 1132s # Sender: attacker 1132s # Destination: subscriber :1.0 1132s # Path: /org/freedesktop/DBus 1132s # Interface: org.freedesktop.DBus 1132s # Member: NameOwnerChanged 1132s # Waiting for signal to reach message bus 1132s # Step 3: claiming bus name 1132s # Name: org.gtk.Test.OwnedLater 1132s # Owner: service 1132s # Signal received from message bus org.freedesktop.DBus 1132s # Signal received from (unused) org.freedesktop.DBus via connection 1132s # Path: /org/freedesktop/DBus 1132s # Interface: org.freedesktop.DBus 1132s # Member: NameOwnerChanged 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1132s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1132s # Step 0: claiming bus name 1132s # Name: org.gtk.Test.AlreadyOwned 1132s # Owner: service 1132s # Step 1: adding subscription 1132s # Sender: org.gtk.Test.AlreadyOwned 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Immediately unsubscribing 1132s # Waiting for AddMatch to be processed 1132s # Step 2: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1132s # End of conn tests 1132s # Start of proxy tests 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/simple/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/simple/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/simple/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/simple/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/simple/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/simple/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/simple/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/simple/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1132s # Step 0: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 1: adding subscription 1132s # Sender: (any) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Cannot subscribe via proxy: no bus name 1132s # Waiting for AddMatch to be processed 1132s # Step 2: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 9 /gdbus/subscribe/proxy/simple 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1132s # Step 0: adding subscription 1132s # Sender: (any) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Cannot subscribe via proxy: no bus name 1132s # Waiting for AddMatch to be processed 1132s # Step 1: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 2: emitting signal 1132s # Sender: service 2 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 3: emitting signal 1132s # Sender: service 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 4: emitting signal 1132s # Sender: service 2 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/match_twice/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/match_twice/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/match_twice/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/match_twice/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/match_twice/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1132s # Step 0: adding subscription 1132s # Sender: service :1.1 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 1: adding subscription 1132s # Sender: (any) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: (any) 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Cannot subscribe via proxy: no bus name 1132s # Waiting for AddMatch to be processed 1132s # Step 2: adding subscription 1132s # Sender: (any) 1132s # Path: (any) 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Cannot subscribe via proxy: no bus name 1132s # Waiting for AddMatch to be processed 1132s # Step 3: adding subscription 1132s # Sender: service :1.1 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 4: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 11 /gdbus/subscribe/proxy/match_twice 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1132s # Step 0: adding subscription 1132s # Sender: service :1.1 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 1: emitting signal 1132s # Sender: attacker 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 2: emitting signal 1132s # Sender: attacker 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 3: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 3 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1132s # Step 0: adding subscription 1132s # Sender: :0.this.had.better.not.exist 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 1: emitting signal 1132s # Sender: attacker 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 2: emitting signal 1132s # Sender: attacker 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /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 1132s # Step 0: claiming bus name 1132s # Name: org.gtk.Test.AlreadyOwned 1132s # Owner: service 1132s # Step 1: adding subscription 1132s # Sender: org.gtk.Test.AlreadyOwned 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 2: adding subscription 1132s # Sender: org.gtk.Test.OwnedLater 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 3: emitting signal 1132s # Sender: attacker 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 4: emitting signal 1132s # Sender: attacker 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 5: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 6: claiming bus name 1132s # Name: org.gtk.Test.OwnedLater 1132s # Owner: service 1132s # Step 7: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 5 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 7 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 7 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1132s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1132s # Step 0: adding subscription 1132s # Sender: org.freedesktop.DBus 1132s # Path: /org/freedesktop/DBus 1132s # Interface: org.freedesktop.DBus 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 1: emitting signal 1132s # Sender: attacker 1132s # Destination: (broadcast) 1132s # Path: /org/freedesktop/DBus 1132s # Interface: org.freedesktop.DBus 1132s # Member: NameOwnerChanged 1132s # String argument 0: would I lie to you? 1132s # Waiting for signal to reach message bus 1132s # Step 2: emitting signal 1132s # Sender: attacker 1132s # Destination: subscriber :1.0 1132s # Path: /org/freedesktop/DBus 1132s # Interface: org.freedesktop.DBus 1132s # Member: NameOwnerChanged 1132s # Waiting for signal to reach message bus 1132s # Step 3: claiming bus name 1132s # Name: org.gtk.Test.OwnedLater 1132s # Owner: service 1132s # Signal received from message bus org.freedesktop.DBus 1132s # Signal received from (unused) org.freedesktop.DBus via proxy 1132s # Path: /org/freedesktop/DBus 1132s # Interface: org.freedesktop.DBus 1132s # Member: NameOwnerChanged 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1132s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1132s # Step 0: claiming bus name 1132s # Name: org.gtk.Test.AlreadyOwned 1132s # Owner: service 1132s # Step 1: adding subscription 1132s # Sender: org.gtk.Test.AlreadyOwned 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 2: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 2 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1132s # End of proxy tests 1132s # Start of parallel tests 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/simple/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/simple/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/simple/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/simple/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/simple/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/simple/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/simple/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/simple/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1132s # Step 0: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 1: adding subscription 1132s # Sender: (any) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Cannot subscribe via proxy: no bus name 1132s # Waiting for AddMatch to be processed 1132s # Step 2: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 2 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1132s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 17 /gdbus/subscribe/parallel/simple 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1132s # Step 0: adding subscription 1132s # Sender: (any) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Cannot subscribe via proxy: no bus name 1132s # Waiting for AddMatch to be processed 1132s # Step 1: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 2: emitting signal 1132s # Sender: service 2 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 3: emitting signal 1132s # Sender: service 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 4: emitting signal 1132s # Sender: service 2 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 1 1132s # Signal received from service 2 :1.2 1132s # Signal received from service 2 :1.2 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 2 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 3 1132s # Signal received from service 2 :1.2 1132s # Signal received from service 2 :1.2 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1132s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1132s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1132s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1132s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/match_twice/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/match_twice/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/match_twice/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/match_twice/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/match_twice/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1132s # Step 0: adding subscription 1132s # Sender: service :1.1 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 1: adding subscription 1132s # Sender: (any) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: (any) 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Cannot subscribe via proxy: no bus name 1132s # Waiting for AddMatch to be processed 1132s # Step 2: adding subscription 1132s # Sender: (any) 1132s # Path: (any) 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Cannot subscribe via proxy: no bus name 1132s # Waiting for AddMatch to be processed 1132s # Step 3: adding subscription 1132s # Sender: service :1.1 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 4: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 4 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1132s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 19 /gdbus/subscribe/parallel/match_twice 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1132s # Step 0: adding subscription 1132s # Sender: service :1.1 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 1: emitting signal 1132s # Sender: attacker 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 2: emitting signal 1132s # Sender: attacker 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 3: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 3 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 3 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1132s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1132s # Step 0: adding subscription 1132s # Sender: :0.this.had.better.not.exist 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 1: emitting signal 1132s # Sender: attacker 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 2: emitting signal 1132s # Sender: attacker 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /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 1132s # Step 0: claiming bus name 1132s # Name: org.gtk.Test.AlreadyOwned 1132s # Owner: service 1132s # Step 1: adding subscription 1132s # Sender: org.gtk.Test.AlreadyOwned 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 2: adding subscription 1132s # Sender: org.gtk.Test.OwnedLater 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 3: emitting signal 1132s # Sender: attacker 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 4: emitting signal 1132s # Sender: attacker 1132s # Destination: subscriber :1.0 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 5: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Step 6: claiming bus name 1132s # Name: org.gtk.Test.OwnedLater 1132s # Owner: service 1132s # Step 7: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 5 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 5 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 7 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 7 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via connection 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 7 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 7 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1132s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1132s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1132s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1132s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1132s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1132s # Step 0: adding subscription 1132s # Sender: org.freedesktop.DBus 1132s # Path: /org/freedesktop/DBus 1132s # Interface: org.freedesktop.DBus 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 1: emitting signal 1132s # Sender: attacker 1132s # Destination: (broadcast) 1132s # Path: /org/freedesktop/DBus 1132s # Interface: org.freedesktop.DBus 1132s # Member: NameOwnerChanged 1132s # String argument 0: would I lie to you? 1132s # Waiting for signal to reach message bus 1132s # Step 2: emitting signal 1132s # Sender: attacker 1132s # Destination: subscriber :1.0 1132s # Path: /org/freedesktop/DBus 1132s # Interface: org.freedesktop.DBus 1132s # Member: NameOwnerChanged 1132s # Waiting for signal to reach message bus 1132s # Step 3: claiming bus name 1132s # Name: org.gtk.Test.OwnedLater 1132s # Owner: service 1132s # Signal received from message bus org.freedesktop.DBus 1132s # Signal received from (unused) org.freedesktop.DBus via connection 1132s # Path: /org/freedesktop/DBus 1132s # Interface: org.freedesktop.DBus 1132s # Member: NameOwnerChanged 1132s # Signal received from message bus org.freedesktop.DBus 1132s # Signal received from (unused) org.freedesktop.DBus via proxy 1132s # Path: /org/freedesktop/DBus 1132s # Interface: org.freedesktop.DBus 1132s # Member: NameOwnerChanged 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1132s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1132s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6KBJE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # subscriber is :1.0 1132s # service is :1.1 1132s # service 2 is :1.2 1132s # attacker is :1.3 1132s # Waiting for AddMatch to be processed 1132s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1132s # Step 0: claiming bus name 1132s # Name: org.gtk.Test.AlreadyOwned 1132s # Owner: service 1132s # Step 1: adding subscription 1132s # Sender: org.gtk.Test.AlreadyOwned 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: (any) 1132s # String argument 0: (any) 1132s # Flags: 0 1132s # Subscribing via connection 1132s # Immediately unsubscribing 1132s # Subscribing via proxy 1132s # Waiting for AddMatch to be processed 1132s # Step 2: emitting signal 1132s # Sender: service 1132s # Destination: (broadcast) 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Waiting for signal to reach message bus 1132s # Signal received from service :1.1 1132s # Signal received from service :1.1 via proxy 1132s # Path: /org/gtk/GDBus/ExampleInterface 1132s # Interface: org.gtk.GDBus.ExampleInterface 1132s # Member: Foo 1132s # Argument 0: (not a string) 1132s # Sent in step: 2 1132s # Received Finished signal from subscriber :1.0 1132s # Received Finished signal from service :1.1 1132s # Received Finished signal from service 2 :1.2 1132s # Received Finished signal from attacker :1.3 1132s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1132s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1132s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1132s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1132s # End of parallel tests 1132s # End of subscribe tests 1132s # End of gdbus tests 1132s ok - glib/gdbus-subscribe.test 1132s # Running test: glib/gobject-private.test 1132s TAP version 14 1132s # random seed: R02S9ffc44e13ccd90797859083adc5835f3 1132s 1..3 1132s # Start of private tests 1132s ok 1 /private/instance 1132s ok 2 /private/derived-instance 1132s ok 3 /private/mixed-derived-instance 1132s # End of private tests 1132s ok - glib/gobject-private.test 1132s # Running test: glib/filter-streams.test 1132s TAP version 14 1132s # random seed: R02Sdd1cdd7249cd10ec96a0c440d1ac0835 1132s 1..4 1132s # Start of filter-stream tests 1132s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1132s ok 1 /filter-stream/input 1132s ok 2 /filter-stream/output 1132s ok 3 /filter-stream/async-input 1132s ok 4 /filter-stream/async-output 1132s # End of filter-stream tests 1132s ok - glib/filter-streams.test 1132s # Running test: glib/closure-refcount.test 1132s TAP version 14 1132s # random seed: R02S739f7d744816a8c705e945f01b187f41 1132s 1..1 1132s # Start of closure tests 1132s # Init 0xe6d4bf8 1132s # Yielding from thread2 1133s # Yielding from thread2 1133s # Yielding from thread2 1133s # Executing: glib/closure-refcount.test 1133s # Yielding from thread2 1133s # Yielding from main thread 1133s # Yielding from thread1 1135s # Yielding from thread2 1135s # Yielding from thread1 1135s # Yielding from thread1 1135s # Yielding from thread2 1135s # Yielding from thread1 1135s # Yielding from thread2 1135s # Yielding from thread1 1135s # Yielding from thread2 1135s # Yielding from thread1 1135s # Yielding from main thread 1135s # Yielding from thread2 1135s # Yielding from thread1 1135s # Yielding from thread2 1135s # Yielding from thread1 1135s # Yielding from thread1 1135s # Yielding from thread2 1135s # Yielding from thread2 1136s # Yielding from thread1 1136s # Yielding from thread2 1136s # Yielding from main thread 1136s # Yielding from thread2 1136s # Yielding from thread1 1136s # Yielding from thread2 1136s # Yielding from thread1 1136s # Yielding from thread2 1136s # Yielding from thread1 1137s # Yielding from main thread 1137s # Yielding from thread1 1137s # Yielding from thread2 1137s # Yielding from thread1 1137s # Yielding from thread2 1137s # Yielding from thread1 1137s # Yielding from thread2 1137s # Yielding from main thread 1137s # Yielding from thread1 1138s # Yielding from thread2 1138s # Yielding from thread1 1138s # Yielding from thread2 1138s # Yielding from thread1 1138s # Executing: glib/closure-refcount.test 1138s # Yielding from main thread 1138s # Yielding from thread1 1138s # Yielding from thread2 1140s # Yielding from thread1 1140s # Yielding from thread2 1140s # Yielding from thread1 1140s # Yielding from thread2 1140s # Yielding from thread1 1140s # Yielding from main thread 1140s # Yielding from thread2 1140s # Yielding from thread1 1140s # Yielding from thread2 1140s # Yielding from thread1 1140s # Yielding from thread2 1140s # Yielding from thread1 1140s # Yielding from main thread 1140s # Yielding from thread2 1140s # Yielding from thread1 1140s # Yielding from thread2 1140s # Yielding from thread1 1140s # Yielding from thread2 1141s # Yielding from thread1 1141s # Yielding from main thread 1141s # Yielding from thread1 1141s # Yielding from thread2 1141s # Yielding from thread1 1141s # Yielding from thread2 1141s # Yielding from thread1 1141s # Stopping 1141s # Stopped 1141s ok 1 /closure/refcount 1141s # slow test /closure/refcount executed in 9.32 secs 1141s # End of closure tests 1141s ok - glib/closure-refcount.test 1141s # Running test: glib/defaultvalue.test 1141s TAP version 14 1141s # random seed: R02S4ecdb571b17bf5177a302e11c24a0a3d 1141s 1..84 1141s # Start of Default Values tests 1141s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1141s ok 2 /Default Values/GAppLaunchContext 1141s ok 3 /Default Values/GApplicationCommandLine 1141s # skipping GApplication:is-remote 1141s ok 4 /Default Values/GApplication 1141s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1141s ok 6 /Default Values/GBindingGroup 1141s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1141s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1141s ok 9 /Default Values/GBytesIcon 1141s ok 10 /Default Values/GCancellable 1141s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1141s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1141s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1141s ok 14 /Default Values/GCredentials 1141s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1141s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1141s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1141s ok 18 /Default Values/GDBusAuthObserver 1141s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1141s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1141s ok 21 /Default Values/GDBusMessage 1141s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1141s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1141s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1141s ok 25 /Default Values/GDBusObjectProxy 1141s ok 26 /Default Values/GDBusObjectSkeleton 1141s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1141s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1141s ok 29 /Default Values/GEmblem 1141s ok 30 /Default Values/GEmblemedIcon 1141s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1141s ok 32 /Default Values/GFileInfo 1141s ok 33 /Default Values/GFileInputStream 1141s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1141s ok 35 /Default Values/GFileOutputStream 1141s ok 36 /Default Values/GFilenameCompleter 1141s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1141s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1141s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1141s ok 40 /Default Values/GInitiallyUnowned 1141s ok 41 /Default Values/GIOModule 1141s ok 42 /Default Values/GListStore 1141s ok 43 /Default Values/GMemoryInputStream 1141s ok 44 /Default Values/GMemoryOutputStream 1141s ok 45 /Default Values/GMenu 1141s ok 46 /Default Values/GMenuItem 1141s ok 47 /Default Values/GMountOperation 1141s ok 48 /Default Values/GNativeSocketAddress 1141s ok 49 /Default Values/GNetworkAddress 1141s ok 50 /Default Values/GNetworkService 1141s ok 51 /Default Values/GNotification 1141s ok 52 /Default Values/GObject 1141s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1141s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1141s # skipping GProxyAddressEnumerator:proxy-resolver 1141s ok 54 /Default Values/GProxyAddressEnumerator 1141s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1141s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1141s ok 57 /Default Values/GSignalGroup 1141s ok 58 /Default Values/GSimpleAction 1141s ok 59 /Default Values/GSimpleActionGroup 1141s ok 60 /Default Values/GSimpleAsyncResult 1141s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1141s ok 62 /Default Values/GSimplePermission 1141s ok 63 /Default Values/GSimpleProxyResolver 1141s # skipping GSocketClient:proxy-resolver 1141s ok 64 /Default Values/GSocketClient 1141s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1141s ok 66 /Default Values/GSocket # SKIP initialization failed 1141s ok 67 /Default Values/GSocketListener 1141s ok 68 /Default Values/GSocketService 1141s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1141s ok 70 /Default Values/GSubprocessLauncher 1141s # GLib-GIO-DEBUG: GTask 0x7ac30a8 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1141s ok 71 /Default Values/GTask 1141s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1141s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1141s ok 74 /Default Values/GTestDBus 1141s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1141s ok 76 /Default Values/GThreadedSocketService 1141s ok 77 /Default Values/GTlsInteraction 1141s ok 78 /Default Values/GTlsPassword 1141s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1141s ok 80 /Default Values/GUnixFDList 1141s ok 81 /Default Values/GVfs 1141s ok 82 /Default Values/GVolumeMonitor 1141s ok 83 /Default Values/GZlibCompressor 1141s ok 84 /Default Values/GZlibDecompressor 1141s # End of Default Values tests 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s ok - glib/defaultvalue.test 1141s # Running test: glib/defaultiface.test 1141s TAP version 14 1141s # random seed: R02Sac29f8b2ad81e533a8ac02200b2178dc 1141s 1..2 1141s # Start of gobject tests 1141s ok 1 /gobject/static-iface 1141s ok 2 /gobject/dynamic-iface 1141s # End of gobject tests 1141s ok - glib/defaultiface.test 1141s # Running test: glib/utf8-pointer.test 1141s TAP version 14 1141s # random seed: R02Sd91438db483f1d0e01194b704a93d622 1141s 1..3 1141s # Start of utf8 tests 1142s ok 1 /utf8/offsets 1142s # slow test /utf8/offsets executed in 0.99 secs 1142s ok 2 /utf8/lengths 1142s ok 3 /utf8/find 1142s # End of utf8 tests 1142s ok - glib/utf8-pointer.test 1142s # Running test: glib/deprecated-properties.test 1142s TAP version 14 1142s # random seed: R02S916cb716a10c75bb820a5ecf1bfe20eb 1142s 1..3 1142s # Start of deprecated-properties tests 1142s ok 1 /deprecated-properties/construct 1142s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1142s ok 2 /deprecated-properties/default-construct 1142s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1142s ok 3 /deprecated-properties/set 1142s # End of deprecated-properties tests 1142s ok - glib/deprecated-properties.test 1142s # Running test: glib/macros-c-99.test 1142s TAP version 14 1142s # random seed: R02Sb5b4f03eaa95b01b4892fd8586001338 1142s 1..4 1142s # Start of C tests 1142s ok 1 /C/standard-99 1142s # End of C tests 1142s # Start of alignof tests 1142s ok 2 /alignof/fallback 1142s # End of alignof tests 1142s # Start of assert tests 1142s ok 3 /assert/static 1142s # End of assert tests 1142s # Start of struct tests 1142s ok 4 /struct/sizeof_member 1142s # End of struct tests 1142s ok - glib/macros-c-99.test 1142s # Running test: glib/permission.test 1142s TAP version 14 1142s # random seed: R02Sea4efddf488159dc72e845b837811ac2 1142s 1..1 1142s # Start of permission tests 1142s ok 1 /permission/simple 1142s # End of permission tests 1142s ok - glib/permission.test 1142s # Running test: glib/gdbus-export.test 1142s TAP version 14 1142s # random seed: R02S1c57aca5c432bcce4aeeaf3b459b63cc 1142s 1..7 1142s # Start of gdbus tests 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_1I10E3/gdbus/object-registration/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_1I10E3/gdbus/object-registration/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration/.dirs/runtime 1142s ok 1 /gdbus/object-registration 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures/.dirs/runtime 1142s ok 2 /gdbus/object-registration-with-closures 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures2/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures2/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures2/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures2/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures2/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures2/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures2/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_1I10E3/gdbus/object-registration-with-closures2/.dirs/runtime 1142s ok 3 /gdbus/object-registration-with-closures2 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_1I10E3/gdbus/registered-interfaces/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/registered-interfaces/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_1I10E3/gdbus/registered-interfaces/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/registered-interfaces/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_1I10E3/gdbus/registered-interfaces/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/registered-interfaces/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/registered-interfaces/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_1I10E3/gdbus/registered-interfaces/.dirs/runtime 1142s ok 4 /gdbus/registered-interfaces 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_1I10E3/gdbus/async-properties/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/async-properties/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_1I10E3/gdbus/async-properties/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/async-properties/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_1I10E3/gdbus/async-properties/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/async-properties/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/async-properties/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_1I10E3/gdbus/async-properties/.dirs/runtime 1142s ok 5 /gdbus/async-properties 1142s # Start of threaded-unregistration tests 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/object/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/object/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/object/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/object/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/object/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/object/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/object/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/object/.dirs/runtime 1142s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1142s # /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 1143s # Executing: glib/gdbus-export.test 1144s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (12 iterations with unregistration first, 988 with call first); skipping test 1144s # slow test /gdbus/threaded-unregistration/object executed in 1.50 secs 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/subtree/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/subtree/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/subtree/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/subtree/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/subtree/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_1I10E3/gdbus/threaded-unregistration/subtree/.dirs/runtime 1144s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1144s # /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 1145s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (2 iterations with unregistration first, 998 with call first); skipping test 1145s # slow test /gdbus/threaded-unregistration/subtree executed in 1.43 secs 1145s # End of threaded-unregistration tests 1145s # End of gdbus tests 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s ok - glib/gdbus-export.test 1145s # Running test: glib/gmenumodel.test 1145s TAP version 14 1145s # random seed: R02S56a5cd3babd3e7f967a3499d6b04501f 1145s 1..15 1145s # Start of gmenu tests 1146s ok 1 /gmenu/equality 1146s # slow test /gmenu/equality executed in 0.80 secs 1147s ok 2 /gmenu/random 1147s # slow test /gmenu/random executed in 1.13 secs 1147s ok 3 /gmenu/attributes 1147s ok 4 /gmenu/links 1147s ok 5 /gmenu/mutable 1147s ok 6 /gmenu/convenience 1147s ok 7 /gmenu/menuitem 1147s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1147s ok 8 /gmenu/input-validation 1147s # Start of dbus tests 1148s # Executing: glib/gmenumodel.test 1148s ok 9 /gmenu/dbus/roundtrip 1148s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1149s ok 10 /gmenu/dbus/subscriptions 1150s ok 11 /gmenu/dbus/threaded 1150s # slow test /gmenu/dbus/threaded executed in 1.38 secs 1150s # Start of peer tests 1151s ok 12 /gmenu/dbus/peer/roundtrip 1151s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1152s ok 13 /gmenu/dbus/peer/subscriptions 1152s # End of peer tests 1152s # Start of export tests 1152s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1152s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1152s ok 14 /gmenu/dbus/export/error-handling 1152s # End of export tests 1152s # End of dbus tests 1152s # Start of attributes tests 1152s ok 15 /gmenu/attributes/iterate 1152s # End of attributes tests 1152s # End of gmenu tests 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s ok - glib/gmenumodel.test 1152s # Running test: glib/null-settings-backend.test 1152s TAP version 14 1152s # random seed: R02S7d8ebead807390d423a35c5696a07259 1152s 1..1 1152s # Start of null-settings-backend tests 1152s ok 1 /null-settings-backend/extension-point-registered 1152s # End of null-settings-backend tests 1152s ok - glib/null-settings-backend.test 1152s # Running test: glib/closure.test 1152s TAP version 14 1152s # random seed: R02Sb3427efc7aef2a09d56da9364529cd0f 1152s 1..6 1152s # Start of closure tests 1152s ok 1 /closure/idle 1152s ok 2 /closure/timeout 1152s ok 3 /closure/iochannel 1152s ok 4 /closure/child 1152s ok - glib/closure.test 1152s # Running test: glib/resolver-parsing.test 1152s ok - glib/resolver-parsing.test 1152s # Running test: glib/memory-output-stream.test 1152s ok - glib/memory-output-stream.test 1152s # Running test: glib/option-argv0.test 1152s ok 5 /closure/fd 1152s ok 6 /closure/signal 1152s # End of closure tests 1152s TAP version 14 1152s # random seed: R02S059fdfce91b176b86422d289af05494a 1152s 1..21 1152s # Start of gresolver tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/invalid-header/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/invalid-header/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/invalid-header/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/invalid-header/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/invalid-header/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/invalid-header/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/invalid-header/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/invalid-header/.dirs/runtime 1152s ok 1 /gresolver/invalid-header 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/record-ownership/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/record-ownership/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/record-ownership/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/record-ownership/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/record-ownership/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/record-ownership/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/record-ownership/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/record-ownership/.dirs/runtime 1152s ok 2 /gresolver/record-ownership 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/unknown-record-type/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/unknown-record-type/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/unknown-record-type/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/unknown-record-type/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/unknown-record-type/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/unknown-record-type/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/unknown-record-type/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/unknown-record-type/.dirs/runtime 1152s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1152s ok 3 /gresolver/unknown-record-type 1152s # Start of mx tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/valid/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/valid/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/mx/valid/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/valid/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/mx/valid/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/valid/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/valid/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/valid/.dirs/runtime 1152s ok 4 /gresolver/mx/valid 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/.dirs/runtime 1152s ok 5 /gresolver/mx/invalid 1152s # Start of invalid tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short/.dirs/runtime 1152s ok 6 /gresolver/mx/invalid/too-short 1152s ok - glib/option-argv0.test 1152s # Running test: glib/gdbus-proxy-threads.test 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short2/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short2/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short2/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short2/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short2/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short2/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short2/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/mx/invalid/too-short2/.dirs/runtime 1152s ok 7 /gresolver/mx/invalid/too-short2 1152s # End of invalid tests 1152s # End of mx tests 1152s # Start of ns tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/valid/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/valid/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/ns/valid/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/valid/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/ns/valid/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/valid/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/valid/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/valid/.dirs/runtime 1152s ok 8 /gresolver/ns/valid 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/invalid/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/invalid/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/ns/invalid/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/invalid/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/ns/invalid/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/invalid/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/invalid/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/ns/invalid/.dirs/runtime 1152s ok 9 /gresolver/ns/invalid 1152s # End of ns tests 1152s # Start of soa tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/valid/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/valid/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/soa/valid/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/valid/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/soa/valid/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/valid/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/valid/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/valid/.dirs/runtime 1152s ok 10 /gresolver/soa/valid 1152s # Start of invalid tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/mname/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/mname/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/mname/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/mname/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/mname/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/mname/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/mname/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/mname/.dirs/runtime 1152s ok 11 /gresolver/soa/invalid/mname 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/rname/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/rname/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/rname/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/rname/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/rname/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/rname/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/rname/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/rname/.dirs/runtime 1152s ok 12 /gresolver/soa/invalid/rname 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/too-short/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/too-short/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/too-short/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/too-short/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/too-short/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/too-short/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/too-short/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/soa/invalid/too-short/.dirs/runtime 1152s ok 13 /gresolver/soa/invalid/too-short 1152s # End of invalid tests 1152s # End of soa tests 1152s # Start of srv tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/valid/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/valid/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/srv/valid/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/valid/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/srv/valid/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/valid/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/valid/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/valid/.dirs/runtime 1152s ok 14 /gresolver/srv/valid 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/.dirs/runtime 1152s ok 15 /gresolver/srv/invalid 1152s # Start of invalid tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short/.dirs/runtime 1152s ok 16 /gresolver/srv/invalid/too-short 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short2/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short2/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short2/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short2/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short2/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short2/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short2/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/srv/invalid/too-short2/.dirs/runtime 1152s ok 17 /gresolver/srv/invalid/too-short2 1152s # End of invalid tests 1152s # End of srv tests 1152s # Start of txt tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/.dirs/runtime 1152s ok 18 /gresolver/txt/valid 1152s # Start of valid tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/multiple-strings/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/multiple-strings/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/multiple-strings/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/multiple-strings/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/multiple-strings/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/valid/multiple-strings/.dirs/runtime 1152s ok 19 /gresolver/txt/valid/multiple-strings 1152s # End of valid tests 1152s # Start of invalid tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/empty/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/empty/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/empty/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/empty/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/empty/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/empty/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/empty/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/empty/.dirs/runtime 1152s ok 20 /gresolver/txt/invalid/empty 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/overflow/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/overflow/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/overflow/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/overflow/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/overflow/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/overflow/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/overflow/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6SOIE3/gresolver/txt/invalid/overflow/.dirs/runtime 1152s ok 21 /gresolver/txt/invalid/overflow 1152s # End of invalid tests 1152s # End of txt tests 1152s # End of gresolver tests 1152s TAP version 14 1152s # random seed: R02Se5967a3954f24a635ea521905cf8cc8e 1152s 1..10 1152s # Start of memory-output-stream tests 1152s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1152s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1152s ok 1 /memory-output-stream/truncate 1152s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1152s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1152s ok 2 /memory-output-stream/get-data-size 1152s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1152s ok 3 /memory-output-stream/properties 1152s ok 4 /memory-output-stream/write-bytes 1152s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1152s ok 5 /memory-output-stream/write-null 1152s ok 6 /memory-output-stream/writev 1152s ok 7 /memory-output-stream/writev_nonblocking 1152s ok 8 /memory-output-stream/steal_as_bytes 1152s # Start of seek tests 1152s ok 9 /memory-output-stream/seek/fixed 1152s ok 10 /memory-output-stream/seek/resizable 1152s # End of seek tests 1152s # End of memory-output-stream tests 1152s TAP version 14 1152s # random seed: R02Sb88aa1e0d6d64892d5cc020aabcde756 1152s 1..1 1152s # Start of option tests 1152s ok 1 /option/argv0 1152s # End of option tests 1152s TAP version 14 1152s # random seed: R02Safea90566f4aa5115cfdfa9b1067891a 1152s 1..1 1152s # Start of gdbus tests 1152s # Start of proxy tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_4T0HE3/gdbus/proxy/vs-threads/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_4T0HE3/gdbus/proxy/vs-threads/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_4T0HE3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_4T0HE3/gdbus/proxy/vs-threads/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_4T0HE3/gdbus/proxy/vs-threads/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_4T0HE3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_4T0HE3/gdbus/proxy/vs-threads/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_4T0HE3/gdbus/proxy/vs-threads/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_4T0HE3/gdbus/proxy/vs-threads/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_4T0HE3/gdbus/proxy/vs-threads/.dirs/runtime 1153s # Executing: glib/gdbus-proxy-threads.test 1153s ok 1 /gdbus/proxy/vs-threads 1153s # slow test /gdbus/proxy/vs-threads executed in 1.32 secs 1153s # End of proxy tests 1153s # End of gdbus tests 1153s ok - glib/gdbus-proxy-threads.test 1153s cleaning up pid 6240 1153s # Running test: glib/utils-c-89.test 1153s TAP version 14 1153s # random seed: R02S6340c4d8fcd92e59bc11d25798549006 1153s 1..41 1153s # Start of utils tests 1153s ok 1 /utils/language-names 1153s # Testing locale ‘en’ 1153s # Testing locale ‘sr@latin’ 1153s # Testing locale ‘fr_BE’ 1153s # Testing locale ‘sr_SR@latin’ 1153s # Testing locale ‘sr_SR@latin.UTF-8’ 1153s # Testing locale ‘sr@latin_invalid’ 1153s # Testing locale ‘sr.UTF-8@latin’ 1153s # Testing locale ‘sr.UTF-8_latin’ 1153s # Testing locale ‘sr.UTF-8@latin_invalid’ 1153s ok 2 /utils/locale-variants 1153s ok 3 /utils/version 1153s ok 4 /utils/appname 1153s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1153s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1153s ok 5 /utils/prgname-thread-safety 1153s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1153s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1153s ok 6 /utils/tmpdir 1153s ok 7 /utils/basic_bits 1153s ok 8 /utils/bits 1153s ok 9 /utils/swap 1153s ok 10 /utils/find-program 1153s ok 11 /utils/find-program-for-path 1153s ok - glib/utils-c-89.test 1153s # Running test: glib/cond.test 1153s ok 12 /utils/debug 1153s ok 13 /utils/codeset 1153s ok 14 /utils/codeset2 1153s ok 15 /utils/console-charset 1153s ok 16 /utils/gettext 1153s ok 17 /utils/username 1153s ok 18 /utils/realname 1153s ok 19 /utils/hostname 1153s ok 20 /utils/xdgdirs 1153s ok 21 /utils/specialdir 1153s # NAME: Ubuntu 1153s ok 22 /utils/os-info 1153s ok 23 /utils/clear-pointer 1153s ok 24 /utils/clear-pointer-cast 1153s ok 25 /utils/take-pointer 1153s ok 26 /utils/clear-source 1153s ok 27 /utils/misc-mem 1153s # /utils/aligned-mem summary: Aligned memory allocator 1153s # Alignment must not be zero 1153s # Alignment must be a power of two 1153s # Alignment must be a multiple of sizeof(void*) 1153s ok 28 /utils/aligned-mem 1153s # /utils/free-sized summary: Check that g_free_sized() works 1153s ok 29 /utils/free-sized 1153s ok 30 /utils/nullify 1153s ok 31 /utils/atexit 1153s ok 32 /utils/check-setuid 1153s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1153s ok 33 /utils/int-limits 1153s ok 34 /utils/clear-list 1153s ok 35 /utils/clear-slist 1153s ok 36 /utils/steal-handle-id 1153s # Start of specialdir tests 1153s ok 37 /utils/specialdir/desktop 1153s # End of specialdir tests 1153s # Start of clear-pointer tests 1153s ok 38 /utils/clear-pointer/side-effects 1153s # End of clear-pointer tests 1153s # Start of aligned-mem tests 1153s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1153s ok 39 /utils/aligned-mem/alignment 1153s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1153s ok 40 /utils/aligned-mem/zeroed 1153s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1153s ok 41 /utils/aligned-mem/free-sized 1153s # Start of subprocess tests 1153s # End of subprocess tests 1153s # End of aligned-mem tests 1153s # End of utils tests 1153s TAP version 14 1153s # random seed: R02S620cea6d43f9c09a67717a9343417b39 1153s 1..4 1153s # Start of thread tests 1153s ok 1 /thread/cond1 1153s ok 2 /thread/cond2 1153s # Start of cond tests 1154s ok 3 /thread/cond/wait-until 1154s # slow test /thread/cond/wait-until executed in 1.02 secs 1154s # Start of wait-until tests 1154s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1154s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1155s ok 4 /thread/cond/wait-until/contended-and-interrupted 1155s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1155s # End of wait-until tests 1155s # End of cond tests 1155s # End of thread tests 1155s ok - glib/cond.test 1155s # Running test: glib/mainloop.test 1155s TAP version 14 1155s # random seed: R02S60868d7783321beb830f922c0844d7ef 1155s 1..47 1155s # Start of maincontext tests 1155s ok 1 /maincontext/basic 1155s # Add same-priority sources: 34 1155s # Find each source: 7 1155s # Remove in random order: 104 1155s ok 2 /maincontext/nsources_same_priority 1156s # Add different-priority sources: 45 1156s # Find each source: 7 1156s # Remove in random order: 111 1156s ok 3 /maincontext/nsources_different_priority 1156s # Add sources from threads: 502 1156s # Remove sources from threads: 231 1156s ok 4 /maincontext/nsources_threadpool 1156s # slow test /maincontext/nsources_threadpool executed in 0.75 secs 1156s ok 5 /maincontext/source_finalization 1156s # /maincontext/idle-once summary: Test g_idle_add_once() works 1156s ok 6 /maincontext/idle-once 1156s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1157s ok 7 /maincontext/timeout-once 1157s # /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. 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1157s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1157s # Start of source_finalization_from_source tests 1157s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1157s ok 9 /maincontext/source_finalization_from_source/0 1157s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1157s ok 10 /maincontext/source_finalization_from_source/1 1157s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1157s ok 11 /maincontext/source_finalization_from_source/2 1157s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1157s ok 12 /maincontext/source_finalization_from_source/3 1157s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1157s ok 13 /maincontext/source_finalization_from_source/4 1157s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1157s ok 14 /maincontext/source_finalization_from_source/5 1157s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1157s ok 15 /maincontext/source_finalization_from_source/6 1157s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1157s ok 16 /maincontext/source_finalization_from_source/7 1157s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1157s ok 17 /maincontext/source_finalization_from_source/8 1157s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1157s ok 18 /maincontext/source_finalization_from_source/9 1157s # End of source_finalization_from_source tests 1157s # Start of source_finalization_from_dispatch tests 1157s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1157s ok 19 /maincontext/source_finalization_from_dispatch/0 1157s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1157s ok 20 /maincontext/source_finalization_from_dispatch/1 1157s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1157s ok 21 /maincontext/source_finalization_from_dispatch/2 1157s # End of source_finalization_from_dispatch tests 1157s # End of maincontext tests 1157s # Start of mainloop tests 1157s ok 22 /mainloop/basic 1157s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1157s ok 24 /mainloop/priorities 1157s ok 25 /mainloop/invoke 1157s # slow test /mainloop/invoke executed in 0.50 secs 1157s ok 26 /mainloop/child_sources # SKIP Not reliable on older ARM hardware 1157s ok 27 /mainloop/recursive_child_sources # SKIP Not reliable on older ARM hardware 1157s ok 28 /mainloop/recursive_loop_child_sources 1157s ok 29 /mainloop/swapping_child_sources 1157s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1157s ok 30 /mainloop/blocked_child_sources 1158s # Executing: glib/mainloop.test 1158s ok 31 /mainloop/source_time 1158s # slow test /mainloop/source_time executed in 1.00 secs 1158s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1158s ok 32 /mainloop/overflow 1159s ok 33 /mainloop/ready-time 1159s # slow test /mainloop/ready-time executed in 0.50 secs 1159s ok 34 /mainloop/wakeup 1159s ok 35 /mainloop/remove-invalid 1159s ok 36 /mainloop/unref-while-pending 1160s ok 37 /mainloop/unix-fd 1160s # slow test /mainloop/unix-fd executed in 0.93 secs 1160s ok 38 /mainloop/unix-fd-source 1160s ok 39 /mainloop/source-unix-fd-api 1160s ok 40 /mainloop/wait 1160s ok 41 /mainloop/unix-file-poll 1160s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1160s ok 42 /mainloop/unix-fd-priority 1160s ok 43 /mainloop/nfds 1160s ok 44 /mainloop/steal-fd 1162s ok 45 /mainloop/simultaneous-source-context-destruction 1162s # slow test /mainloop/simultaneous-source-context-destruction executed in 2.18 secs 1162s # Start of ownerless-polling tests 1162s ok 46 /mainloop/ownerless-polling/attach-first 1162s ok 47 /mainloop/ownerless-polling/pop-first 1162s # End of ownerless-polling tests 1162s # End of mainloop tests 1162s ok - glib/mainloop.test 1162s # Running test: glib/mimeapps.test 1162s TAP version 14 1162s # random seed: R02S3714fc3b9f66f62cb9fb328b83ff95af 1162s 1..13 1162s # Start of appinfo tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/runtime 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/system-data1/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/data/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/data/applications/myapp.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/data/applications/myapp2.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/data/applications/myapp3.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/data/applications/myapp4.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/data/applications/myapp5.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1162s # removing '/tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/data/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1162s ok 1 /appinfo/all 1162s # Start of mime tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/runtime 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/system-data1/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/data/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1162s # removing '/tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/config 1162s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A5WOE3/appinfo/all/.dirs/config to /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/config 1162s ok 2 /appinfo/mime/api 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/runtime 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/system-data1/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/data/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1162s # removing '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/config 1162s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A5WOE3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/config 1162s ok 3 /appinfo/mime/default 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/runtime 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/system-data1/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/data/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1162s # removing '/tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/config 1162s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A5WOE3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/config 1162s ok 4 /appinfo/mime/file 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/runtime 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/data/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1162s # removing '/tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1162s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A5WOE3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/config 1162s ok 5 /appinfo/mime/scheme-handler 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/runtime 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/data/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1162s # removing '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/config 1162s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A5WOE3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/config 1162s ok 6 /appinfo/mime/default-last-used 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/runtime 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1162s # removing '/tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1162s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A5WOE3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/config 1162s ok 7 /appinfo/mime/ignore-nonexisting 1162s # End of mime tests 1162s # Start of mime-symlinked tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/runtime 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/system-data1/applications' 1162s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/data/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop' 1162s # removing '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache' 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/config 1162s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A5WOE3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/config 1162s ok 8 /appinfo/mime-symlinked/api 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/runtime 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/system-data1/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/data/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop' 1162s # removing '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache' 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/config 1162s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/config 1162s ok 9 /appinfo/mime-symlinked/default 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/runtime 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/system-data1/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/data/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop' 1162s # removing '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache' 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/config 1162s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/config 1162s ok 10 /appinfo/mime-symlinked/file 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1162s # removing '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1162s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1162s ok 11 /appinfo/mime-symlinked/scheme-handler 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/runtime 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1162s # removing '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache' 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/config 1162s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/config 1162s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/config 1162s ok 12 /appinfo/mime-symlinked/default-last-used 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1162s # removing '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1162s # creating '/tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1162s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_A5WOE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1162s ok 13 /appinfo/mime-symlinked/ignore-nonexisting 1162s # End of mime-symlinked tests 1162s # End of appinfo tests 1162s ok - glib/mimeapps.test 1162s # Running test: glib/macros-c-11.test 1162s TAP version 14 1162s # random seed: R02S82c8427270214476f7cf869834f8a198 1162s 1..4 1162s # Start of C tests 1162s ok 1 /C/standard-11 1162s # End of C tests 1162s # Start of alignof tests 1162s ok 2 /alignof/fallback 1162s # End of alignof tests 1162s # Start of assert tests 1162s ok 3 /assert/static 1162s # End of assert tests 1162s # Start of struct tests 1162s ok 4 /struct/sizeof_member 1162s # End of struct tests 1162s ok - glib/macros-c-11.test 1162s # Running test: glib/buffered-input-stream.test 1162s TAP version 14 1162s # random seed: R02S36b12062072d5db5b3d6e7c531a9788c 1162s 1..10 1162s # Start of buffered-input-stream tests 1162s ok 1 /buffered-input-stream/peek 1162s ok 2 /buffered-input-stream/peek-buffer 1162s ok 3 /buffered-input-stream/set-buffer-size 1162s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1162s ok 4 /buffered-input-stream/read-byte 1162s ok 5 /buffered-input-stream/read 1162s ok 6 /buffered-input-stream/read-async 1162s ok 7 /buffered-input-stream/skip 1162s ok 8 /buffered-input-stream/skip-async 1162s ok 9 /buffered-input-stream/seek 1162s # End of buffered-input-stream tests 1162s # Start of filter-input-stream tests 1162s ok 10 /filter-input-stream/close 1162s # End of filter-input-stream tests 1162s ok - glib/buffered-input-stream.test 1162s # Running test: glib/markup-collect.test 1162s ok - glib/markup-collect.test 1162s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1162s TAP version 14 1162s # random seed: R02Sa5bd38fb3939ef691c85f63396ab3484 1162s 1..21 1162s # Start of markup tests 1162s # Start of collect tests 1162s ok 1 /markup/collect/0 1162s ok 2 /markup/collect/1 1162s ok 3 /markup/collect/2 1162s ok 4 /markup/collect/3 1162s ok 5 /markup/collect/4 1162s ok 6 /markup/collect/5 1162s ok 7 /markup/collect/6 1162s ok 8 /markup/collect/7 1162s ok 9 /markup/collect/8 1162s ok 10 /markup/collect/9 1162s ok 11 /markup/collect/10 1162s ok 12 /markup/collect/11 1162s ok 13 /markup/collect/12 1162s ok 14 /markup/collect/13 1162s ok 15 /markup/collect/14 1162s ok 16 /markup/collect/15 1162s ok 17 /markup/collect/16 1162s ok 18 /markup/collect/17 1162s ok 19 /markup/collect/18 1162s ok 20 /markup/collect/19 1162s ok 21 /markup/collect/cleanup 1162s # End of collect tests 1162s # End of markup tests 1162s TAP version 14 1162s # random seed: R02Sf8762b53af521ff8f85bffc1aa2683c7 1162s 1..8 1162s # Start of gdbus tests 1162s # Start of codegen tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/annotations/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/annotations/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/annotations/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/annotations/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/annotations/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/annotations/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/annotations/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/annotations/.dirs/runtime 1162s ok 1 /gdbus/codegen/annotations 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/interface_stability/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/interface_stability/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/interface_stability/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/interface_stability/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/interface_stability/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/interface_stability/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/interface_stability/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/interface_stability/.dirs/runtime 1162s ok 2 /gdbus/codegen/interface_stability 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/object-manager/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/object-manager/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/object-manager/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/object-manager/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/object-manager/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/object-manager/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/object-manager/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/object-manager/.dirs/runtime 1162s ok 3 /gdbus/codegen/object-manager 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/property-naming/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/property-naming/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/property-naming/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/property-naming/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/property-naming/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/property-naming/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/property-naming/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/property-naming/.dirs/runtime 1162s ok 4 /gdbus/codegen/property-naming 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/autocleanups/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/autocleanups/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/autocleanups/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/autocleanups/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/autocleanups/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/autocleanups/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/autocleanups/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/autocleanups/.dirs/runtime 1162s ok 5 /gdbus/codegen/autocleanups 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/deprecations/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/deprecations/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/deprecations/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/deprecations/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/deprecations/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/deprecations/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/deprecations/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/deprecations/.dirs/runtime 1162s ok 6 /gdbus/codegen/deprecations 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/standalone-interface-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/standalone-interface-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/standalone-interface-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/standalone-interface-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/standalone-interface-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1162s ok 7 /gdbus/codegen/standalone-interface-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/unix-fd-list/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/unix-fd-list/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/unix-fd-list/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/unix-fd-list/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/unix-fd-list/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TSGWE3/gdbus/codegen/unix-fd-list/.dirs/runtime 1162s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1162s ok 8 /gdbus/codegen/unix-fd-list 1162s # End of codegen tests 1162s # End of gdbus tests 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s ok - glib/gdbus-test-codegen-min-required-2-64.test 1162s # Running test: glib/mapping.test 1162s TAP version 14 1162s # random seed: R02Se31abbdf92aa8e4d51916fdeeae574cd 1162s 1..3 1162s # Start of mapping tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_GSHVE3/mapping/flags/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_GSHVE3/mapping/flags/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_GSHVE3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_GSHVE3/mapping/flags/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_GSHVE3/mapping/flags/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_GSHVE3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_GSHVE3/mapping/flags/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_GSHVE3/mapping/flags/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_GSHVE3/mapping/flags/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_GSHVE3/mapping/flags/.dirs/runtime 1162s # test_mapping: ok 1162s ok 1 /mapping/flags 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_GSHVE3/mapping/private/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_GSHVE3/mapping/private/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_GSHVE3/mapping/private/.dirs/system-config1:/tmp/test_mapping_GSHVE3/mapping/private/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_GSHVE3/mapping/private/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_GSHVE3/mapping/private/.dirs/system-data1:/tmp/test_mapping_GSHVE3/mapping/private/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_GSHVE3/mapping/private/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_GSHVE3/mapping/private/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_GSHVE3/mapping/private/.dirs/runtime 1162s ok 2 /mapping/private 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_GSHVE3/mapping/private-child/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_GSHVE3/mapping/private-child/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_GSHVE3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_GSHVE3/mapping/private-child/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_GSHVE3/mapping/private-child/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_GSHVE3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_GSHVE3/mapping/private-child/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_GSHVE3/mapping/private-child/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_GSHVE3/mapping/private-child/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_GSHVE3/mapping/private-child/.dirs/runtime 1162s # test_child_private: child spawned 1162s # Subtest: /usr/libexec/installed-tests/glib/mapping 1162s # random seed: R02S36b53e32a6756efdc0e533eba4cb557f 1162s # test_child_private: received first child signal 1162s # test_child_private: received parent signal 1162s # Child exited with status 0 1162s # test_child_private: received second child signal 1162s ok 3 /mapping/private-child 1162s # End of mapping tests 1162s ok - glib/mapping.test 1162s # Running test: glib/tls-interaction.test 1162s TAP version 14 1162s # random seed: R02S0fa33fafd9fc63abb928c20f94f9736d 1162s 1..42 1162s # Start of tls-interaction tests 1162s # Start of ask-password tests 1162s # Start of invoke-with-loop tests 1162s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1162s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1162s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1162s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1162s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1162s # End of invoke-with-loop tests 1162s # Start of invoke-without-loop tests 1162s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1162s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1162s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1162s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1162s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1162s # End of invoke-without-loop tests 1162s # Start of invoke-in-loop tests 1162s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1162s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1162s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1162s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1162s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1162s # End of invoke-in-loop tests 1162s # Start of sync tests 1162s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1162s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1162s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1162s # End of sync tests 1162s # Start of async tests 1162s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1162s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1162s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1162s # End of async tests 1162s # End of ask-password tests 1162s # Start of request-certificate tests 1162s # Start of invoke-with-loop tests 1162s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1162s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1162s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1162s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1162s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1162s # End of invoke-with-loop tests 1162s # Start of invoke-without-loop tests 1162s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1162s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1162s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1162s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1162s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1162s # End of invoke-without-loop tests 1162s # Start of invoke-in-loop tests 1162s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1162s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1162s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1162s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1162s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1162s # End of invoke-in-loop tests 1162s # Start of sync tests 1162s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1162s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1162s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1162s # End of sync tests 1162s # Start of async tests 1162s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1162s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1162s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1162s # End of async tests 1162s # End of request-certificate tests 1162s # End of tls-interaction tests 1162s ok - glib/tls-interaction.test 1162s TAP version 14 1162s # random seed: R02Sf9f7d1b3aeac2e6a5ec6066427ce6b58 1162s 1..6 1162s # Start of glib tests 1162s # Start of checked-math tests 1162s ok 1 /glib/checked-math/guint-add 1162s ok 2 /glib/checked-math/guint-mul 1162s ok 3 /glib/checked-math/guint64-add 1162s ok 4 /glib/checked-math/guint64-mul 1162s ok 5 /glib/checked-math/gsize-add 1162s ok 6 /glib/checked-math/gsize-mul 1162s # End of checked-math tests 1162s # End of glib tests 1162s # Running test: glib/overflow-fallback.test 1162s ok - glib/overflow-fallback.test 1162s # Running test: glib/relation.test 1162s TAP version 14 1162s # random seed: R02S95a38acc20320170ab5ce5b8ea577d35 1162s 1..1 1162s # Start of glib tests 1162s ok 1 /glib/relation 1162s # End of glib tests 1162s ok - glib/relation.test 1162s # Running test: glib/scannerapi.test 1162s TAP version 14 1162s # random seed: R02Sdbdfca0ca1046da65d64b4f26b7e6065 1162s 1..8 1162s # Start of scanner tests 1162s ok 1 /scanner/warn 1162s ok 2 /scanner/error 1162s ok 3 /scanner/symbols 1162s ok 4 /scanner/tokens 1162s ok 5 /scanner/multiline-comment 1162s ok 6 /scanner/int-to-float 1162s ok 7 /scanner/fd-input 1162s # Start of fd-input tests 1162s ok 8 /scanner/fd-input/rewind 1162s # End of fd-input tests 1162s # End of scanner tests 1162s ok - glib/scannerapi.test 1162s # Running test: glib/deftype.test 1162s ok - glib/deftype.test 1162s # Running test: glib/hook.test 1162s ok - glib/hook.test 1162s TAP version 14 1162s # random seed: R02S0f5e26dcbbabf4843860fc73b08a5767 1162s 1..2 1162s # Start of hook tests 1162s ok 1 /hook/basics 1162s ok 2 /hook/corner-cases 1162s # End of hook tests 1162s # Running test: glib/object.test 1162s TAP version 14 1162s # random seed: R02Sc92380173fbde7f517916594d85cec01 1162s 1..2 1162s # Start of object tests 1162s # Start of constructor tests 1162s ok 1 /object/constructor/singleton 1162s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1162s # End of constructor tests 1162s # End of object tests 1162s ok - glib/object.test 1162s # Running test: glib/pollable.test 1162s TAP version 14 1162s # random seed: R02S40a260441c78ae5432b52ca5b00ca502 1162s 1..6 1162s # Start of pollable tests 1162s ok 1 /pollable/converter 1162s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x3b3b618 and GSocketClientAsyncConnectData 0x3b38870 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1162s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x3b3f1f0 for GSocketClientAsyncConnectData 0x3b38870 1162s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1162s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1162s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1162s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1162s ok 2 /pollable/socket 1162s # Start of unix tests 1162s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1162s ok 3 /pollable/unix/pipe 1162s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1162s ok 4 /pollable/unix/pty 1162s # /pollable/unix/file summary: Test that regular files are not considered pollable 1162s ok 5 /pollable/unix/file 1162s # /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 1162s ok 6 /pollable/unix/nulldev 1162s # End of unix tests 1162s # End of pollable tests 1162s ok - glib/pollable.test 1162s # Running test: glib/unicode-encoding.test 1162s TAP version 14 1162s # random seed: R02S0caad528463f00e74d0f189eaca76da1 1162s 1..1 1162s # Start of unicode tests 1162s ok 1 /unicode/encoding 1162s # End of unicode tests 1162s ok - glib/unicode-encoding.test 1162s # Running test: glib/srvtarget.test 1162s TAP version 14 1162s # random seed: R02Sfcc837c434848fcb1bf8290341682f86 1162s 1..1 1162s # Start of srvtarget tests 1163s ok 1 /srvtarget/srv-target-ordering 1163s # slow test /srvtarget/srv-target-ordering executed in 0.57 secs 1163s # End of srvtarget tests 1163s ok - glib/srvtarget.test 1163s # Running test: glib/bookmarkfile.test 1163s TAP version 14 1163s # random seed: R02S0a87592ee13d6674c1e49216e8665da2 1163s 1..96 1163s # Start of bookmarks tests 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/load-from-data-dirs/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/load-from-data-dirs/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/load-from-data-dirs/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/load-from-data-dirs/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/load-from-data-dirs/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/load-from-data-dirs/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/load-from-data-dirs/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/load-from-data-dirs/.dirs/runtime 1163s ok 1 /bookmarks/load-from-data-dirs 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/to-file/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/to-file/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/to-file/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/to-file/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/to-file/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/to-file/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/to-file/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/to-file/.dirs/runtime 1163s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_ZY0QE3/bookmarkfile-test-DX5QE3.xbel 1163s # Roundtrip from a valid bookmark file 1163s ok 2 /bookmarks/to-file 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/move-item/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/move-item/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/move-item/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/move-item/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/move-item/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/move-item/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/move-item/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/move-item/.dirs/runtime 1163s ok 3 /bookmarks/move-item 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/corner-cases/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/corner-cases/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/corner-cases/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/corner-cases/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/corner-cases/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/corner-cases/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/corner-cases/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/corner-cases/.dirs/runtime 1163s ok 4 /bookmarks/corner-cases 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/misc/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/misc/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/misc/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/misc/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/misc/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/misc/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/misc/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/misc/.dirs/runtime 1163s ok 5 /bookmarks/misc 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/deprecated/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/deprecated/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/deprecated/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/deprecated/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/deprecated/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/deprecated/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/deprecated/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/deprecated/.dirs/runtime 1163s ok 6 /bookmarks/deprecated 1163s # Start of parse tests 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-01.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-01.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-01.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-01.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-01.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-01.xbel/.dirs/runtime 1163s ok 7 /bookmarks/parse/fail-01.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-02.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-02.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-02.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-02.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-02.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-02.xbel/.dirs/runtime 1163s ok 8 /bookmarks/parse/fail-02.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-03.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-03.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-03.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-03.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-03.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-03.xbel/.dirs/runtime 1163s ok 9 /bookmarks/parse/fail-03.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-04.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-04.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-04.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-04.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-04.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-04.xbel/.dirs/runtime 1163s ok 10 /bookmarks/parse/fail-04.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-05.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-05.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-05.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-05.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-05.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-05.xbel/.dirs/runtime 1163s ok 11 /bookmarks/parse/fail-05.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-06.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-06.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-06.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-06.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-06.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-06.xbel/.dirs/runtime 1163s ok 12 /bookmarks/parse/fail-06.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-07.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-07.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-07.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-07.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-07.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-07.xbel/.dirs/runtime 1163s ok 13 /bookmarks/parse/fail-07.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-08.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-08.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-08.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-08.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-08.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-08.xbel/.dirs/runtime 1163s ok 14 /bookmarks/parse/fail-08.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-09.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-09.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-09.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-09.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-09.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-09.xbel/.dirs/runtime 1163s ok 15 /bookmarks/parse/fail-09.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-10.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-10.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-10.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-10.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-10.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-10.xbel/.dirs/runtime 1163s ok 16 /bookmarks/parse/fail-10.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-11.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-11.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-11.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-11.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-11.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-11.xbel/.dirs/runtime 1163s ok 17 /bookmarks/parse/fail-11.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-12.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-12.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-12.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-12.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-12.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-12.xbel/.dirs/runtime 1163s ok - glib/bookmarkfile.test 1163s # Running test: glib/memory-monitor-poll.test 1163s ok 18 /bookmarks/parse/fail-12.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-13.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-13.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-13.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-13.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-13.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-13.xbel/.dirs/runtime 1163s ok 19 /bookmarks/parse/fail-13.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-14.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-14.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-14.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-14.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-14.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-14.xbel/.dirs/runtime 1163s ok 20 /bookmarks/parse/fail-14.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-15.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-15.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-15.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-15.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-15.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-15.xbel/.dirs/runtime 1163s ok 21 /bookmarks/parse/fail-15.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-16.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-16.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-16.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-16.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-16.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-16.xbel/.dirs/runtime 1163s ok 22 /bookmarks/parse/fail-16.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-17.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-17.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-17.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-17.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-17.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-17.xbel/.dirs/runtime 1163s ok 23 /bookmarks/parse/fail-17.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-18.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-18.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-18.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-18.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-18.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-18.xbel/.dirs/runtime 1163s ok 24 /bookmarks/parse/fail-18.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-19.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-19.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-19.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-19.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-19.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-19.xbel/.dirs/runtime 1163s ok 25 /bookmarks/parse/fail-19.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-20.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-20.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-20.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-20.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-20.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-20.xbel/.dirs/runtime 1163s ok 26 /bookmarks/parse/fail-20.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-21.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-21.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-21.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-21.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-21.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-21.xbel/.dirs/runtime 1163s ok 27 /bookmarks/parse/fail-21.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-22.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-22.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-22.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-22.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-22.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-22.xbel/.dirs/runtime 1163s ok 28 /bookmarks/parse/fail-22.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-23.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-23.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-23.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-23.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-23.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-23.xbel/.dirs/runtime 1163s ok 29 /bookmarks/parse/fail-23.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-24.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-24.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-24.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-24.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-24.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-24.xbel/.dirs/runtime 1163s ok 30 /bookmarks/parse/fail-24.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-25.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-25.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-25.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-25.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-25.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-25.xbel/.dirs/runtime 1163s ok 31 /bookmarks/parse/fail-25.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-26.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-26.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-26.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-26.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-26.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-26.xbel/.dirs/runtime 1163s ok 32 /bookmarks/parse/fail-26.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-27.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-27.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-27.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-27.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-27.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-27.xbel/.dirs/runtime 1163s ok 33 /bookmarks/parse/fail-27.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-28.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-28.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-28.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-28.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-28.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-28.xbel/.dirs/runtime 1163s ok 34 /bookmarks/parse/fail-28.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-29.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-29.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-29.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-29.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-29.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-29.xbel/.dirs/runtime 1163s ok 35 /bookmarks/parse/fail-29.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-30.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-30.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-30.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-30.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-30.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-30.xbel/.dirs/runtime 1163s ok 36 /bookmarks/parse/fail-30.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-31.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-31.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-31.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-31.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-31.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-31.xbel/.dirs/runtime 1163s ok 37 /bookmarks/parse/fail-31.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-32.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-32.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-32.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-32.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-32.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-32.xbel/.dirs/runtime 1163s ok 38 /bookmarks/parse/fail-32.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-33.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-33.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-33.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-33.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-33.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-33.xbel/.dirs/runtime 1163s ok 39 /bookmarks/parse/fail-33.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-34.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-34.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-34.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-34.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-34.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-34.xbel/.dirs/runtime 1163s ok 40 /bookmarks/parse/fail-34.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-35.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-35.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-35.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-35.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-35.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-35.xbel/.dirs/runtime 1163s ok 41 /bookmarks/parse/fail-35.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-36.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-36.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-36.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-36.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-36.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-36.xbel/.dirs/runtime 1163s ok 42 /bookmarks/parse/fail-36.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-37.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-37.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-37.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-37.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-37.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-37.xbel/.dirs/runtime 1163s ok 43 /bookmarks/parse/fail-37.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-38.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-38.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-38.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-38.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-38.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-38.xbel/.dirs/runtime 1163s ok 44 /bookmarks/parse/fail-38.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-39.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-39.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-39.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-39.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-39.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-39.xbel/.dirs/runtime 1163s ok 45 /bookmarks/parse/fail-39.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-40.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-40.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-40.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-40.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-40.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-40.xbel/.dirs/runtime 1163s ok 46 /bookmarks/parse/fail-40.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-41.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-41.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-41.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-41.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-41.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-41.xbel/.dirs/runtime 1163s ok 47 /bookmarks/parse/fail-41.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-42.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-42.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-42.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-42.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-42.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/fail-42.xbel/.dirs/runtime 1163s ok 48 /bookmarks/parse/fail-42.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-01.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-01.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-01.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-01.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-01.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-01.xbel/.dirs/runtime 1163s ok 49 /bookmarks/parse/valid-01.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-02.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-02.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-02.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-02.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-02.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-02.xbel/.dirs/runtime 1163s ok 50 /bookmarks/parse/valid-02.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-03.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-03.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-03.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-03.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-03.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/parse/valid-03.xbel/.dirs/runtime 1163s ok 51 /bookmarks/parse/valid-03.xbel 1163s # End of parse tests 1163s # Start of copy tests 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-01.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-01.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-01.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-01.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-01.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-01.xbel/.dirs/runtime 1163s ok 52 /bookmarks/copy/fail-01.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-02.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-02.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-02.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-02.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-02.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-02.xbel/.dirs/runtime 1163s ok 53 /bookmarks/copy/fail-02.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-03.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-03.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-03.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-03.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-03.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-03.xbel/.dirs/runtime 1163s ok 54 /bookmarks/copy/fail-03.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-04.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-04.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-04.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-04.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-04.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-04.xbel/.dirs/runtime 1163s ok 55 /bookmarks/copy/fail-04.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-05.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-05.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-05.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-05.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-05.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-05.xbel/.dirs/runtime 1163s ok 56 /bookmarks/copy/fail-05.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-06.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-06.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-06.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-06.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-06.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-06.xbel/.dirs/runtime 1163s ok 57 /bookmarks/copy/fail-06.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-07.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-07.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-07.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-07.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-07.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-07.xbel/.dirs/runtime 1163s ok 58 /bookmarks/copy/fail-07.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-08.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-08.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-08.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-08.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-08.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-08.xbel/.dirs/runtime 1163s ok 59 /bookmarks/copy/fail-08.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-09.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-09.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-09.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-09.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-09.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-09.xbel/.dirs/runtime 1163s ok 60 /bookmarks/copy/fail-09.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-10.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-10.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-10.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-10.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-10.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-10.xbel/.dirs/runtime 1163s ok 61 /bookmarks/copy/fail-10.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-11.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-11.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-11.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-11.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-11.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-11.xbel/.dirs/runtime 1163s ok 62 /bookmarks/copy/fail-11.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-12.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-12.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-12.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-12.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-12.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-12.xbel/.dirs/runtime 1163s ok 63 /bookmarks/copy/fail-12.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-13.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-13.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-13.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-13.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-13.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-13.xbel/.dirs/runtime 1163s ok 64 /bookmarks/copy/fail-13.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-14.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-14.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-14.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-14.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-14.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-14.xbel/.dirs/runtime 1163s ok 65 /bookmarks/copy/fail-14.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-15.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-15.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-15.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-15.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-15.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-15.xbel/.dirs/runtime 1163s ok 66 /bookmarks/copy/fail-15.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-16.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-16.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-16.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-16.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-16.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-16.xbel/.dirs/runtime 1163s ok 67 /bookmarks/copy/fail-16.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-17.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-17.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-17.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-17.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-17.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-17.xbel/.dirs/runtime 1163s ok 68 /bookmarks/copy/fail-17.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-18.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-18.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-18.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-18.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-18.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-18.xbel/.dirs/runtime 1163s ok 69 /bookmarks/copy/fail-18.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-19.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-19.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-19.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-19.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-19.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-19.xbel/.dirs/runtime 1163s ok 70 /bookmarks/copy/fail-19.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-20.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-20.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-20.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-20.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-20.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-20.xbel/.dirs/runtime 1163s ok 71 /bookmarks/copy/fail-20.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-21.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-21.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-21.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-21.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-21.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-21.xbel/.dirs/runtime 1163s ok 72 /bookmarks/copy/fail-21.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-22.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-22.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-22.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-22.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-22.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-22.xbel/.dirs/runtime 1163s ok 73 /bookmarks/copy/fail-22.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-23.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-23.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-23.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-23.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-23.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-23.xbel/.dirs/runtime 1163s ok 74 /bookmarks/copy/fail-23.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-24.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-24.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-24.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-24.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-24.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-24.xbel/.dirs/runtime 1163s ok 75 /bookmarks/copy/fail-24.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-25.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-25.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-25.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-25.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-25.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-25.xbel/.dirs/runtime 1163s ok 76 /bookmarks/copy/fail-25.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-26.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-26.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-26.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-26.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-26.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-26.xbel/.dirs/runtime 1163s ok 77 /bookmarks/copy/fail-26.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-27.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-27.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-27.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-27.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-27.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-27.xbel/.dirs/runtime 1163s ok 78 /bookmarks/copy/fail-27.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-28.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-28.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-28.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-28.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-28.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-28.xbel/.dirs/runtime 1163s ok 79 /bookmarks/copy/fail-28.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-29.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-29.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-29.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-29.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-29.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-29.xbel/.dirs/runtime 1163s ok 80 /bookmarks/copy/fail-29.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-30.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-30.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-30.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-30.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-30.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-30.xbel/.dirs/runtime 1163s ok 81 /bookmarks/copy/fail-30.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-31.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-31.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-31.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-31.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-31.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-31.xbel/.dirs/runtime 1163s ok 82 /bookmarks/copy/fail-31.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-32.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-32.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-32.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-32.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-32.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-32.xbel/.dirs/runtime 1163s ok 83 /bookmarks/copy/fail-32.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-33.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-33.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-33.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-33.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-33.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-33.xbel/.dirs/runtime 1163s ok 84 /bookmarks/copy/fail-33.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-34.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-34.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-34.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-34.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-34.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-34.xbel/.dirs/runtime 1163s ok 85 /bookmarks/copy/fail-34.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-35.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-35.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-35.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-35.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-35.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-35.xbel/.dirs/runtime 1163s ok 86 /bookmarks/copy/fail-35.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-36.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-36.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-36.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-36.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-36.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-36.xbel/.dirs/runtime 1163s ok 87 /bookmarks/copy/fail-36.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-37.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-37.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-37.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-37.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-37.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-37.xbel/.dirs/runtime 1163s ok 88 /bookmarks/copy/fail-37.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-38.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-38.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-38.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-38.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-38.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-38.xbel/.dirs/runtime 1163s ok 89 /bookmarks/copy/fail-38.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-39.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-39.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-39.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-39.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-39.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-39.xbel/.dirs/runtime 1163s ok 90 /bookmarks/copy/fail-39.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-40.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-40.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-40.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-40.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-40.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-40.xbel/.dirs/runtime 1163s ok 91 /bookmarks/copy/fail-40.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-41.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-41.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-41.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-41.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-41.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-41.xbel/.dirs/runtime 1163s ok 92 /bookmarks/copy/fail-41.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-42.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-42.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-42.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-42.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-42.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/fail-42.xbel/.dirs/runtime 1163s ok 93 /bookmarks/copy/fail-42.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-01.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-01.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-01.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-01.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-01.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-01.xbel/.dirs/runtime 1163s ok 94 /bookmarks/copy/valid-01.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-02.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-02.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-02.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-02.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-02.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-02.xbel/.dirs/runtime 1163s ok 95 /bookmarks/copy/valid-02.xbel 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-03.xbel/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-03.xbel/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-03.xbel/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-03.xbel/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-03.xbel/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ZY0QE3/bookmarks/copy/valid-03.xbel/.dirs/runtime 1163s ok 96 /bookmarks/copy/valid-03.xbel 1163s # End of copy tests 1163s # End of bookmarks tests 1163s TAP version 14 1163s # random seed: R02S11316af8ff7646c1bb1d03409c4e741c 1163s 1..4 1163s # Start of memory-monitor-poll tests 1163s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 1163s ok 1 /memory-monitor-poll/dup-default 1163s # GLib-GIO-DEBUG: memory free ratio 0.190000 1163s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1163s ok 2 /memory-monitor-poll/critical-event 1163s # Executing: glib/memory-monitor-poll.test 1163s # GLib-GIO-DEBUG: memory free ratio 0.290000 1163s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1163s ok 3 /memory-monitor-poll/medium-event 1163s # GLib-GIO-DEBUG: memory free ratio 0.390000 1163s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1163s ok 4 /memory-monitor-poll/low-event 1163s # End of memory-monitor-poll tests 1163s ok - glib/memory-monitor-poll.test 1163s # Running test: glib/atomic-c-99.test 1163s TAP version 14 1163s # random seed: R02Sc654784537790818bbd6f856459a2a08 1163s 1..2 1163s # Start of atomic tests 1163s ok 1 /atomic/types 1163s ok 2 /atomic/threaded 1163s # End of atomic tests 1163s ok - glib/atomic-c-99.test 1163s # Running test: glib/socket-listener.test 1163s TAP version 14 1163s # random seed: R02Sd71a02572296f599780c3bf2138bc3fb 1163s 1..4 1163s # Start of socket-listener tests 1163s ok 1 /socket-listener/event-signal 1163s # Start of accept tests 1163s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 1163s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 1163s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1163s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe457678 and GSocketClientAsyncConnectData 0xe457630 1163s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1163s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe45b558 and GSocketClientAsyncConnectData 0xe45b500 1163s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1163s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe45ba18 and GSocketClientAsyncConnectData 0xe45b9c0 1163s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1163s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe45bfd8 and GSocketClientAsyncConnectData 0xe45bf80 1163s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1163s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe45c508 and GSocketClientAsyncConnectData 0xe45c4b0 1163s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1163s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1163s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe45dfb8 for GSocketClientAsyncConnectData 0xe457630 1163s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1163s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1163s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe45f268 for GSocketClientAsyncConnectData 0xe45b500 1163s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1163s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1163s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe45f668 for GSocketClientAsyncConnectData 0xe45b9c0 1163s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1163s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1163s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe45fc08 for GSocketClientAsyncConnectData 0xe45bf80 1163s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1163s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1163s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe45d928 for GSocketClientAsyncConnectData 0xe45c4b0 1163s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1163s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1163s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1163s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1163s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1163s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1163s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1163s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1163s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1163s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1163s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1163s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1163s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1163s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1163s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1163s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1163s ok 2 /socket-listener/accept/multi-simultaneously 1163s # End of accept tests 1163s # Start of add-any-inet-port tests 1163s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1163s # Test 0 1163s # Test 1 1163s # Test 2 1163s # Test 3 1163s # Test 4 1163s # Test 5 1163s # Test 6 1163s # Test 7 1163s # Test 8 1163s # Test 9 1163s # Test 10 1163s ok 3 /socket-listener/add-any-inet-port/listen-failures 1163s # End of add-any-inet-port tests 1163s # Start of add-inet-port tests 1163s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1163s # Test 0 1163s # Test 1 1163s # Test 2 1163s # Test 3 1163s # Test 4 1163s # Test 5 1163s # Test 6 1163s # Test 7 1163s # Test 8 1163s # Test 9 1163s # Test 10 1163s ok 4 /socket-listener/add-inet-port/listen-failures 1163s # End of add-inet-port tests 1163s # End of socket-listener tests 1163s ok - glib/socket-listener.test 1163s # Running test: glib/async-splice-output-stream.test 1163s TAP version 14 1163s # random seed: R02Sf696bcb831a116a4f5ca2218dd30502c 1163s 1..5 1163s # Start of async-splice tests 1163s ok 1 /async-splice/copy-chunks 1163s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1163s ok 2 /async-splice/copy-chunks-threaded-input 1163s ok 3 /async-splice/copy-chunks-threaded-output 1163s ok 4 /async-splice/copy-chunks-threaded 1163s ok 5 /async-splice/cancelled 1163s # End of async-splice tests 1163s ok - glib/async-splice-output-stream.test 1163s # Running test: glib/types.test 1163s TAP version 14 1163s ok - glib/types.test 1163s # Running test: glib/mount-operation.test 1163s # random seed: R02Sd263f768eae80e02f1c3990759113e79 1163s 1..1 1163s # Start of types tests 1163s ok 1 /types/basic_types 1163s # End of types tests 1163s TAP version 14 1163s # random seed: R02S9f2a533c742cb59432fa7db45749c143 1163s 1..2 1163s # Start of mount-operation tests 1163s ok 1 /mount-operation/construction 1163s ok 2 /mount-operation/properties 1163s # End of mount-operation tests 1163s ok - glib/mount-operation.test 1163s # Running test: glib/thread-pool.test 1163s TAP version 14 1163s # random seed: R02Se5fe7e74d780a155f5a67a65fca2fb5f 1163s 1..6 1163s # Start of thread_pool tests 1163s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 1163s ok 1 /thread_pool/pool_fail 1163s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1163s ok 2 /thread_pool/shared 1163s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1163s ok 3 /thread_pool/exclusive 1163s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1163s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1163s ok 4 /thread_pool/create_shared_after_exclusive 1163s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1163s ok 5 /thread_pool/create_full 1163s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1163s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1163s ok 6 /thread_pool/create_exclusive_after_shared 1163s # End of thread_pool tests 1163s ok - glib/thread-pool.test 1163s # Running test: glib/queue.test 1163s TAP version 14 1163s # random seed: R02S016635c39e49e1cff2e3bae461f4244b 1163s 1..12 1163s # Start of queue tests 1163s ok 1 /queue/basic 1163s ok 2 /queue/copy 1163s ok 3 /queue/off-by-one 1163s ok 4 /queue/find-custom 1163s ok 5 /queue/static 1163s ok 6 /queue/clear 1163s ok 7 /queue/free-full 1163s ok 8 /queue/clear-full 1163s ok 9 /queue/insert-sibling-link 1163s ok 10 /queue/push-nth-link 1163s # Start of clear-full tests 1163s ok 11 /queue/clear-full/noop 1163s # End of clear-full tests 1163s # Start of random tests 1163s ok 12 /queue/random/seed:335577825 1163s # End of random tests 1163s # End of queue tests 1163s ok - glib/queue.test 1163s TAP version 14 1163s # random seed: R02Sa2cb858a0c226240a84408c89e0aa000 1163s 1..41 1163s # Start of utils tests 1163s ok 1 /utils/language-names 1163s # Testing locale ‘en’ 1163s # Testing locale ‘sr@latin’ 1163s # Testing locale ‘fr_BE’ 1163s # Testing locale ‘sr_SR@latin’ 1163s # Testing locale ‘sr_SR@latin.UTF-8’ 1163s # Testing locale ‘sr@latin_invalid’ 1163s # Testing locale ‘sr.UTF-8@latin’ 1163s # Testing locale ‘sr.UTF-8_latin’ 1163s # Testing locale ‘sr.UTF-8@latin_invalid’ 1163s ok 2 /utils/locale-variants 1163s ok 3 /utils/version 1163s ok 4 /utils/appname 1163s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1163s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1163s # Running test: glib/utils-c-99.test 1163s ok 5 /utils/prgname-thread-safety 1163s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1163s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1163s ok 6 /utils/tmpdir 1163s ok 7 /utils/basic_bits 1163s ok 8 /utils/bits 1163s ok 9 /utils/swap 1163s ok 10 /utils/find-program 1163s ok 11 /utils/find-program-for-path 1163s ok 12 /utils/debug 1163s ok 13 /utils/codeset 1163s ok 14 /utils/codeset2 1163s ok 15 /utils/console-charset 1163s ok 16 /utils/gettext 1163s ok 17 /utils/username 1163s ok 18 /utils/realname 1163s ok 19 /utils/hostname 1163s ok 20 /utils/xdgdirs 1163s ok 21 /utils/specialdir 1163s # NAME: Ubuntu 1163s ok 22 /utils/os-info 1163s ok 23 /utils/clear-pointer 1163s ok 24 /utils/clear-pointer-cast 1163s ok 25 /utils/take-pointer 1163s ok 26 /utils/clear-source 1163s ok 27 /utils/misc-mem 1163s # /utils/aligned-mem summary: Aligned memory allocator 1163s # Alignment must not be zero 1163s # Alignment must be a power of two 1163s # Alignment must be a multiple of sizeof(void*) 1163s ok 28 /utils/aligned-mem 1163s # /utils/free-sized summary: Check that g_free_sized() works 1163s ok 29 /utils/free-sized 1163s ok 30 /utils/nullify 1163s ok 31 /utils/atexit 1163s ok 32 /utils/check-setuid 1163s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1163s ok 33 /utils/int-limits 1163s ok 34 /utils/clear-list 1163s ok 35 /utils/clear-slist 1163s ok 36 /utils/steal-handle-id 1163s # Start of specialdir tests 1163s ok 37 /utils/specialdir/desktop 1163s # End of specialdir tests 1163s # Start of clear-pointer tests 1163s ok 38 /utils/clear-pointer/side-effects 1163s # End of clear-pointer tests 1163s # Start of aligned-mem tests 1163s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1163s ok 39 /utils/aligned-mem/alignment 1163s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1163s ok 40 /utils/aligned-mem/zeroed 1163s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1163s ok 41 /utils/aligned-mem/free-sized 1163s # Start of subprocess tests 1163s # End of subprocess tests 1163s # End of aligned-mem tests 1163s # End of utils tests 1163s ok - glib/utils-c-99.test 1163s # Running test: glib/spawn-test.test 1163s TAP version 14 1163s # random seed: R02S396fff28227f506dcc958154965ff468 1163s 1..2 1163s # Start of spawn tests 1163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_3UXZE3/spawn/basics/.dirs/home 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_3UXZE3/spawn/basics/.dirs/cache 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_3UXZE3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_3UXZE3/spawn/basics/.dirs/system-config2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_3UXZE3/spawn/basics/.dirs/config 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_3UXZE3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_3UXZE3/spawn/basics/.dirs/system-data2 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_3UXZE3/spawn/basics/.dirs/data 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_3UXZE3/spawn/basics/.dirs/state 1163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_3UXZE3/spawn/basics/.dirs/runtime 1164s ok 1 /spawn/basics 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_3UXZE3/spawn/stdio-overwrite/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_3UXZE3/spawn/stdio-overwrite/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_3UXZE3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_3UXZE3/spawn/stdio-overwrite/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_3UXZE3/spawn/stdio-overwrite/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_3UXZE3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_3UXZE3/spawn/stdio-overwrite/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_3UXZE3/spawn/stdio-overwrite/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_3UXZE3/spawn/stdio-overwrite/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_3UXZE3/spawn/stdio-overwrite/.dirs/runtime 1164s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1164s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1164s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1164s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1164s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1164s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1164s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1164s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1164s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1164s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1164s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1164s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1164s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1164s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1164s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1164s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1164s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1164s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1164s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1164s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1164s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1164s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1164s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1164s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1164s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1164s # Fetching GSpawn result with stdin open, stdout open, stderr open 1164s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1164s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1164s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1164s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1164s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1164s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1164s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1164s ok 2 /spawn/stdio-overwrite 1164s # End of spawn tests 1164s ok - glib/spawn-test.test 1164s # Running test: glib/utils-c-11.test 1164s TAP version 14 1164s # random seed: R02S055b007a9162664075b773aa8d23c53c 1164s 1..41 1164s # Start of utils tests 1164s ok 1 /utils/language-names 1164s # Testing locale ‘en’ 1164s # Testing locale ‘sr@latin’ 1164s # Testing locale ‘fr_BE’ 1164s # Testing locale ‘sr_SR@latin’ 1164s # Testing locale ‘sr_SR@latin.UTF-8’ 1164s # Testing locale ‘sr@latin_invalid’ 1164s # Testing locale ‘sr.UTF-8@latin’ 1164s # Testing locale ‘sr.UTF-8_latin’ 1164s # Testing locale ‘sr.UTF-8@latin_invalid’ 1164s ok 2 /utils/locale-variants 1164s ok 3 /utils/version 1164s ok 4 /utils/appname 1164s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1164s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1164s ok 5 /utils/prgname-thread-safety 1164s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1164s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1164s ok 6 /utils/tmpdir 1164s ok 7 /utils/basic_bits 1164s ok 8 /utils/bits 1164s ok 9 /utils/swap 1164s ok 10 /utils/find-program 1164s ok 11 /utils/find-program-for-path 1164s ok 12 /utils/debug 1164s ok 13 /utils/codeset 1164s ok 14 /utils/codeset2 1164s ok 15 /utils/console-charset 1164s ok 16 /utils/gettext 1164s ok 17 /utils/username 1164s ok 18 /utils/realname 1164s ok 19 /utils/hostname 1164s ok 20 /utils/xdgdirs 1164s ok 21 /utils/specialdir 1164s # NAME: Ubuntu 1164s ok 22 /utils/os-info 1164s ok 23 /utils/clear-pointer 1164s ok 24 /utils/clear-pointer-cast 1164s ok 25 /utils/take-pointer 1164s ok 26 /utils/clear-source 1164s ok 27 /utils/misc-mem 1164s # /utils/aligned-mem summary: Aligned memory allocator 1164s # Alignment must not be zero 1164s # Alignment must be a power of two 1164s # Alignment must be a multiple of sizeof(void*) 1164s ok 28 /utils/aligned-mem 1164s # /utils/free-sized summary: Check that g_free_sized() works 1164s ok 29 /utils/free-sized 1164s ok 30 /utils/nullify 1164s ok 31 /utils/atexit 1164s ok 32 /utils/check-setuid 1164s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1164s ok 33 /utils/int-limits 1164s ok 34 /utils/clear-list 1164s ok 35 /utils/clear-slist 1164s ok 36 /utils/steal-handle-id 1164s # Start of specialdir tests 1164s ok 37 /utils/specialdir/desktop 1164s # End of specialdir tests 1164s # Start of clear-pointer tests 1164s ok 38 /utils/clear-pointer/side-effects 1164s # End of clear-pointer tests 1164s # Start of aligned-mem tests 1164s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1164s ok 39 /utils/aligned-mem/alignment 1164s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1164s ok 40 /utils/aligned-mem/zeroed 1164s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1164s ok 41 /utils/aligned-mem/free-sized 1164s # Start of subprocess tests 1164s # End of subprocess tests 1164s # End of aligned-mem tests 1164s # End of utils tests 1164s ok - glib/utils-c-11.test 1164s # Running test: glib/cxx-03.test 1164s TAP version 14 1164s # random seed: R02Sc597aee8dd1802323c25df0f1746cc41 1164s 1..2 1164s # Start of gtask tests 1164s # 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. 1164s ok 1 /gtask/name 1164s # Start of name tests 1164s # 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. 1164s ok 2 /gtask/name/macro-wrapper 1164s # End of name tests 1164s # End of gtask tests 1164s ok - glib/cxx-03.test 1164s # Running test: glib/async-close-output-stream.test 1164s TAP version 14 1164s # random seed: R02S9ace20eae0a6d706aaf7721f274af74c 1164s 1..3 1164s # Start of close-async tests 1164s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1164s ok 1 /close-async/without-flush 1164s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1164s ok 2 /close-async/with-flush 1164s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1164s ok 3 /close-async/with-async-flush 1164s # End of close-async tests 1164s ok - glib/async-close-output-stream.test 1164s # Running test: glib/unicode-normalize.test 1164s TAP version 14 1164s # random seed: R02S923b80184e9bcdc934752a63f154a068 1164s 1..3 1164s # Start of unicode tests 1164s # Processing Part0 # Specific cases 1164s # Processing Part1 # Character by character test 1164s # Processing Part2 # Canonical Order Test 1164s # Processing Part3 # PRI #29 Test 1164s # Processing Part4 # Canonical closures (excluding Hangul) 1164s # Processing Part5 # Chained primary composites 1164s ok 1 /unicode/normalize 1164s # Invalid UTF-8 vector 0 1164s # Invalid UTF-8 vector 1 1164s # Invalid UTF-8 vector 2 1164s # Invalid UTF-8 vector 3 1164s # Invalid UTF-8 vector 4 1164s # Invalid UTF-8 vector 5 1164s # Invalid UTF-8 vector 6 1164s # Invalid UTF-8 vector 7 1164s # Invalid UTF-8 vector 8 1164s # Invalid UTF-8 vector 9 1164s # Invalid UTF-8 vector 10 1164s # Invalid UTF-8 vector 11 1164s # Invalid UTF-8 vector 12 1164s ok 2 /unicode/normalize-invalid 1164s # Start of normalize tests 1164s ok 3 /unicode/normalize/bad-length 1164s # End of normalize tests 1164s # End of unicode tests 1164s ok - glib/unicode-normalize.test 1164s # Running test: glib/utils-isolated.test 1164s TAP version 14 1164s # random seed: R02Scf032504d55b3e5e0e9e21fa6ff233b4 1164s 1..11 1164s # Start of utils-isolated tests 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/tmp-dir/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/tmp-dir/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/tmp-dir/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/tmp-dir/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/tmp-dir/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/tmp-dir/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/tmp-dir/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_83ZRE3/utils-isolated/tmp-dir/.dirs/runtime 1164s ok 1 /utils-isolated/tmp-dir 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/home-dir/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/home-dir/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/home-dir/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/home-dir/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/home-dir/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/home-dir/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/home-dir/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_83ZRE3/utils-isolated/home-dir/.dirs/runtime 1164s ok 2 /utils-isolated/home-dir 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-cache-dir/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-cache-dir/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/user-cache-dir/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-cache-dir/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/user-cache-dir/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-cache-dir/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-cache-dir/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-cache-dir/.dirs/runtime 1164s ok 3 /utils-isolated/user-cache-dir 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-config-dirs/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-config-dirs/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/system-config-dirs/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-config-dirs/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/system-config-dirs/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-config-dirs/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-config-dirs/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-config-dirs/.dirs/runtime 1164s ok 4 /utils-isolated/system-config-dirs 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-config-dir/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-config-dir/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/user-config-dir/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-config-dir/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/user-config-dir/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-config-dir/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-config-dir/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-config-dir/.dirs/runtime 1164s ok 5 /utils-isolated/user-config-dir 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-data-dirs/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-data-dirs/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/system-data-dirs/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-data-dirs/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/system-data-dirs/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-data-dirs/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-data-dirs/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_83ZRE3/utils-isolated/system-data-dirs/.dirs/runtime 1164s ok 6 /utils-isolated/system-data-dirs 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-data-dir/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-data-dir/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/user-data-dir/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-data-dir/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/user-data-dir/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-data-dir/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-data-dir/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-data-dir/.dirs/runtime 1164s ok 7 /utils-isolated/user-data-dir 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-state-dir/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-state-dir/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/user-state-dir/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-state-dir/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/user-state-dir/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-state-dir/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-state-dir/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-state-dir/.dirs/runtime 1164s ok 8 /utils-isolated/user-state-dir 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-runtime-dir/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-runtime-dir/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/user-runtime-dir/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-runtime-dir/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/user-runtime-dir/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-runtime-dir/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-runtime-dir/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_83ZRE3/utils-isolated/user-runtime-dir/.dirs/runtime 1164s ok 9 /utils-isolated/user-runtime-dir 1164s # Start of cleanup tests 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/handles-errors/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/handles-errors/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/handles-errors/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/handles-errors/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/handles-errors/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/handles-errors/.dirs/runtime 1164s Unable to clean up temporary directory /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1164s Unable to clean up temporary directory /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1164s Unable to clean up temporary directory /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/handles-errors: Directory not empty 1164s ok 10 /utils-isolated/cleanup/handles-errors 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1164s Unable to clean up temporary directory /tmp/test_utils-isolated_83ZRE3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1164s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1164s # End of cleanup tests 1164s # End of utils-isolated tests 1164s ok - glib/utils-isolated.test 1164s # Running test: glib/tree.test 1164s TAP version 14 1164s # random seed: R02Sff89d7606b37c235893334a3ee6dc850 1164s 1..7 1164s # Start of tree tests 1164s ok 1 /tree/search 1164s ok - glib/tree.test 1164s ok 2 /tree/remove 1164s ok 3 /tree/destroy 1164s ok 4 /tree/traverse 1164s ok 5 /tree/insert 1164s ok 6 /tree/bounds 1164s ok 7 /tree/remove-all 1164s # End of tree tests 1164s # Running test: glib/data-input-stream.test 1164s TAP version 14 1164s # random seed: R02S4b157d22eec2826531d3dd7f962eeeca 1164s 1..10 1164s # Start of data-input-stream tests 1164s ok 1 /data-input-stream/basic 1164s ok 2 /data-input-stream/read-lines-LF 1164s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1164s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1164s ok 5 /data-input-stream/read-lines-CR 1164s ok 6 /data-input-stream/read-lines-CR-LF 1164s ok 7 /data-input-stream/read-lines-any 1164s ok 8 /data-input-stream/read-until 1164s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 1164s # Test vector 1: {"key": "value"}? and ? 1164s ok 9 /data-input-stream/read-upto 1164s ok 10 /data-input-stream/read-int 1164s # End of data-input-stream tests 1164s ok - glib/data-input-stream.test 1164s # Running test: glib/rec-mutex.test 1164s TAP version 14 1164s # random seed: R02S6e841fa664313f52e6cccd9441b091ce 1164s 1..29 1164s # Start of thread tests 1164s ok 1 /thread/rec-mutex1 1164s ok 2 /thread/rec-mutex2 1164s ok 3 /thread/rec-mutex3 1164s ok 4 /thread/rec-mutex4 1164s # Start of rec-mutex tests 1164s # Start of perf tests 1164s # Start of uncontended tests 1164s # max perf: 1.000000 mips 1164s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1164s # max perf: 1.000000 mips 1164s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1164s # max perf: 1.000000 mips 1164s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1164s # max perf: inf mips 1164s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1164s # max perf: 1.000000 mips 1164s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1164s # End of uncontended tests 1164s # Start of contended1 tests 1164s # max perf: inf mips 1164s ok 10 /thread/rec-mutex/perf/contended1/depth1 1164s # max perf: inf mips 1164s ok 11 /thread/rec-mutex/perf/contended1/depth2 1164s # max perf: 2.000000 mips 1164s ok 12 /thread/rec-mutex/perf/contended1/depth3 1164s # max perf: 2.000000 mips 1164s ok 13 /thread/rec-mutex/perf/contended1/depth4 1164s # max perf: inf mips 1164s ok 14 /thread/rec-mutex/perf/contended1/depth5 1164s # End of contended1 tests 1164s # Start of contended2 tests 1164s # max perf: 3.000000 mips 1164s ok 15 /thread/rec-mutex/perf/contended2/depth1 1164s # max perf: 3.000000 mips 1164s ok 16 /thread/rec-mutex/perf/contended2/depth2 1164s # max perf: 3.000000 mips 1164s ok 17 /thread/rec-mutex/perf/contended2/depth3 1164s # max perf: inf mips 1164s ok 18 /thread/rec-mutex/perf/contended2/depth4 1164s # max perf: 3.000000 mips 1164s ok 19 /thread/rec-mutex/perf/contended2/depth5 1164s # End of contended2 tests 1164s # Start of contended3 tests 1164s # max perf: 1.333333 mips 1164s ok 20 /thread/rec-mutex/perf/contended3/depth1 1164s # max perf: inf mips 1164s ok 21 /thread/rec-mutex/perf/contended3/depth2 1164s # max perf: 4.000000 mips 1164s ok 22 /thread/rec-mutex/perf/contended3/depth3 1164s # max perf: 0.266667 mips 1164s ok 23 /thread/rec-mutex/perf/contended3/depth4 1164s # max perf: 4.000000 mips 1164s ok 24 /thread/rec-mutex/perf/contended3/depth5 1164s # End of contended3 tests 1164s # Start of contended4 tests 1164s # max perf: 1.250000 mips 1164s ok 25 /thread/rec-mutex/perf/contended4/depth1 1164s # max perf: 0.625000 mips 1164s ok 26 /thread/rec-mutex/perf/contended4/depth2 1164s # max perf: 2.500000 mips 1164s ok 27 /thread/rec-mutex/perf/contended4/depth3 1164s # max perf: 0.384615 mips 1164s ok 28 /thread/rec-mutex/perf/contended4/depth4 1164s # max perf: 0.294118 mips 1164s ok 29 /thread/rec-mutex/perf/contended4/depth5 1164s # End of contended4 tests 1164s # End of perf tests 1164s # End of rec-mutex tests 1164s # End of thread tests 1164s ok - glib/rec-mutex.test 1164s # Running test: glib/file-enumerator.test 1164s TAP version 14 1164s # random seed: R02Sa73318df9032f2457c82bf3e3816d862 1164s 1..1 1164s # Start of file-enumerator tests 1164s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1164s ok 1 /file-enumerator/close-on-dispose 1164s # End of file-enumerator tests 1164s ok - glib/file-enumerator.test 1164s # Running test: glib/asyncqueue.test 1164s TAP version 14 1164s # random seed: R02S3400f335e8f6ac6ce999777ffb0da9af 1164s 1..7 1164s # Start of asyncqueue tests 1164s ok 1 /asyncqueue/basics 1164s ok 2 /asyncqueue/sort 1164s ok 3 /asyncqueue/destroy 1164s ok 4 /asyncqueue/threads 1164s ok 5 /asyncqueue/timed 1164s ok 6 /asyncqueue/remove 1164s ok 7 /asyncqueue/push_front 1164s # End of asyncqueue tests 1164s ok - glib/asyncqueue.test 1164s # Running test: glib/converter.test 1164s TAP version 14 1164s # random seed: R02Sbf3cddfa8653386b54f8e0e82c6c3811 1164s 1..3 1164s # Start of converter tests 1164s ok 1 /converter/bytes 1164s ok 2 /converter/extra-bytes-at-end 1164s ok 3 /converter/gzip-os-property 1164s # End of converter tests 1164s ok - glib/converter.test 1164s # Running test: glib/assert-msg-test.py.test 1165s TAP version 13 1165s ok 1 __main__.TestAssertMessage.test_gassert 1165s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1165s # tmpdir: /tmp/tmpnaoarp4y 1165s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1165s # Return code: -6 1165s # Output: 1165s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1165s # Error: 1165s # ** 1165s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1165s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1165s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1165s # tmpdir: /tmp/tmpfweem7h3 1165s 1..2 1165s ok - glib/assert-msg-test.py.test 1165s TAP version 14 1165s # random seed: R02S383b16387544ecee0f0391608da1787b 1165s 1..3 1165s # Start of static-proxy tests 1165s # Running test: glib/simple-proxy.test 1165s ok 1 /static-proxy/uri 1165s ok 2 /static-proxy/socks 1165s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 1165s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 1165s ok 3 /static-proxy/ignore 1165s # End of static-proxy tests 1165s ok - glib/simple-proxy.test 1165s # Running test: glib/gi-compile-repository.py.test 1165s TAP version 13 1165s ok 1 __main__.TestGICompileRepository.test_open_failure 1165s # gir path set to [PosixPath('/usr/lib/arm-linux-gnueabihf/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1165s # gi-compile-repository: /usr/bin/gi-compile-repository 1165s # tmpdir: /tmp/tmp5k5y1dd0 1165s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmp5k5y1dd0/invalid.typelib'] 1165s # Return code: 1 1165s # Output: 1165s # 1165s # Error: 1165s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 1165s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 1165s # gir path set to [PosixPath('/usr/lib/arm-linux-gnueabihf/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1165s # gi-compile-repository: /usr/bin/gi-compile-repository 1165s # tmpdir: /tmp/tmpzrrc3hvu 1165s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpzrrc3hvu/GLib-2.typelib'] 1165s # Return code: 0 1165s # Output: 1165s # 1165s # Error: 1165s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 1165s # gi-compile-repository: /usr/bin/gi-compile-repository 1165s # tmpdir: /tmp/tmp8s8d9juu 1165s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 1165s # Return code: 1 1165s # Output: 1165s # 1165s # Error: 1165s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1165s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 1165s # gir path set to [PosixPath('/usr/lib/arm-linux-gnueabihf/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1165s # gi-compile-repository: /usr/bin/gi-compile-repository 1165s # tmpdir: /tmp/tmpi3902ynv 1165s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmpi3902ynv/GObject-2.typelib', '--includedir', '/usr/lib/arm-linux-gnueabihf/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1165s # Return code: 0 1165s # Output: 1165s # 1165s # Error: 1165s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 1165s # gi-compile-repository: /usr/bin/gi-compile-repository 1165s # tmpdir: /tmp/tmpicf_y497 1165s # 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/arm-linux-gnueabihf/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1165s # Return code: 1 1165s # Output: 1165s # 1165s # Error: 1165s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1166s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 1166s # gir path set to [PosixPath('/usr/lib/arm-linux-gnueabihf/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1166s # gi-compile-repository: /usr/bin/gi-compile-repository 1166s # tmpdir: /tmp/tmpbglz90yf 1166s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpbglz90yf/Gio-2.typelib', '--includedir', '/usr/lib/arm-linux-gnueabihf/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1166s # Return code: 0 1166s # Output: 1166s # 1166s # Error: 1166s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 1166s # gi-compile-repository: /usr/bin/gi-compile-repository 1166s # tmpdir: /tmp/tmpp4vavyha 1166s # 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/arm-linux-gnueabihf/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1166s # Return code: 1 1166s # Output: 1166s # 1166s # Error: 1166s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1166s 1..7 1166s ok - glib/gi-compile-repository.py.test 1166s # Running test: glib/testfilemonitor.test 1166s TAP version 14 1166s # random seed: R02Sfd974cd23fbe16e36880142157a209e9 1166s 1..8 1166s # Start of monitor tests 1166s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1166s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1166s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1166s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s # Start of file tests 1166s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s # End of file tests 1166s # End of monitor tests 1166s ok - glib/testfilemonitor.test 1166s # Running test: glib/signals.test 1166s TAP version 14 1166s # random seed: R02S26706df4c22b9b22af16287be74c2f95 1166s 1..31 1166s # Start of gobject tests 1166s # Start of signals tests 1166s ok 1 /gobject/signals/all-types 1166s ok 2 /gobject/signals/variant 1166s ok 3 /gobject/signals/destroy-target-object 1166s ok 4 /gobject/signals/generic-marshaller-1 1166s ok 5 /gobject/signals/generic-marshaller-2 1166s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1166s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1166s ok 8 /gobject/signals/generic-marshaller-int-return 1166s ok 9 /gobject/signals/generic-marshaller-uint-return 1166s ok 10 /gobject/signals/generic-marshaller-interface-return 1166s ok 11 /gobject/signals/custom-marshaller 1166s ok 12 /gobject/signals/connect 1166s ok 13 /gobject/signals/emission-hook 1166s ok 14 /gobject/signals/emitv 1166s ok 15 /gobject/signals/accumulator 1166s # Signal: accumulator-class-first 1166s # Signal: accumulator-class-last 1166s # Signal: accumulator-class-cleanup 1166s # Signal: accumulator-class-first-last 1166s # Signal: accumulator-class-first-last-cleanup 1166s # Signal: accumulator-class-last-cleanup 1166s ok 16 /gobject/signals/accumulator-class 1166s ok 17 /gobject/signals/introspection 1166s ok 18 /gobject/signals/block-handler 1166s ok 19 /gobject/signals/stop-emission 1166s ok 20 /gobject/signals/invocation-hint 1166s ok 21 /gobject/signals/test-disconnection-wrong-object 1166s ok 22 /gobject/signals/clear-signal-handler 1166s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1166s ok 23 /gobject/signals/lookup 1166s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1166s ok 24 /gobject/signals/parse-name 1166s ok 25 /gobject/signals/is-valid-name 1166s ok 26 /gobject/signals/weak-ref-disconnect 1166s # Start of lookup tests 1166s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1166s ok 27 /gobject/signals/lookup/invalid 1166s # End of lookup tests 1166s # Start of parse-name tests 1166s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1166s # Parser input: 1166s # Parser input: 7zip 1166s # Parser input: invalid:signal 1166s # Parser input: simple-detailed:: 1166s # Parser input: simple-detailed: 1166s # Parser input: : 1166s # Parser input: :: 1166s # Parser input: :valid-detail 1166s # Parser input: ::valid-detail 1166s ok 28 /gobject/signals/parse-name/invalid 1166s # End of parse-name tests 1166s # Start of invalid-name tests 1166s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1166s ok 29 /gobject/signals/invalid-name/colon 1166s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1166s ok 30 /gobject/signals/invalid-name/first-char 1166s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1166s ok 31 /gobject/signals/invalid-name/empty 1166s # End of invalid-name tests 1166s # End of signals tests 1166s # End of gobject tests 1166s ok - glib/signals.test 1166s # Running test: glib/cxx-11.test 1166s ok - glib/cxx-11.test 1166s # Running test: glib/dynamictests.test 1166s TAP version 14 1166s # random seed: R02Sf133c8e38cf341e061a44e3348754c84 1166s 1..2 1166s # Start of gtask tests 1166s # 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. 1166s ok 1 /gtask/name 1166s # Start of name tests 1166s # 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. 1166s ok 2 /gtask/name/macro-wrapper 1166s # End of name tests 1166s # End of gtask tests 1166s TAP version 14 1166s # random seed: R02S1e14f9ef225082de3f4dbcb57cd01d49 1166s 1..2 1166s # Start of GObject tests 1166s ok 1 /GObject/threaded-dynamic-ref-unref-init 1166s ok 2 /GObject/dynamic-interface-properties 1166s # End of GObject tests 1166s ok - glib/dynamictests.test 1166s # Running test: glib/references.test 1166s TAP version 14 1166s # random seed: R02S092f31433cc1348bf06400b8545102b6 1166s 1..4 1166s # Start of gobject tests 1166s ok 1 /gobject/references 1166s ok 2 /gobject/references-many 1166s ok 3 /gobject/references_two 1166s ok 4 /gobject/references_run_dispose 1166s # End of gobject tests 1166s ok - glib/references.test 1166s TAP version 14 1166s # random seed: R02S0707a378c8c60fb65556209fd2da6cfd 1166s 1..2 1166s # Start of thread tests 1166s # Start of deprecated tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_08B2E3/thread/deprecated/init/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_08B2E3/thread/deprecated/init/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_08B2E3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_08B2E3/thread/deprecated/init/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_08B2E3/thread/deprecated/init/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_08B2E3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_08B2E3/thread/deprecated/init/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_08B2E3/thread/deprecated/init/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_08B2E3/thread/deprecated/init/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_08B2E3/thread/deprecated/init/.dirs/runtime 1166s ok 1 /thread/deprecated/init 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_08B2E3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_08B2E3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_08B2E3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_08B2E3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_08B2E3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_08B2E3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_08B2E3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_08B2E3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_08B2E3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_08B2E3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1166s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1166s # End of deprecated tests 1166s # End of thread tests 1166s # Running test: glib/init.test 1166s ok - glib/init.test 1166s TAP version 14 1166s # random seed: R02Scef8cf4964d55b2b16f9c590b37389ea 1166s 1..1 1166s # Start of gdbus tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_8B61E3/gdbus/proxy-unique-name/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_8B61E3/gdbus/proxy-unique-name/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_8B61E3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_8B61E3/gdbus/proxy-unique-name/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_8B61E3/gdbus/proxy-unique-name/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_8B61E3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_8B61E3/gdbus/proxy-unique-name/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_8B61E3/gdbus/proxy-unique-name/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_8B61E3/gdbus/proxy-unique-name/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_8B61E3/gdbus/proxy-unique-name/.dirs/runtime 1166s # Running test: glib/gdbus-proxy-unique-name.test 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 1 /gdbus/proxy-unique-name 1166s # End of gdbus tests 1166s ok - glib/gdbus-proxy-unique-name.test 1166s TAP version 14 1166s # random seed: R02S3874764af6992e2dbe2172ff1ee35014 1166s 1..9 1166s # Start of GObject tests 1166s # Start of SignalGroup tests 1166s ok 1 /GObject/SignalGroup/invalid 1166s ok 2 /GObject/SignalGroup/simple 1166s ok 3 /GObject/SignalGroup/changing-target 1166s ok 4 /GObject/SignalGroup/blocking 1166s ok 5 /GObject/SignalGroup/weak-ref-target 1166s ok 6 /GObject/SignalGroup/connect-object 1166s # Running test: glib/signalgroup.test 1166s ok 7 /GObject/SignalGroup/signal-parsing 1166s ok 8 /GObject/SignalGroup/properties 1166s ok 9 /GObject/SignalGroup/interface 1166s # Start of signal-parsing tests 1166s # End of signal-parsing tests 1166s # End of SignalGroup tests 1166s # End of GObject tests 1166s ok - glib/signalgroup.test 1166s TAP version 14 1166s # random seed: R02S5af628ce64e439b755b8d0157b4f1195 1166s 1..4 1166s # Start of socket-client tests 1166s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1166s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1166s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11980ff0 and GSocketClientAsyncConnectData 0x11977810 1166s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1166s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1166s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1197c960 for GSocketClientAsyncConnectData 0x11977810 1166s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1166s # Running test: glib/gsocketclient-slow.test 1167s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1167s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1167s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1167s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1167s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1167s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1197c960 for GSocketClientAsyncConnectData 0x11977810 1167s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1168s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1168s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1168s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1168s ok 1 /socket-client/connection-fail 1168s # slow test /socket-client/connection-fail executed in 1.20 secs 1168s # Start of happy-eyeballs tests 1168s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1197c560 and GSocketClientAsyncConnectData 0x11977810 1168s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1168s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1168s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1197c960 for GSocketClientAsyncConnectData 0x11977810 1168s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1168s # Executing: glib/gsocketclient-slow.test 1168s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1168s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1168s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1168s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1168s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1168s ok 2 /socket-client/happy-eyeballs/slow 1168s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1168s # Start of cancellation tests 1168s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1197eb78 and GSocketClientAsyncConnectData 0x1197c008 1168s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1168s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1168s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1168s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1197c050 and GSocketClientAsyncConnectData 0x11975948 1168s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1168s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1168s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1197c910 for GSocketClientAsyncConnectData 0x11975948 1168s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1169s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1169s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1169s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1169s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1169s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1169s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1169s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1169s # End of cancellation tests 1169s # End of happy-eyeballs tests 1169s # End of socket-client tests 1169s ok - glib/gsocketclient-slow.test 1169s # Running test: glib/macros.test 1169s TAP version 14 1169s # random seed: R02Sdfc1df87e5fee7da37a906d09edf6a24 1169s 1..3 1169s # Start of alignof tests 1169s ok 1 /alignof/fallback 1169s # End of alignof tests 1169s # Start of assert tests 1169s ok 2 /assert/static 1169s # End of assert tests 1169s # Start of struct tests 1169s ok 3 /struct/sizeof_member 1169s # End of struct tests 1169s ok - glib/macros.test 1169s # Running test: glib/gdbus-peer.test 1169s TAP version 14 1169s # random seed: R02S2c0808a0e33d6e8a8dc2244c651a00be 1169s 1..12 1169s # Start of gdbus tests 1169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/.dirs/home 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/.dirs/cache 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/.dirs/system-config2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/.dirs/config 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/.dirs/system-data2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/.dirs/data 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/.dirs/state 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/.dirs/runtime 1169s # Testing with unix:dir address 1169s # Testing with unix:tmpdir address 1169s # Testing with unix:path address 1169s ok 1 /gdbus/peer-to-peer 1169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/delayed-message-processing/.dirs/home 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/delayed-message-processing/.dirs/cache 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/delayed-message-processing/.dirs/system-config2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/delayed-message-processing/.dirs/config 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/delayed-message-processing/.dirs/system-data2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/delayed-message-processing/.dirs/data 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/delayed-message-processing/.dirs/state 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ4QE3/gdbus/delayed-message-processing/.dirs/runtime 1169s # Testing with unix:dir address 1169s ok 2 /gdbus/delayed-message-processing 1169s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/nonce-tcp/.dirs/home 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/nonce-tcp/.dirs/cache 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/nonce-tcp/.dirs/system-config2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/nonce-tcp/.dirs/config 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/nonce-tcp/.dirs/system-data2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/nonce-tcp/.dirs/data 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/nonce-tcp/.dirs/state 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ4QE3/gdbus/nonce-tcp/.dirs/runtime 1169s ok 3 /gdbus/nonce-tcp 1169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/tcp-anonymous/.dirs/home 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/tcp-anonymous/.dirs/cache 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/tcp-anonymous/.dirs/system-config2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/tcp-anonymous/.dirs/config 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/tcp-anonymous/.dirs/system-data2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/tcp-anonymous/.dirs/data 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/tcp-anonymous/.dirs/state 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ4QE3/gdbus/tcp-anonymous/.dirs/runtime 1169s ok 4 /gdbus/tcp-anonymous 1169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/credentials/.dirs/home 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/credentials/.dirs/cache 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/credentials/.dirs/system-config2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/credentials/.dirs/config 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/credentials/.dirs/system-data2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/credentials/.dirs/data 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/credentials/.dirs/state 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ4QE3/gdbus/credentials/.dirs/runtime 1169s ok 5 /gdbus/credentials 1169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/codegen-peer-to-peer/.dirs/home 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/codegen-peer-to-peer/.dirs/cache 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/codegen-peer-to-peer/.dirs/system-config2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/codegen-peer-to-peer/.dirs/config 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/codegen-peer-to-peer/.dirs/system-data2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/codegen-peer-to-peer/.dirs/data 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/codegen-peer-to-peer/.dirs/state 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ4QE3/gdbus/codegen-peer-to-peer/.dirs/runtime 1169s # Testing with unix:dir address 1170s # Machine ID: 97c86c9063a54cdbade18330df2ea015 1171s ok 6 /gdbus/codegen-peer-to-peer 1171s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1171s # Start of peer-to-peer tests 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/signals/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/signals/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/signals/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/signals/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/signals/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/signals/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/signals/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/signals/.dirs/runtime 1171s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1171s # Testing with unix:dir address 1171s ok 7 /gdbus/peer-to-peer/signals 1171s # Start of invalid tests 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/server/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/server/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/server/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/server/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/server/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1171s ok 8 /gdbus/peer-to-peer/invalid/server 1171s # Start of conn tests 1171s # Start of stream tests 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1171s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1171s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1171s # End of stream tests 1171s # Start of addr tests 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1171s ok - glib/gdbus-peer.test 1171s # Running test: glib/param.test 1171s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ4QE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1171s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1171s # End of addr tests 1171s # End of conn tests 1171s # End of invalid tests 1171s # End of peer-to-peer tests 1171s # End of gdbus tests 1171s TAP version 14 1171s # random seed: R02S00ad4f59a5b2faa09bf78a0c73dfd8f2 1171s 1..32 1171s # Start of param tests 1171s ok 1 /param/value 1171s ok 2 /param/strings 1171s ok 3 /param/qdata 1171s ok 4 /param/validate 1171s ok 5 /param/convert 1171s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1171s ok 7 /param/default 1171s ok 8 /param/is-valid-name 1171s # Start of invalid-name tests 1171s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1171s ok 9 /param/invalid-name/colon 1171s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1171s ok 10 /param/invalid-name/first-char 1171s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1171s ok 11 /param/invalid-name/empty 1171s # End of invalid-name tests 1171s # Start of implement tests 1171s # Start of subprocess tests 1171s # End of subprocess tests 1171s # End of implement tests 1171s # End of param tests 1171s # Start of value tests 1171s ok 12 /value/transform 1171s # End of value tests 1171s # Start of paramspec tests 1171s ok 13 /paramspec/char 1171s ok 14 /paramspec/uchar 1171s ok 15 /paramspec/int 1171s ok 16 /paramspec/uint 1171s ok 17 /paramspec/long 1171s ok 18 /paramspec/ulong 1171s ok 19 /paramspec/int64 1171s ok 20 /paramspec/uint64 1171s ok 21 /paramspec/float 1171s ok 22 /paramspec/double 1171s ok 23 /paramspec/unichar 1171s ok 24 /paramspec/param 1171s ok 25 /paramspec/null-param 1171s ok 26 /paramspec/string 1171s ok 27 /paramspec/override 1171s ok 28 /paramspec/gtype 1171s ok 29 /paramspec/variant 1171s ok 30 /paramspec/custom 1171s ok 31 /paramspec/pool 1171s # Start of variant tests 1171s ok 32 /paramspec/variant/cmp 1171s # End of variant tests 1171s # End of paramspec tests 1171s ok - glib/param.test 1171s # Running test: glib/g-file-info-filesystem-readonly.test 1171s TAP version 14 1171s # random seed: R02Saefb41b81efa403b72ba32a64e79d4ea 1171s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1171s 1..2 1171s # Start of g-file-info-filesystem-readonly tests 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 1171s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_GSHIE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 1171s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1171s # End of g-file-info-filesystem-readonly tests 1171s ok - glib/g-file-info-filesystem-readonly.test 1171s # Running test: glib/singleton.test 1171s TAP version 14 1171s # random seed: R02S132a428754f9d25831804dd46a5c6b53 1171s 1..2 1171s # Start of gobject tests 1171s # Start of singleton tests 1171s ok 1 /gobject/singleton/construction 1171s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1171s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1171s ok 2 /gobject/singleton/construct-property 1171s # End of singleton tests 1171s # End of gobject tests 1171s ok - glib/singleton.test 1171s # Running test: glib/array-test.test 1171s TAP version 14 1171s # random seed: R02S7da8a3ede1ae31990a67aa4826fe27d0 1171s 1..120 1171s # Start of array tests 1171s ok 1 /array/ref-count 1171s ok 2 /array/steal 1171s ok 3 /array/clear-func 1171s ok 4 /array/binary-search 1171s ok 5 /array/overflow-append-vals 1171s ok 6 /array/overflow-set-size 1171s # Start of new tests 1171s ok 7 /array/new/zero-terminated 1171s ok 8 /array/new/take 1171s ok 9 /array/new/take-zero-terminated 1171s # Start of take tests 1171s ok 10 /array/new/take/empty 1171s ok 11 /array/new/take/overflow # SKIP Overflow test requires SIZE_WIDTH > UINT_WIDTH. 1171s ok 12 /array/new/take/zero-size 1171s # End of take tests 1171s # Start of take-zero-terminated tests 1171s ok 13 /array/new/take-zero-terminated/zero-size 1171s ok 14 /array/new/take-zero-terminated/null 1171s # End of take-zero-terminated tests 1171s # End of new tests 1171s # Start of copy tests 1171s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 1171s ok 15 /array/copy/sized 1171s ok 16 /array/copy/zero-terminated 1171s ok 17 /array/copy/non-zero-terminated-no-clear 1171s ok 18 /array/copy/non-zero-terminated-clear 1171s ok 19 /array/copy/zero-terminated-no-clear 1171s ok 20 /array/copy/zero-terminated-clear 1171s # End of copy tests 1171s # Start of remove-range tests 1171s ok 21 /array/remove-range/zero-terminated-null 1171s ok 22 /array/remove-range/non-zero-terminated-no-clear 1171s ok 23 /array/remove-range/non-zero-terminated-clear 1171s ok 24 /array/remove-range/zero-terminated-no-clear 1171s ok 25 /array/remove-range/zero-terminated-clear 1171s # End of remove-range tests 1171s # Start of set-size tests 1171s ok 26 /array/set-size/zero-terminated-null 1171s ok 27 /array/set-size/non-zero-terminated-no-clear 1171s ok 28 /array/set-size/non-zero-terminated-clear 1171s ok 29 /array/set-size/zero-terminated-no-clear 1171s ok 30 /array/set-size/zero-terminated-clear 1171s # Start of sized tests 1171s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 1171s ok 32 /array/set-size/sized/non-zero-terminated-clear 1171s ok 33 /array/set-size/sized/zero-terminated-no-clear 1171s ok 34 /array/set-size/sized/zero-terminated-clear 1171s # End of sized tests 1171s # End of set-size tests 1171s # Start of append-val tests 1171s ok 35 /array/append-val/non-zero-terminated-no-clear 1171s ok 36 /array/append-val/non-zero-terminated-clear 1171s ok 37 /array/append-val/zero-terminated-no-clear 1171s ok 38 /array/append-val/zero-terminated-clear 1171s # End of append-val tests 1171s # Start of prepend-val tests 1171s ok 39 /array/prepend-val/non-zero-terminated-no-clear 1171s ok 40 /array/prepend-val/non-zero-terminated-clear 1171s ok 41 /array/prepend-val/zero-terminated-no-clear 1171s ok 42 /array/prepend-val/zero-terminated-clear 1171s # End of prepend-val tests 1171s # Start of prepend-vals tests 1171s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 1171s ok 44 /array/prepend-vals/non-zero-terminated-clear 1171s ok 45 /array/prepend-vals/zero-terminated-no-clear 1171s ok 46 /array/prepend-vals/zero-terminated-clear 1171s # End of prepend-vals tests 1171s # Start of insert-vals tests 1171s ok 47 /array/insert-vals/non-zero-terminated-no-clear 1171s ok 48 /array/insert-vals/non-zero-terminated-clear 1171s ok 49 /array/insert-vals/zero-terminated-no-clear 1171s ok 50 /array/insert-vals/zero-terminated-clear 1171s # End of insert-vals tests 1171s # Start of remove-index tests 1171s ok 51 /array/remove-index/non-zero-terminated-no-clear 1171s ok 52 /array/remove-index/non-zero-terminated-clear 1171s ok 53 /array/remove-index/zero-terminated-no-clear 1171s ok 54 /array/remove-index/zero-terminated-clear 1171s # End of remove-index tests 1171s # Start of remove-index-fast tests 1171s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 1171s ok 56 /array/remove-index-fast/non-zero-terminated-clear 1171s ok 57 /array/remove-index-fast/zero-terminated-no-clear 1171s ok 58 /array/remove-index-fast/zero-terminated-clear 1171s # End of remove-index-fast tests 1171s # Start of sort tests 1171s ok 59 /array/sort/non-zero-terminated-no-clear 1171s ok 60 /array/sort/non-zero-terminated-clear 1171s ok 61 /array/sort/zero-terminated-no-clear 1171s ok 62 /array/sort/zero-terminated-clear 1171s # End of sort tests 1171s # Start of sort-with-data tests 1171s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 1171s ok 64 /array/sort-with-data/non-zero-terminated-clear 1171s ok 65 /array/sort-with-data/zero-terminated-no-clear 1171s ok 66 /array/sort-with-data/zero-terminated-clear 1171s # End of sort-with-data tests 1171s # End of array tests 1171s # Start of pointerarray tests 1171s ok 67 /pointerarray/add 1171s ok 68 /pointerarray/insert 1171s ok 69 /pointerarray/new-take 1171s ok 70 /pointerarray/new-take-null-terminated 1171s ok 71 /pointerarray/new-from-array 1171s ok 72 /pointerarray/new-from-null-terminated-array 1171s ok 73 /pointerarray/free-func 1171s ok 74 /pointerarray/array_extend_and_steal 1171s ok 75 /pointerarray/sort 1171s ok 76 /pointerarray/sort-with-data 1171s ok 77 /pointerarray/sort-values 1171s ok 78 /pointerarray/sort-values-with-data 1171s ok 79 /pointerarray/remove-range 1171s ok 80 /pointerarray/steal 1171s # Start of free tests 1171s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1171s ok 81 /pointerarray/free/null-terminated 1171s # End of free tests 1171s # Start of new-take tests 1171s ok 82 /pointerarray/new-take/empty 1171s ok 83 /pointerarray/new-take/overflow # SKIP Overflow test requires SIZE_WIDTH > UINT_WIDTH. 1171s ok 84 /pointerarray/new-take/with-free-func 1171s # End of new-take tests 1171s # Start of new-take-null-terminated tests 1171s ok 85 /pointerarray/new-take-null-terminated/empty 1171s ok 86 /pointerarray/new-take-null-terminated/with-free-func 1171s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 1171s # End of new-take-null-terminated tests 1171s # Start of new-from-array tests 1171s ok 88 /pointerarray/new-from-array/empty 1171s ok 89 /pointerarray/new-from-array/overflow # SKIP Overflow test requires SIZE_WIDTH > UINT_WIDTH. 1171s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 1171s # End of new-from-array tests 1171s # Start of new-from-null-terminated-array tests 1171s ok 91 /pointerarray/new-from-null-terminated-array/empty 1171s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1171s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 1171s # End of new-from-null-terminated-array tests 1171s # Start of ref-count tests 1171s ok 94 /pointerarray/ref-count/not-null-terminated 1171s ok 95 /pointerarray/ref-count/null-terminated 1171s # End of ref-count tests 1171s # Start of array_copy tests 1171s # /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 1171s ok 96 /pointerarray/array_copy/not-null-terminated 1171s # /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 1171s ok 97 /pointerarray/array_copy/null-terminated 1171s # End of array_copy tests 1171s # Start of array_extend tests 1171s ok 98 /pointerarray/array_extend/not-null-terminated 1171s ok 99 /pointerarray/array_extend/null-terminated 1171s # End of array_extend tests 1171s # Start of sort tests 1171s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1171s ok 100 /pointerarray/sort/example 1171s # End of sort tests 1171s # Start of sort-with-data tests 1171s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1171s ok 101 /pointerarray/sort-with-data/example 1171s # End of sort-with-data tests 1171s # Start of sort-values tests 1171s ok 102 /pointerarray/sort-values/example 1171s # End of sort-values tests 1171s # Start of sort-values-with-data tests 1171s ok 103 /pointerarray/sort-values-with-data/example 1171s # End of sort-values-with-data tests 1171s # Start of find tests 1171s ok 104 /pointerarray/find/empty 1171s ok 105 /pointerarray/find/non-empty 1171s # End of find tests 1171s # Start of steal_index tests 1171s ok 106 /pointerarray/steal_index/not-null-terminated 1171s ok 107 /pointerarray/steal_index/null-terminated 1171s # End of steal_index tests 1171s # End of pointerarray tests 1171s # Start of bytearray tests 1171s ok 108 /bytearray/steal 1171s ok 109 /bytearray/append 1171s ok - glib/array-test.test 1171s ok 110 /bytearray/prepend 1171s ok 111 /bytearray/remove 1171s ok 112 /bytearray/remove-fast 1171s ok 113 /bytearray/remove-range 1171s ok 114 /bytearray/ref-count 1171s ok 115 /bytearray/set-size 1171s ok 116 /bytearray/sort 1171s ok 117 /bytearray/sort-with-data 1171s ok 118 /bytearray/new-take 1171s ok 119 /bytearray/new-take-overflow # SKIP Overflow test requires SIZE_WIDTH > UINT_WIDTH. 1171s ok 120 /bytearray/free-to-bytes 1171s # End of bytearray tests 1171s # Running test: glib/cxx.test 1171s ok - glib/cxx.test 1171s TAP version 14 1171s # random seed: R02S64f2111d32347c8eda805d45c7acfd23 1171s 1..2 1171s # Start of gtask tests 1171s # 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. 1171s ok 1 /gtask/name 1171s # Start of name tests 1171s # 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. 1171s ok 2 /gtask/name/macro-wrapper 1171s # End of name tests 1171s # End of gtask tests 1171s # Running test: glib/error.test 1171s ok - glib/error.test 1171s TAP version 14 1171s # random seed: R02S6a1fb897d91ab7955b57a4e70fef2804 1171s 1..3 1171s # Start of error tests 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_21VRE3/error/from-errno/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_21VRE3/error/from-errno/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_21VRE3/error/from-errno/.dirs/system-config1:/tmp/test_error_21VRE3/error/from-errno/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_21VRE3/error/from-errno/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_21VRE3/error/from-errno/.dirs/system-data1:/tmp/test_error_21VRE3/error/from-errno/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_21VRE3/error/from-errno/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_21VRE3/error/from-errno/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_21VRE3/error/from-errno/.dirs/runtime 1171s ok 1 /error/from-errno 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_21VRE3/error/from-file-error/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_21VRE3/error/from-file-error/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_21VRE3/error/from-file-error/.dirs/system-config1:/tmp/test_error_21VRE3/error/from-file-error/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_21VRE3/error/from-file-error/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_21VRE3/error/from-file-error/.dirs/system-data1:/tmp/test_error_21VRE3/error/from-file-error/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_21VRE3/error/from-file-error/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_21VRE3/error/from-file-error/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_21VRE3/error/from-file-error/.dirs/runtime 1171s ok 2 /error/from-file-error 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_21VRE3/error/from-win32-error/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_21VRE3/error/from-win32-error/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_21VRE3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_21VRE3/error/from-win32-error/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_21VRE3/error/from-win32-error/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_21VRE3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_21VRE3/error/from-win32-error/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_21VRE3/error/from-win32-error/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_21VRE3/error/from-win32-error/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_21VRE3/error/from-win32-error/.dirs/runtime 1171s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1171s # End of error tests 1171s # Running test: glib/thread.test 1171s TAP version 14 1171s # random seed: R02S02e1a391e1121dae3afa0ab2e7ab3cfa 1171s 1..7 1171s # Start of thread tests 1171s ok 1 /thread/thread1 1171s ok 2 /thread/thread2 1171s ok 3 /thread/thread3 1171s ok 4 /thread/thread4 1171s ok 5 /thread/thread5 1171s ok 6 /thread/thread6 1171s ok - glib/thread.test 1171s ok 7 /thread/thread7 1171s # End of thread tests 1171s # Running test: glib/search-utils.test 1171s TAP version 14 1171s # random seed: R02Scab370dd7eb2c0c9559bacbedf5bf6c5 1171s # GLib-DEBUG: Current user locale: C.UTF-8 1171s 1..6 1171s # Start of search tests 1171s # GLib-DEBUG: Started 1171s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1171s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1171s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1171s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1171s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1171s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1171s ok 1 /search/basic 1171s # GLib-DEBUG: Started 1171s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1171s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1171s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1171s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1171s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1171s ok 2 /search/composed 1171s # GLib-DEBUG: Started 1171s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1171s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1171s ok 3 /search/decomposed 1171s # GLib-DEBUG: Started 1171s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1171s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1171s ok 4 /search/turkish 1171s # GLib-DEBUG: Started 1171s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1171s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1171s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1171s ok 5 /search/c_locale_unicode 1171s # GLib-DEBUG: Started 1171s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1171s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1171s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1171s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1171s ok 6 /search/multi_words 1171s # End of search tests 1171s ok - glib/search-utils.test 1171s # Running test: glib/gdbus-test-codegen-old.test 1171s TAP version 14 1171s # random seed: R02S6eb83fad415b5c673b0b7ccaf5ef73bd 1171s 1..8 1171s # Start of gdbus tests 1171s # Start of codegen tests 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/annotations/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/annotations/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/annotations/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/annotations/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/annotations/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/annotations/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/annotations/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/annotations/.dirs/runtime 1171s ok 1 /gdbus/codegen/annotations 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/interface_stability/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/interface_stability/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/interface_stability/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/interface_stability/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/interface_stability/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/interface_stability/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/interface_stability/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/interface_stability/.dirs/runtime 1171s ok 2 /gdbus/codegen/interface_stability 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/object-manager/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/object-manager/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/object-manager/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/object-manager/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/object-manager/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/object-manager/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/object-manager/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/object-manager/.dirs/runtime 1171s ok 3 /gdbus/codegen/object-manager 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/property-naming/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/property-naming/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/property-naming/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/property-naming/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/property-naming/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/property-naming/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/property-naming/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/property-naming/.dirs/runtime 1171s ok 4 /gdbus/codegen/property-naming 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/autocleanups/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/autocleanups/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/autocleanups/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/autocleanups/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/autocleanups/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/autocleanups/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/autocleanups/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/autocleanups/.dirs/runtime 1171s ok 5 /gdbus/codegen/autocleanups 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/deprecations/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/deprecations/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/deprecations/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/deprecations/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/deprecations/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/deprecations/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/deprecations/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/deprecations/.dirs/runtime 1171s ok 6 /gdbus/codegen/deprecations 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/standalone-interface-info/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/standalone-interface-info/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/standalone-interface-info/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/standalone-interface-info/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/standalone-interface-info/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1171s ok 7 /gdbus/codegen/standalone-interface-info 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/unix-fd-list/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/unix-fd-list/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/unix-fd-list/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/unix-fd-list/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/unix-fd-list/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RYERE3/gdbus/codegen/unix-fd-list/.dirs/runtime 1171s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1171s ok 8 /gdbus/codegen/unix-fd-list 1171s # End of codegen tests 1171s # End of gdbus tests 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s ok - glib/gdbus-test-codegen-old.test 1171s # Running test: glib/gdbus-proxy.test 1171s TAP version 14 1171s # random seed: R02S3cd68a7e43b4ed698d7fcdfde2032ffb 1171s 1..5 1171s # Start of gdbus tests 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/.dirs/runtime 1173s ok 1 /gdbus/proxy 1173s # slow test /gdbus/proxy executed in 1.73 secs 1173s # Start of proxy tests 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-properties/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-properties/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-properties/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-properties/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-properties/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-properties/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-properties/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-properties/.dirs/runtime 1173s ok 2 /gdbus/proxy/no-properties 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/wellknown-noauto/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/wellknown-noauto/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/wellknown-noauto/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/wellknown-noauto/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/wellknown-noauto/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/wellknown-noauto/.dirs/runtime 1173s ok 3 /gdbus/proxy/wellknown-noauto 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/async/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/async/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/async/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/async/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/async/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/async/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/async/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/async/.dirs/runtime 1173s # Executing: glib/gdbus-proxy.test 1174s ok 4 /gdbus/proxy/async 1174s # slow test /gdbus/proxy/async executed in 1.73 secs 1174s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-match-rule/.dirs/home 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-match-rule/.dirs/cache 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-match-rule/.dirs/system-config2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-match-rule/.dirs/config 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-match-rule/.dirs/system-data2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-match-rule/.dirs/data 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-match-rule/.dirs/state 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_UABQE3/gdbus/proxy/no-match-rule/.dirs/runtime 1174s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1174s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1176s ok 5 /gdbus/proxy/no-match-rule 1176s # slow test /gdbus/proxy/no-match-rule executed in 1.74 secs 1176s # End of proxy tests 1176s # End of gdbus tests 1176s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1176s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1176s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1176s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1176s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1176s ok - glib/gdbus-proxy.test 1176s # Running test: glib/repository.test 1176s TAP version 14 1176s # random seed: R02S1638deb19a483b98a6c1c3fcf1deac2a 1176s 1..24 1176s # Start of repository tests 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/basic/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/basic/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/basic/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/basic/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/basic/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/basic/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/basic/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/basic/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/basic/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/basic/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1176s ok 1 /repository/basic 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/info/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/info/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1176s ok 2 /repository/info 1176s ok - glib/repository.test 1176s # Running test: glib/macros-c-17.test 1176s ok - glib/macros-c-17.test 1176s # Running test: glib/gdbus-connection-loss.test 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/dependencies/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/dependencies/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/dependencies/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/dependencies/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/dependencies/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/dependencies/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/dependencies/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/dependencies/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1176s ok 3 /repository/dependencies 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/arg-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/arg-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/arg-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/arg-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/arg-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/arg-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/arg-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/arg-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1176s ok 4 /repository/arg-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/callable-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/callable-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/callable-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/callable-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/callable-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/callable-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/callable-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/callable-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1176s ok 5 /repository/callable-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/callback-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/callback-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/callback-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/callback-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/callback-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/callback-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/callback-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/callback-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1176s ok 6 /repository/callback-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/char-types/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/char-types/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/char-types/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/char-types/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/char-types/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/char-types/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/char-types/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/char-types/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/char-types/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/char-types/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1176s ok 7 /repository/char-types 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/constructor-return-type/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/constructor-return-type/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/constructor-return-type/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/constructor-return-type/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/constructor-return-type/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/constructor-return-type/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/constructor-return-type/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/constructor-return-type/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1176s ok 8 /repository/constructor-return-type 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/enum-info-c-identifier/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/enum-info-c-identifier/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/enum-info-c-identifier/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/enum-info-c-identifier/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/enum-info-c-identifier/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/enum-info-c-identifier/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/enum-info-c-identifier/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/enum-info-c-identifier/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1176s ok 9 /repository/enum-info-c-identifier 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/enum-info-static-methods/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/enum-info-static-methods/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/enum-info-static-methods/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/enum-info-static-methods/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/enum-info-static-methods/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/enum-info-static-methods/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/enum-info-static-methods/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/enum-info-static-methods/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/enum-info-static-methods summary: Test an enum with methods 1176s ok 10 /repository/enum-info-static-methods 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/error-quark/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/error-quark/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/error-quark/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/error-quark/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/error-quark/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/error-quark/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/error-quark/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/error-quark/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/error-quark summary: Test finding an error quark by error domain 1176s ok 11 /repository/error-quark 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/flags-info-c-identifier/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/flags-info-c-identifier/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/flags-info-c-identifier/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/flags-info-c-identifier/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/flags-info-c-identifier/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/flags-info-c-identifier/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/flags-info-c-identifier/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/flags-info-c-identifier/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1176s ok 12 /repository/flags-info-c-identifier 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/fundamental-ref-func/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/fundamental-ref-func/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/fundamental-ref-func/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/fundamental-ref-func/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/fundamental-ref-func/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/fundamental-ref-func/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/fundamental-ref-func/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/fundamental-ref-func/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1176s ok 13 /repository/fundamental-ref-func 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/instance-method-ownership-transfer/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/instance-method-ownership-transfer/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/instance-method-ownership-transfer/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/instance-method-ownership-transfer/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/instance-method-ownership-transfer/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/instance-method-ownership-transfer/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/instance-method-ownership-transfer/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/instance-method-ownership-transfer/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1176s ok 14 /repository/instance-method-ownership-transfer 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/object-gtype-interfaces/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/object-gtype-interfaces/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/object-gtype-interfaces/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/object-gtype-interfaces/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/object-gtype-interfaces/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/object-gtype-interfaces/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/object-gtype-interfaces/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/object-gtype-interfaces/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1176s ok 15 /repository/object-gtype-interfaces 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/signal-info-with-array-length-arg/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/signal-info-with-array-length-arg/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/signal-info-with-array-length-arg/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/signal-info-with-array-length-arg/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/signal-info-with-array-length-arg/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/signal-info-with-array-length-arg/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/signal-info-with-array-length-arg/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/signal-info-with-array-length-arg/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1176s ok 16 /repository/signal-info-with-array-length-arg 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/type-info-name/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/type-info-name/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/type-info-name/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/type-info-name/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/type-info-name/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/type-info-name/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/type-info-name/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/type-info-name/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1176s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1176s ok 17 /repository/type-info-name 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-no-invoker/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-no-invoker/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-no-invoker/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-no-invoker/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-no-invoker/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-no-invoker/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1176s ok 18 /repository/vfunc-info-with-no-invoker 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1176s ok 19 /repository/vfunc-info-with-invoker-on-interface 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-object/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-object/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-object/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-object/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1176s ok 20 /repository/vfunc-info-with-invoker-on-object 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/find-by-gtype/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/find-by-gtype/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/find-by-gtype/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/find-by-gtype/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/find-by-gtype/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/find-by-gtype/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/find-by-gtype/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/find-by-gtype/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/find-by-gtype summary: Test finding a GType 1176s ok 21 /repository/find-by-gtype 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/loaded-namespaces/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/loaded-namespaces/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/loaded-namespaces/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/loaded-namespaces/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/loaded-namespaces/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/loaded-namespaces/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/loaded-namespaces/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/loaded-namespaces/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1176s ok 22 /repository/loaded-namespaces 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/dup_default/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/dup_default/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/dup_default/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/dup_default/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/dup_default/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/dup_default/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/dup_default/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/dup_default/.dirs/runtime 1176s ok 23 /repository/dup_default 1176s # Start of base-info tests 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LAUWE3/repository/base-info/clear/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LAUWE3/repository/base-info/clear/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LAUWE3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_LAUWE3/repository/base-info/clear/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LAUWE3/repository/base-info/clear/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LAUWE3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_LAUWE3/repository/base-info/clear/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LAUWE3/repository/base-info/clear/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LAUWE3/repository/base-info/clear/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LAUWE3/repository/base-info/clear/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1176s ok 24 /repository/base-info/clear 1176s # End of base-info tests 1176s # End of repository tests 1176s TAP version 14 1176s # random seed: R02S836742aa0e57a42d381ed2974b9fbac6 1176s 1..4 1176s # Start of C tests 1176s ok 1 /C/standard-17 1176s # End of C tests 1176s # Start of alignof tests 1176s ok 2 /alignof/fallback 1176s # End of alignof tests 1176s # Start of assert tests 1176s ok 3 /assert/static 1176s # End of assert tests 1176s # Start of struct tests 1176s ok 4 /struct/sizeof_member 1176s # End of struct tests 1176s TAP version 14 1176s # random seed: R02S34e66d40caf1ee366c51b84fe1b2c6f8 1176s 1..1 1176s # Start of gdbus tests 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_NQ4VE3/gdbus/connection-loss/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_NQ4VE3/gdbus/connection-loss/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_NQ4VE3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_NQ4VE3/gdbus/connection-loss/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_NQ4VE3/gdbus/connection-loss/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_NQ4VE3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_NQ4VE3/gdbus/connection-loss/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_NQ4VE3/gdbus/connection-loss/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_NQ4VE3/gdbus/connection-loss/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_NQ4VE3/gdbus/connection-loss/.dirs/runtime 1176s ok 1 /gdbus/connection-loss 1176s # End of gdbus tests 1176s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1176s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1176s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1176s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1176s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1176s ok - glib/gdbus-connection-loss.test 1176s # Running test: glib/contexts.test 1176s TAP version 14 1176s # random seed: R02S379970945eecd6599e83b5f55ff85d93 1176s 1..5 1176s # Start of gio tests 1176s # Start of contexts tests 1176s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1176s ok 1 /gio/contexts/thread-independence 1176s ok 2 /gio/contexts/context-independence 1176s # Start of context-specific tests 1176s ok 3 /gio/contexts/context-specific/identity 1176s ok - glib/contexts.test 1176s ok 4 /gio/contexts/context-specific/emit 1176s ok 5 /gio/contexts/context-specific/emit-and-unref 1176s # End of context-specific tests 1176s # End of contexts tests 1176s # End of gio tests 1176s # Running test: glib/tls-bindings.test 1176s TAP version 14 1176s # random seed: R02Se2d1b089d2070f4fe853fb20ee57716e 1176s 1..2 1176s # Start of tls-connection tests 1176s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1176s ok 1 /tls-connection/get-tls-channel-binding 1176s ok 2 /tls-connection/get-dtls-channel-binding 1176s # End of tls-connection tests 1176s ok - glib/tls-bindings.test 1176s # Running test: glib/rand.test 1176s TAP version 14 1176s # random seed: R02S8e9076adf7345dded18aefaed51e7fb8 1176s 1..2 1176s # Start of rand tests 1176s ok 1 /rand/test-rand 1176s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1176s ok 2 /rand/double-range 1176s # End of rand tests 1176s ok - glib/rand.test 1176s # Running test: glib/gdbus-server-auth.test 1176s TAP version 14 1176s # random seed: R02S4b885ac623b2678257f7efa38ddc8641 1176s 1..9 1176s # Start of gdbus tests 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/.dirs/runtime 1176s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4F0ZE3/gdbus-server-auth-D6ZZE3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1176s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4F0ZE3/gdbus-server-auth-D6ZZE3/dbus-yx66xH4e 1176s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1176s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1176s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1176s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1176s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1176s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 30875 1176s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1176s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1176s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1176s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1176s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1176s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1176s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 30875 1176s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1176s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1176s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1176s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1176s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1176s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1176s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 30875 1176s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1176s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1176s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1176s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1176s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1176s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1176s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 30875 1176s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1176s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1176s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1176s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1176s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1176s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1176s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 30875 1176s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1176s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1176s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1176s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1176s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1176s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1176s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 30875 1176s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1176s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1176s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1176s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1176s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1176s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 30875 1177s ok 1 /gdbus/server-auth 1177s # Start of server-auth tests 1177s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/abstract/.dirs/home 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/abstract/.dirs/cache 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/abstract/.dirs/system-config2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/abstract/.dirs/config 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/abstract/.dirs/system-data2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/abstract/.dirs/data 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/abstract/.dirs/state 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/abstract/.dirs/runtime 1177s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_4F0ZE3/gdbus-server-auth-UPJZE3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1177s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4F0ZE3/gdbus-server-auth-UPJZE3/dbus-dRYl1kno 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1177s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1177s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 30875 1177s ok 2 /gdbus/server-auth/abstract 1177s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/tcp/.dirs/home 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/tcp/.dirs/cache 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/tcp/.dirs/system-config2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/tcp/.dirs/config 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/tcp/.dirs/system-data2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/tcp/.dirs/data 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/tcp/.dirs/state 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/tcp/.dirs/runtime 1177s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1177s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1177s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/.dirs/home 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/.dirs/cache 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/.dirs/system-config2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/.dirs/config 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/.dirs/system-data2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/.dirs/data 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/.dirs/state 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/.dirs/runtime 1177s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4F0ZE3/gdbus-server-auth-JTRME3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1177s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4F0ZE3/gdbus-server-auth-JTRME3/dbus-MEFVBSnv 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 30875 1177s ok 4 /gdbus/server-auth/anonymous 1177s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/.dirs/home 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/.dirs/cache 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/.dirs/system-config2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/.dirs/config 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/.dirs/system-data2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/.dirs/data 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/.dirs/state 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/.dirs/runtime 1177s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4F0ZE3/gdbus-server-auth-Q61LE3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1177s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4F0ZE3/gdbus-server-auth-Q61LE3/dbus-knXcnLFn 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 30875 1177s ok 5 /gdbus/server-auth/external 1177s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/.dirs/home 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/.dirs/cache 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/.dirs/system-config2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/.dirs/config 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/.dirs/system-data2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/.dirs/data 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/.dirs/state 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/.dirs/runtime 1177s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4F0ZE3/gdbus-server-auth-FRJLE3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1177s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1177s # Start of anonymous tests 1177s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/tcp/.dirs/home 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/tcp/.dirs/config 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/tcp/.dirs/data 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/tcp/.dirs/state 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1177s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1177s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1177s # End of anonymous tests 1177s # Start of external tests 1177s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/require-same-user/.dirs/home 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/require-same-user/.dirs/cache 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/require-same-user/.dirs/config 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/require-same-user/.dirs/data 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/require-same-user/.dirs/state 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1177s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4F0ZE3/gdbus-server-auth-4VILE3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1177s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4F0ZE3/gdbus-server-auth-4VILE3/dbus-BN2bI2cv 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 30875 1177s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1177s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1177s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1177s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=30875,uid=1000,gid=1000 1177s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 30875 1177s ok 8 /gdbus/server-auth/external/require-same-user 1177s # End of external tests 1177s # Start of sha1 tests 1177s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/tcp/.dirs/home 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/tcp/.dirs/cache 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/tcp/.dirs/config 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/tcp/.dirs/data 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/tcp/.dirs/state 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F0ZE3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1177s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1177s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1177s # End of sha1 tests 1177s # End of server-auth tests 1177s # End of gdbus tests 1177s ok - glib/gdbus-server-auth.test 1177s # Running test: glib/module-test-plugin.test 1177s TAP version 14 1177s # random seed: R02S125b7e6cbbfcb63e6af18cb45e9836c3 1177s 1..3 1177s # Start of module tests 1177s ok 1 /module/basics 1177s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1177s ok 2 /module/invalid-libtool-archive 1177s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1177s ok 3 /module/local-binding 1177s # End of module tests 1177s ok - glib/module-test-plugin.test 1177s # Running test: glib/buffered-output-stream.test 1177s TAP version 14 1177s # random seed: R02Sc6745fca55cb41533cff97d357dfbf15 1177s 1..5 1177s # Start of buffered-output-stream tests 1177s ok 1 /buffered-output-stream/write 1177s ok 2 /buffered-output-stream/grow 1177s ok 3 /buffered-output-stream/seek 1177s ok 4 /buffered-output-stream/truncate 1177s # End of buffered-output-stream tests 1177s # Start of filter-output-stream tests 1177s ok 5 /filter-output-stream/close 1177s # End of filter-output-stream tests 1177s ok - glib/buffered-output-stream.test 1177s # Running test: glib/completion.test 1177s TAP version 14 1177s # random seed: R02Se466cfb10042266bab528f1aeb0578da 1177s 1..1 1177s # Start of completion tests 1177s ok 1 /completion/test-completion 1177s # End of completion tests 1177s ok - glib/completion.test 1177s # Running test: glib/macros-c-89.test 1177s ok - glib/macros-c-89.test 1177s TAP version 14 1177s # random seed: R02S8920dc6e8ed75fca777dd0143652210f 1177s 1..4 1177s # Start of C tests 1177s ok 1 /C/standard-89 1177s # End of C tests 1177s # Start of alignof tests 1177s ok 2 /alignof/fallback 1177s # End of alignof tests 1177s # Start of assert tests 1177s ok 3 /assert/static 1177s # End of assert tests 1177s # Start of struct tests 1177s ok 4 /struct/sizeof_member 1177s # End of struct tests 1177s # Running test: glib/memory-monitor-psi.test 1177s ok - glib/memory-monitor-psi.test 1177s TAP version 14 1177s # random seed: R02Sb8abf948c5bcd9c949972fa2c74bb99e 1177s 1..1 1177s # Start of memory-monitor-psi tests 1177s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_XN5JE3/memory-monitor-psi/receive-signal/.dirs/home 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_XN5JE3/memory-monitor-psi/receive-signal/.dirs/cache 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_XN5JE3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_XN5JE3/memory-monitor-psi/receive-signal/.dirs/system-config2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_XN5JE3/memory-monitor-psi/receive-signal/.dirs/config 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_XN5JE3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_XN5JE3/memory-monitor-psi/receive-signal/.dirs/system-data2 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_XN5JE3/memory-monitor-psi/receive-signal/.dirs/data 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_XN5JE3/memory-monitor-psi/receive-signal/.dirs/state 1177s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_XN5JE3/memory-monitor-psi/receive-signal/.dirs/runtime 1177s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 1177s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 1177s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 1177s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1177s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1177s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1177s ok 1 /memory-monitor-psi/receive-signal 1177s # End of memory-monitor-psi tests 1177s # Running test: glib/signals-refcount2.test 1177s TAP version 14 1177s # random seed: R02S1cfc4248ba267a942a46ed9e0eee0467 1177s 1..1 1177s # Start of gobject tests 1177s # Start of refcount tests 1177s # init 0x8981c90 1177s # 1177s # init 0x8988510 1177s # 1178s # Executing: glib/signals-refcount2.test 1182s # dispose 0x8981c90! 1182s # 1182s # dispose 0x8988510! 1182s # 1182s ok 1 /gobject/refcount/signals 1182s # slow test /gobject/refcount/signals executed in 5.00 secs 1182s # End of refcount tests 1182s # End of gobject tests 1182s TAP version 14 1182s # random seed: R02Scec43d4d5b5b3557ab8edbc84f955269 1182s 1..122 1182s # Start of date tests 1182s ok 1 /date/basic 1182s ok 2 /date/empty 1182s ok 3 /date/dmy 1182s ok 4 /date/julian 1182s ok 5 /date/compare 1182s ok 6 /date/dates 1182s ok 7 /date/strftime 1182s ok 8 /date/two-digit-years 1182s ok 9 /date/parse 1182s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1182s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1182s ok 11 /date/month_substring 1182s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1182s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1182s ok 13 /date/clamp 1182s ok 14 /date/order 1182s ok 15 /date/copy 1182s # Vector 0: 0000-00-00, invalid 1182s # Vector 1: 0001-01-01, valid 1182s # Vector 2: 0000-01-01, invalid 1182s # Vector 3: 2000-02-30, invalid 1182s # Vector 4: 2000-02-29, valid 1182s # Vector 5: 2001-02-29, invalid 1182s # Vector 6: 65535-01-01, valid 1182s ok 16 /date/valid-dmy 1182s # Considering 2000-01-01 1182s # Considering 2000-01-07 1182s # Considering 2000-01-08 1182s # Considering 2001-01-01 1182s # Considering 2001-01-07 1182s # Considering 2001-01-08 1182s # Considering 2002-01-01 1182s # Considering 2002-01-07 1182s # Considering 2002-01-08 1182s # Considering 2003-01-01 1182s # Considering 2003-01-07 1182s # Considering 2003-01-08 1182s # Considering 2004-01-01 1182s # Considering 2004-01-07 1182s # Considering 2004-01-08 1182s # Considering 2006-01-01 1182s # Considering 2006-01-07 1182s # Considering 2006-01-08 1182s # Considering 2010-01-01 1182s # Considering 2010-01-07 1182s # Considering 2010-01-08 1182s ok 17 /date/week-of-year 1182s # Start of parse tests 1182s # Test 0 1182s # Test 1 1182s ok 18 /date/parse/invalid 1182s # End of parse tests 1182s # Start of year tests 1182s ok - glib/signals-refcount2.test 1182s ok 19 /date/year/1 1182s ok 20 /date/year/2 1182s # Running test: glib/date.test 1182s ok 21 /date/year/3 1182s ok 22 /date/year/4 1182s ok 23 /date/year/5 1182s ok 24 /date/year/6 1182s ok 25 /date/year/7 1182s ok 26 /date/year/8 1182s ok 27 /date/year/9 1182s ok 28 /date/year/10 1182s ok 29 /date/year/11 1182s ok 30 /date/year/12 1182s ok 31 /date/year/13 1182s ok 32 /date/year/14 1182s ok 33 /date/year/98 1182s ok 34 /date/year/99 1182s ok 35 /date/year/100 1182s ok 36 /date/year/101 1182s ok 37 /date/year/102 1182s ok 38 /date/year/103 1182s ok 39 /date/year/397 1182s ok 40 /date/year/398 1182s ok 41 /date/year/399 1182s ok 42 /date/year/400 1182s ok 43 /date/year/401 1182s ok 44 /date/year/402 1182s ok 45 /date/year/403 1182s ok 46 /date/year/404 1182s ok 47 /date/year/405 1182s ok 48 /date/year/406 1182s ok 49 /date/year/1598 1182s ok 50 /date/year/1599 1182s ok 51 /date/year/1600 1182s ok 52 /date/year/1601 1182s ok 53 /date/year/1602 1182s ok 54 /date/year/1650 1182s ok 55 /date/year/1651 1182s ok 56 /date/year/1897 1182s ok 57 /date/year/1898 1182s ok 58 /date/year/1899 1182s ok 59 /date/year/1900 1182s ok 60 /date/year/1901 1182s ok 61 /date/year/1902 1182s ok 62 /date/year/1903 1182s ok 63 /date/year/1961 1182s ok 64 /date/year/1962 1182s ok 65 /date/year/1963 1182s ok 66 /date/year/1964 1182s ok 67 /date/year/1965 1182s ok 68 /date/year/1967 1182s ok 69 /date/year/1968 1182s ok 70 /date/year/1969 1182s ok 71 /date/year/1970 1182s ok 72 /date/year/1971 1182s ok 73 /date/year/1972 1182s ok 74 /date/year/1973 1182s ok 75 /date/year/1974 1182s ok 76 /date/year/1975 1182s ok 77 /date/year/1976 1182s ok 78 /date/year/1977 1182s ok 79 /date/year/1978 1182s ok 80 /date/year/1979 1182s ok 81 /date/year/1980 1182s ok 82 /date/year/1981 1182s ok 83 /date/year/1982 1182s ok 84 /date/year/1983 1182s ok 85 /date/year/1984 1182s ok 86 /date/year/1985 1182s ok 87 /date/year/1986 1182s ok 88 /date/year/1987 1182s ok 89 /date/year/1988 1182s ok 90 /date/year/1989 1182s ok 91 /date/year/1990 1182s ok 92 /date/year/1991 1182s ok 93 /date/year/1992 1182s ok 94 /date/year/1993 1182s ok 95 /date/year/1994 1182s ok 96 /date/year/1995 1182s ok 97 /date/year/1996 1182s ok 98 /date/year/1997 1182s ok 99 /date/year/1998 1182s ok 100 /date/year/1999 1182s ok 101 /date/year/2000 1182s ok 102 /date/year/2001 1182s ok 103 /date/year/2002 1182s ok 104 /date/year/2003 1182s ok 105 /date/year/2004 1182s ok 106 /date/year/2005 1182s ok 107 /date/year/2006 1182s ok 108 /date/year/2007 1182s ok 109 /date/year/2008 1182s ok 110 /date/year/2009 1182s ok 111 /date/year/2010 1182s ok 112 /date/year/2011 1182s ok 113 /date/year/2012 1182s ok 114 /date/year/3000 1182s ok 115 /date/year/3001 1182s ok 116 /date/year/3002 1182s ok 117 /date/year/3998 1182s ok 118 /date/year/3999 1182s ok 119 /date/year/4000 1182s ok 120 /date/year/4001 1182s ok 121 /date/year/4002 1182s ok 122 /date/year/4003 1182s # End of year tests 1182s # End of date tests 1182s ok - glib/date.test 1182s # Running test: glib/utf8-performance.test 1182s TAP version 14 1182s # random seed: R02S4b4d8ca6f5a12503bcdf654c8ac5c229 1182s 1..36 1182s # Start of utf8 tests 1182s # Start of perf tests 1182s # Start of get_char tests 1182s # max perf: 5.4 MB/s 1182s ok 1 /utf8/perf/get_char/ascii 1182s # max perf: 67.0 MB/s 1182s ok 2 /utf8/perf/get_char/latin1 1182s # max perf: 160.0 MB/s 1182s ok 3 /utf8/perf/get_char/cyrillic 1182s # max perf: 156.0 MB/s 1182s ok 4 /utf8/perf/get_char/han 1182s # End of get_char tests 1182s # Start of get_char-backwards tests 1182s # max perf: 43.0 MB/s 1182s ok 5 /utf8/perf/get_char-backwards/ascii 1182s # max perf: 67.0 MB/s 1182s ok 6 /utf8/perf/get_char-backwards/latin1 1182s # max perf: 160.0 MB/s 1182s ok 7 /utf8/perf/get_char-backwards/cyrillic 1182s # max perf: 156.0 MB/s 1182s ok 8 /utf8/perf/get_char-backwards/han 1182s # End of get_char-backwards tests 1182s # Start of get_char_validated tests 1182s # max perf: inf MB/s 1182s ok 9 /utf8/perf/get_char_validated/ascii 1182s # max perf: 67.0 MB/s 1182s ok 10 /utf8/perf/get_char_validated/latin1 1182s # max perf: 160.0 MB/s 1182s ok 11 /utf8/perf/get_char_validated/cyrillic 1182s # max perf: inf MB/s 1182s ok 12 /utf8/perf/get_char_validated/han 1182s # End of get_char_validated tests 1182s # Start of utf8_to_ucs4 tests 1182s # max perf: 43.0 MB/s 1182s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1182s # max perf: 67.0 MB/s 1182s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1182s # max perf: 160.0 MB/s 1182s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1182s # max perf: 156.0 MB/s 1182s ok 16 /utf8/perf/utf8_to_ucs4/han 1182s # End of utf8_to_ucs4 tests 1182s # Start of utf8_to_ucs4-sized tests 1182s # max perf: 43.0 MB/s 1182s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1182s # max perf: 67.0 MB/s 1182s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1182s # max perf: 80.0 MB/s 1182s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1182s # max perf: 156.0 MB/s 1182s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1182s # End of utf8_to_ucs4-sized tests 1182s # Start of utf8_to_ucs4_fast tests 1182s # max perf: inf MB/s 1182s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1182s # max perf: 67.0 MB/s 1182s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1182s # max perf: 160.0 MB/s 1182s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1182s # max perf: 156.0 MB/s 1182s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1182s # End of utf8_to_ucs4_fast tests 1182s # Start of utf8_to_ucs4_fast-sized tests 1182s # max perf: 43.0 MB/s 1182s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1182s # max perf: 67.0 MB/s 1182s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1182s # max perf: 160.0 MB/s 1182s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1182s # max perf: 156.0 MB/s 1182s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1182s # End of utf8_to_ucs4_fast-sized tests 1182s # Start of utf8_validate tests 1182s # max perf: 43.0 MB/s 1182s ok 29 /utf8/perf/utf8_validate/ascii 1182s # max perf: inf MB/s 1182s ok 30 /utf8/perf/utf8_validate/latin1 1182s # max perf: inf MB/s 1182s ok 31 /utf8/perf/utf8_validate/cyrillic 1182s # max perf: inf MB/s 1182s ok 32 /utf8/perf/utf8_validate/han 1182s # End of utf8_validate tests 1182s # Start of utf8_validate-sized tests 1182s # max perf: inf MB/s 1182s ok 33 /utf8/perf/utf8_validate-sized/ascii 1182s # max perf: inf MB/s 1182s ok 34 /utf8/perf/utf8_validate-sized/latin1 1182s # max perf: inf MB/s 1182s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1182s # max perf: 156.0 MB/s 1182s ok 36 /utf8/perf/utf8_validate-sized/han 1182s # End of utf8_validate-sized tests 1182s # End of perf tests 1182s # End of utf8 tests 1182s ok - glib/utf8-performance.test 1182s # Running test: glib/properties-refcount3.test 1182s TAP version 14 1182s # random seed: R02S8588a2bc53c165a73a042ef614120cb8 1182s 1..1 1182s # Start of gobject tests 1182s # Start of refcount tests 1183s # Executing: glib/properties-refcount3.test 1188s # Executing: glib/properties-refcount3.test 1193s # Executing: glib/properties-refcount3.test 1198s # Executing: glib/properties-refcount3.test 1203s # Executing: glib/properties-refcount3.test 1208s # Executing: glib/properties-refcount3.test 1212s # 1212s # stopping 1212s # 1212s # stopped 1212s # 1212s # 5976874 271961 1212s # 1212s ok 1 /gobject/refcount/properties-3 1212s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1212s # End of refcount tests 1212s # End of gobject tests 1212s ok - glib/properties-refcount3.test 1212s # Running test: glib/cxx-20.test 1212s TAP version 14 1212s # random seed: R02S44c9d30f195aa97c5ea5f99cef3d1e10 1212s 1..2 1212s # Start of gtask tests 1212s # 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. 1212s ok 1 /gtask/name 1212s # Start of name tests 1212s # 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. 1212s ok 2 /gtask/name/macro-wrapper 1212s # End of name tests 1212s # End of gtask tests 1212s ok - glib/cxx-20.test 1212s # Running test: glib/memchunk.test 1212s TAP version 14 1212s # random seed: R02Sc4d50c438e2132481d3d691139254b2c 1212s 1..1 1212s # Start of memchunk tests 1212s ok 1 /memchunk/basic 1212s # End of memchunk tests 1212s ok - glib/memchunk.test 1212s # Running test: glib/once.test 1212s TAP version 14 1212s # random seed: R02S7e835714a2896fa1265076bfffe6f8cc 1212s 1..5 1212s # Start of once tests 1212s # /once/single-threaded summary: Test g_once() usage from a single thread 1212s ok 1 /once/single-threaded 1212s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1212s ok 2 /once/multi-threaded 1212s # End of once tests 1212s # Start of once-init tests 1212s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1212s ok 3 /once-init/single-threaded 1212s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1212s ok - glib/once.test 1212s # Running test: glib/strfuncs.test 1212s ok - glib/strfuncs.test 1212s # Running test: glib/unix-mounts.test 1212s ok 4 /once-init/multi-threaded 1212s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1212s ok 5 /once-init/string 1212s # End of once-init tests 1212s TAP version 14 1212s # random seed: R02Se62c3bde96c9951fdb1d98615295e9de 1212s 1..51 1212s # Start of strfuncs tests 1212s ok 1 /strfuncs/ascii-strcasecmp 1212s ok 2 /strfuncs/ascii_strdown 1212s ok 3 /strfuncs/ascii_strdup 1212s ok 4 /strfuncs/ascii_strtod 1212s ok 5 /strfuncs/bounds-check 1212s ok 6 /strfuncs/has-prefix 1212s ok 7 /strfuncs/has-prefix-macro 1212s ok 8 /strfuncs/has-suffix 1212s ok 9 /strfuncs/has-suffix-macro 1212s ok 10 /strfuncs/memdup 1212s ok 11 /strfuncs/memdup2 1212s ok 12 /strfuncs/set_str 1212s ok 13 /strfuncs/stpcpy 1212s ok 14 /strfuncs/str_match_string 1212s ok 15 /strfuncs/str_tokenize_and_fold 1212s ok 16 /strfuncs/strcanon 1212s ok 17 /strfuncs/strchomp 1212s ok 18 /strfuncs/strchug 1212s ok 19 /strfuncs/strcompress-strescape 1212s ok 20 /strfuncs/strconcat 1212s ok 21 /strfuncs/strdelimit 1212s ok 22 /strfuncs/strdup 1212s ok 23 /strfuncs/strdup-printf 1212s ok 24 /strfuncs/strdupv 1212s ok 25 /strfuncs/strerror 1212s ok 26 /strfuncs/strip-context 1212s ok 27 /strfuncs/strjoin 1212s ok 28 /strfuncs/strjoinv 1212s ok 29 /strfuncs/strlcat 1212s ok 30 /strfuncs/strlcpy 1212s ok 31 /strfuncs/strncasecmp 1212s ok 32 /strfuncs/strndup 1212s ok 33 /strfuncs/strnfill 1212s ok 34 /strfuncs/strreverse 1212s ok 35 /strfuncs/strsignal 1212s ok 36 /strfuncs/strsplit 1212s ok 37 /strfuncs/strsplit-set 1212s ok 38 /strfuncs/strstr 1212s ok 39 /strfuncs/strtod 1212s ok 40 /strfuncs/strtoull-strtoll 1212s ok 41 /strfuncs/strup 1212s ok 42 /strfuncs/strv-contains 1212s ok 43 /strfuncs/strv-equal 1212s ok 44 /strfuncs/strv-length 1212s ok 45 /strfuncs/test-is-to-digit 1212s ok 46 /strfuncs/transliteration 1212s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1212s ok 47 /strfuncs/str-equal 1212s ok 48 /strfuncs/str-is-ascii 1212s # Start of ascii-string-to-num tests 1212s ok 49 /strfuncs/ascii-string-to-num/pathological 1212s ok 50 /strfuncs/ascii-string-to-num/usual 1212s # End of ascii-string-to-num tests 1212s # Start of strdup tests 1212s ok 51 /strfuncs/strdup/inline 1212s # End of strdup tests 1212s # End of strfuncs tests 1212s TAP version 14 1212s # random seed: R02Sabd8a57e34a5538bad23e074635ade33 1212s 1..4 1212s # Start of unix-mounts tests 1212s ok 1 /unix-mounts/is-system-fs-type 1212s ok 2 /unix-mounts/is-system-device-path 1212s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1212s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1212s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1212s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1212s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1212s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1212s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1212s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1212s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1212s ok 3 /unix-mounts/get-mount-points 1212s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1212s ok 4 /unix-mounts/get-mount-entries 1212s # End of unix-mounts tests 1212s TAP version 14 1212s # random seed: R02S0cd690d3c8ab87080095c838825562c9 1212s 1..1 1212s # Start of gobject tests 1212s # *** emitting foo on a TestA instance 1212s # Expecting: TestA::foo,TestI::foo 1212s # Got: TestA::foo,TestI::foo 1212s # *** emitting bar on a TestA instance 1212s # Expecting: TestA::bar 1212s # Got: TestA::bar 1212s # *** emitting baz on a TestA instance 1212s # Expecting: TestA::baz 1212s # Got: TestA::baz 1212s # *** emitting foo on a TestB instance 1212s # Expecting: TestB::foo,TestA::foo,TestI::foo 1212s # Got: TestB::foo,TestA::foo,TestI::foo 1212s # *** emitting bar on a TestB instance 1212s # Expecting: TestB::bar,TestA::bar 1212s # Got: TestB::bar,TestA::bar 1212s # *** emitting baz on a TestB instance 1212s # Expecting: TestB::baz,TestA::baz 1212s # Got: TestB::baz,TestA::baz 1212s # *** emitting foo on a TestC instance 1212s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1212s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1212s # *** emitting bar on a TestC instance 1212s # Expecting: TestC::bar,TestB::bar,TestA::bar 1212s # Got: TestC::bar,TestB::bar,TestA::bar 1212s # *** emitting baz on a TestC instance 1212s # Expecting: TestC::baz,TestB::baz,TestA::baz 1212s # Got: TestC::baz,TestB::baz,TestA::baz 1212s ok 1 /gobject/override 1212s # End of gobject tests 1212s ok - glib/unix-mounts.test 1212s # Running test: glib/override.test 1212s ok - glib/override.test 1212s # Running test: glib/autoptr-gio.test 1212s ok - glib/autoptr-gio.test 1212s # Running test: glib/thread-deprecated.test 1212s TAP version 14 1212s # random seed: R02S6dd3fe15edb219e00631e463f9fe96bb 1212s 1..1 1212s # Start of autoptr tests 1212s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1212s ok 1 /autoptr/autoptr 1212s # End of autoptr tests 1212s TAP version 14 1212s # random seed: R02S624f988a4648083e738a62130f57cd05 1212s 1..6 1212s # Start of thread tests 1212s ok 1 /thread/mutex 1213s ok 2 /thread/static-rec-mutex 1213s # Executing: glib/thread-deprecated.test 1217s ok 3 /thread/static-private 1217s # slow test /thread/static-private executed in 4.40 secs 1218s # Executing: glib/thread-deprecated.test 1222s ok 4 /thread/static-rw-lock 1222s # slow test /thread/static-rw-lock executed in 5.00 secs 1222s ok 5 /thread/once 1223s # Executing: glib/thread-deprecated.test 1228s # Executing: glib/thread-deprecated.test 1232s ok 6 /thread/rerun-all 1232s # slow test /thread/rerun-all executed in 10.03 secs 1232s # End of thread tests 1232s ok - glib/thread-deprecated.test 1232s # Running test: glib/flags.test 1232s ok - glib/flags.test 1232s TAP version 14 1232s # random seed: R02Sbb39134077a634f39582d83daf5d475a 1232s 1..1 1232s # Start of gobject tests 1232s # Start of flags tests 1232s ok 1 /gobject/flags/validate 1232s # End of flags tests 1232s # End of gobject tests 1232s # Running test: glib/private.test 1232s TAP version 14 1232s # random seed: R02S31dd6349c356340979cb6df5382c9c7a 1232s 1..8 1232s # Start of thread tests 1232s ok 1 /thread/private1 1233s # Executing: glib/private.test 1233s ok 2 /thread/private2 1233s # slow test /thread/private2 executed in 1.08 secs 1233s ok 3 /thread/private3 1233s ok 4 /thread/staticprivate1 1233s ok 5 /thread/staticprivate2 1233s ok 6 /thread/staticprivate3 1234s ok - glib/private.test 1234s ok 7 /thread/staticprivate4 1234s # slow test /thread/staticprivate4 executed in 1.08 secs 1234s ok 8 /thread/staticprivate5 1234s # End of thread tests 1234s # Running test: glib/live-g-file.test 1234s TAP version 14 1234s # random seed: R02Sc7ed88200495e5657dcc153073599683 1234s 1..13 1234s # Start of live-g-file tests 1234s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/prep_clean_structure/.dirs/home 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/prep_clean_structure/.dirs/cache 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_KOD3E3/live-g-file/prep_clean_structure/.dirs/system-config2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/prep_clean_structure/.dirs/config 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_KOD3E3/live-g-file/prep_clean_structure/.dirs/system-data2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/prep_clean_structure/.dirs/data 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/prep_clean_structure/.dirs/state 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KOD3E3/live-g-file/prep_clean_structure/.dirs/runtime 1234s # Cleaning target testing structure in '/tmp/test_live-g-file_KOD3E3/testdir_live-g-file'... 1234s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1234s ok 1 /live-g-file/prep_clean_structure 1234s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/create_structure/.dirs/home 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/create_structure/.dirs/cache 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_KOD3E3/live-g-file/create_structure/.dirs/system-config2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/create_structure/.dirs/config 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_KOD3E3/live-g-file/create_structure/.dirs/system-data2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/create_structure/.dirs/data 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/create_structure/.dirs/state 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KOD3E3/live-g-file/create_structure/.dirs/runtime 1234s # 1234s # Going to create testing structure in '/tmp/test_live-g-file_KOD3E3/testdir_live-g-file'... 1234s # Creating directory 'dir1'... 1234s # Creating directory 'dir1/subdir'... 1234s # Creating directory 'dir2'... 1234s # Creating directory 'dir-target'... 1234s # Creating directory 'dir_no-access'... 1234s # Creating directory 'dir_no-write'... 1234s # Creating file 'target-file'... 1234s # Creating file 'normal_file'... 1234s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1234s # Creating file 'executable_file'... 1234s # Creating file 'private_file'... 1234s # Creating file 'normal_file2'... 1234s # Creating file 'readonly_file'... 1234s # Creating file 'UTF_příliš z'... 1234s # Creating directory 'dir_příliš z'... 1234s # Creating symlink 'lost_symlink' --> 'nowhere'... 1234s # Creating directory 'dir_hidden'... 1234s # Creating file 'dir_hidden/.a-hidden-file'... 1234s # Creating file 'dir_hidden/file-in-.hidden1'... 1234s # Creating file 'dir_hidden/file-in-.hidden2'... 1234s # Creating pattern file... 1234s # done. 1234s ok 2 /live-g-file/create_structure 1234s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_initial_structure/.dirs/home 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_initial_structure/.dirs/cache 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_initial_structure/.dirs/system-config2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_initial_structure/.dirs/config 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_initial_structure/.dirs/system-data2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_initial_structure/.dirs/data 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_initial_structure/.dirs/state 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KOD3E3/live-g-file/test_initial_structure/.dirs/runtime 1234s # Testing sample structure in '/tmp/test_live-g-file_KOD3E3/testdir_live-g-file'... 1234s # Testing file 'dir1'... 1234s # Testing file 'dir1/subdir'... 1234s # Testing file 'dir2'... 1234s # Testing file 'dir-target'... 1234s # Testing file 'dir_no-access'... 1234s # Testing file 'dir_no-write'... 1234s # Testing file 'target-file'... 1234s # Testing file 'normal_file'... 1234s # Testing file 'normal_file-symlink'... 1234s # Testing file 'executable_file'... 1234s # Testing file 'private_file'... 1234s # Testing file 'normal_file2'... 1234s # Testing file 'readonly_file'... 1234s # Testing file 'UTF_příliš z'... 1234s # Testing file 'dir_příliš z'... 1234s # Testing file 'lost_symlink'... 1234s # Testing file 'dir_hidden'... 1234s # Testing file 'dir_hidden/.a-hidden-file'... 1234s # Testing file 'dir_hidden/file-in-.hidden1'... 1234s # Testing file 'dir_hidden/file-in-.hidden2'... 1235s ok - glib/live-g-file.test 1235s # Running test: glib/checksum.test 1235s # Testing pattern file... 1235s # read 65536 bytes, total = 65536 of 65536. 1235s ok 3 /live-g-file/test_initial_structure 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_traverse_structure/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_traverse_structure/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_traverse_structure/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_traverse_structure/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_traverse_structure/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_traverse_structure/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_traverse_structure/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KOD3E3/live-g-file/test_traverse_structure/.dirs/runtime 1235s # Traversing through the sample structure in '/tmp/test_live-g-file_KOD3E3/testdir_live-g-file'... 1235s # Found file dir1, relative to root: dir1 1235s # Found file subdir, relative to root: dir1/subdir 1235s # Found file dir2, relative to root: dir2 1235s # Found file dir-target, relative to root: dir-target 1235s # Found file dir_no-access, relative to root: dir_no-access 1235s # Found file dir_no-write, relative to root: dir_no-write 1235s # Found file target-file, relative to root: target-file 1235s # Found file normal_file, relative to root: normal_file 1235s # Found file normal_file-symlink, relative to root: normal_file-symlink 1235s # Found file executable_file, relative to root: executable_file 1235s # Found file private_file, relative to root: private_file 1235s # Found file normal_file2, relative to root: normal_file2 1235s # Found file readonly_file, relative to root: readonly_file 1235s # Found file UTF_příliš z, relative to root: UTF_příliš z 1235s # Found file dir_příliš z, relative to root: dir_příliš z 1235s # Found file lost_symlink, relative to root: lost_symlink 1235s # Found file dir_hidden, relative to root: dir_hidden 1235s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1235s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1235s # Found file .hidden, relative to root: dir_hidden/.hidden 1235s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1235s # Found file pattern_file, relative to root: pattern_file 1235s ok 4 /live-g-file/test_traverse_structure 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_enumerate/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_enumerate/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_enumerate/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_enumerate/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_enumerate/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_enumerate/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_enumerate/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KOD3E3/live-g-file/test_enumerate/.dirs/runtime 1235s # Test enumerate '/tmp/test_live-g-file_KOD3E3/testdir_live-g-file'... 1235s # Testing file 'dir_no-access' 1235s # Testing file 'normal_file' 1235s # Testing file 'normal_file-symlink' 1235s # Testing file 'not_exists' 1235s # Testing file 'not_exists' 1235s # Testing file 'not_exists2' 1235s # Testing file 'not_exists3' 1235s # Testing file 'not_exists4' 1235s # Testing file 'dir_no-execute/file' 1235s ok 5 /live-g-file/test_enumerate 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_open/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_open/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_open/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_open/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_open/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_open/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_open/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KOD3E3/live-g-file/test_open/.dirs/runtime 1235s # test_open: 'dir1' 1235s # test_open: 'dir_no-access' 1235s # test_open: 'target-file' 1235s # test_open: 'normal_file-symlink' 1235s # test_open: 'executable_file' 1235s # test_open: 'private_file' 1235s # test_open: 'readonly_file' 1235s # test_open: 'UTF_příliš z' 1235s # test_open: 'pattern_file' 1235s # test_open: 'not_exists' 1235s # test_open: 'dir_no-execute/file' 1235s # test_open: 'lost_symlink' 1235s ok 6 /live-g-file/test_open 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_create/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_create/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_create/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_create/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_create/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_create/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_create/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KOD3E3/live-g-file/test_create/.dirs/runtime 1235s # test_create: 'dir1' 1235s # error code 3 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir1”: Is a directory 1235s # test_create: 'dir1/subdir' 1235s # error code 3 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir1/subdir”: Is a directory 1235s # test_create: 'dir2' 1235s # error code 2 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir2”: File exists 1235s # test_create: 'normal_file' 1235s # error code 2 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/normal_file”: File exists 1235s # test_create: 'executable_file' 1235s # test_create: 'private_file' 1235s # test_create: 'normal_file2' 1235s # test_create: 'UTF_příliš z' 1235s # error code 2 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/UTF_příliš z”: File exists 1235s # test_create: 'dir_příliš z' 1235s # error code 2 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_příliš z”: File exists 1235s # test_create: 'pattern_file' 1235s # test_create: 'not_exists2' 1235s # test_create: 'not_exists3' 1235s # test_create: 'not_exists4' 1235s ok 7 /live-g-file/test_create 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_copy_move/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_copy_move/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_copy_move/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_copy_move/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_copy_move/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_copy_move/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_copy_move/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KOD3E3/live-g-file/test_copy_move/.dirs/runtime 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1235s # res = 0, error code 25 = Can’t recursively copy directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'dir1/subdir' --> '.' 1235s # res = 0, error code 2 = Target file exists 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'dir1/subdir' --> 'target-file' 1235s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1235s # res = 0, error code 25 = Can’t recursively copy directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1235s # res = 0, error code 25 = Can’t recursively copy directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1235s # res = 0, error code 25 = Can’t recursively copy directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'dir2' --> 'dir-target' 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'dir-target' --> 'dir-target' 1235s # res = 0, error code 25 = Can’t recursively copy directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'dir-target' --> '.' 1235s # res = 0, error code 2 = Target file exists 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'dir-target' --> 'target-file' 1235s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/target-file/dir-target”: Not a directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'dir-target' --> 'not_exists' 1235s # res = 0, error code 25 = Can’t recursively copy directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'dir-target' --> 'dir_no-access' 1235s # res = 0, error code 25 = Can’t recursively copy directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'dir-target' --> 'dir_no-write' 1235s # res = 0, error code 25 = Can’t recursively copy directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'target-file' --> 'dir-target' 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'target-file' --> '.' 1235s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/target-file”: File exists 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'target-file' --> 'target-file' 1235s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/target-file/target-file”: Not a directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'target-file' --> 'not_exists' 1235s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists/target-file”: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'target-file' --> 'dir_no-access' 1235s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'target-file' --> 'dir_no-write' 1235s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'normal_file-symlink' --> '.' 1235s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/normal_file-symlink: File exists 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1235s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1235s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1235s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1235s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'executable_file' --> 'dir-target' 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'executable_file' --> 'dir-target' 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'executable_file' --> '.' 1235s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/executable_file”: File exists 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'executable_file' --> 'target-file' 1235s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/target-file/executable_file”: Not a directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'executable_file' --> 'not_exists' 1235s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'executable_file' --> 'dir_no-access' 1235s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'executable_file' --> 'dir_no-write' 1235s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'private_file' --> 'dir-target' 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'private_file' --> 'dir-target' 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'private_file' --> '.' 1235s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/private_file”: File exists 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'private_file' --> 'target-file' 1235s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/target-file/private_file”: Not a directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'private_file' --> 'not_exists' 1235s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists/private_file”: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'private_file' --> 'dir_no-access' 1235s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'private_file' --> 'dir_no-write' 1235s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'normal_file2' --> 'dir-target' 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'normal_file2' --> 'dir-target' 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'normal_file2' --> '.' 1235s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/normal_file2”: File exists 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'normal_file2' --> 'target-file' 1235s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/target-file/normal_file2”: Not a directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'normal_file2' --> 'not_exists' 1235s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1235s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1235s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'UTF_příliš z' --> '.' 1235s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/UTF_příliš z”: File exists 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'UTF_příliš z' --> 'target-file' 1235s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 1235s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 1235s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 1235s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'pattern_file' --> 'dir-target' 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'pattern_file' --> '.' 1235s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/pattern_file”: File exists 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'pattern_file' --> 'target-file' 1235s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/target-file/pattern_file”: Not a directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'pattern_file' --> 'not_exists' 1235s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1235s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1235s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'not_exists' --> 'dir-target' 1235s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists”: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'not_exists' --> '.' 1235s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists”: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'not_exists' --> 'target-file' 1235s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists”: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'not_exists' --> 'not_exists' 1235s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists”: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'not_exists' --> 'dir_no-access' 1235s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists”: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'not_exists' --> 'dir_no-write' 1235s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists”: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'not_exists' --> 'dir-target' 1235s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'lost_symlink' --> 'dir-target' 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'lost_symlink' --> '.' 1235s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/lost_symlink: File exists 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'lost_symlink' --> 'target-file' 1235s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/target-file/lost_symlink: Not a directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'lost_symlink' --> 'not_exists' 1235s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1235s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1235s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1235s ok 8 /live-g-file/test_copy_move 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_delete/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_delete/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_delete/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_delete/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_delete/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_delete/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_delete/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KOD3E3/live-g-file/test_delete/.dirs/runtime 1235s # Deleting dir1, path = /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir1 1235s # result = 0, error = Error removing file /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir1: Directory not empty 1235s # Deleting dir2, path = /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir2 1235s # result = 0, error = Error removing file /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir2: No such file or directory 1235s # Deleting executable_file, path = /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/executable_file 1235s # result = 0, error = Error trashing file /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/executable_file: No such file or directory 1235s # Deleting readonly_file, path = /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/readonly_file 1235s # Deleting dir_příliš z, path = /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_příliš z 1235s # Deleting not_exists, path = /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists 1235s # result = 0, error = Error removing file /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists: No such file or directory 1235s # Deleting not_exists, path = /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists 1235s # result = 0, error = Error trashing file /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/not_exists: No such file or directory 1235s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-execute/file 1235s # result = 0, error = Error removing file /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/dir_no-execute/file: No such file or directory 1235s # Deleting lost_symlink, path = /tmp/test_live-g-file_KOD3E3/testdir_live-g-file/lost_symlink 1235s ok 9 /live-g-file/test_delete 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_make_directory_with_parents/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_make_directory_with_parents/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_make_directory_with_parents/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_make_directory_with_parents/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_make_directory_with_parents/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KOD3E3/live-g-file/test_make_directory_with_parents/.dirs/runtime 1235s # We do not have CAP_DAC_OVERRIDE or equivalent 1235s ok 10 /live-g-file/test_make_directory_with_parents 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/final_clean/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/final_clean/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_KOD3E3/live-g-file/final_clean/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/final_clean/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_KOD3E3/live-g-file/final_clean/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/final_clean/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/final_clean/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KOD3E3/live-g-file/final_clean/.dirs/runtime 1235s # Cleaning target testing structure in '/tmp/test_live-g-file_KOD3E3/testdir_live-g-file'... 1235s # deleting 'dir1' 1235s # deleting 'subdir' 1235s # deleting 'dir-target' 1235s # deleting 'dir2' 1235s # deleting 'target-file' 1235s # deleting 'normal_file-symlink' 1235s # deleting 'executable_file' 1235s # deleting 'private_file' 1235s # deleting 'normal_file2' 1235s # deleting 'UTF_příliš z' 1235s # deleting 'pattern_file' 1235s # deleting 'lost_symlink' 1235s # deleting 'dir_no-access' 1235s # deleting 'dir_no-write' 1235s # deleting 'target-file' 1235s # deleting 'normal_file' 1235s # deleting 'normal_file-symlink' 1235s # deleting 'executable_file~' 1235s # deleting 'private_file' 1235s # deleting 'normal_file2~' 1235s # deleting 'UTF_příliš z' 1235s # deleting 'dir_hidden' 1235s # deleting '.a-hidden-file' 1235s # deleting 'file-in-.hidden1' 1235s # deleting '.hidden' 1235s # deleting 'file-in-.hidden2' 1235s # deleting 'pattern_file' 1235s # deleting 'executable_file' 1235s # deleting 'normal_file2' 1235s # deleting 'not_exists2' 1235s # deleting 'not_exists3' 1235s # deleting 'not_exists4' 1235s # deleting 'a' 1235s ok 11 /live-g-file/final_clean 1235s # Start of test_unix_is_mountpoint tests 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 1235s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KOD3E3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 1235s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1235s # End of test_unix_is_mountpoint tests 1235s # End of live-g-file tests 1235s TAP version 14 1235s # random seed: R02S752403d853993336e746b59c215f926c 1235s 1..1851 1235s # Start of checksum tests 1235s ok 1 /checksum/unsupported 1235s # Start of MD5 tests 1235s ok 2 /checksum/MD5/0 1235s ok 3 /checksum/MD5/1 1235s ok 4 /checksum/MD5/2 1235s ok 5 /checksum/MD5/3 1235s ok 6 /checksum/MD5/4 1235s ok 7 /checksum/MD5/5 1235s ok 8 /checksum/MD5/6 1235s ok 9 /checksum/MD5/7 1235s ok 10 /checksum/MD5/8 1235s ok 11 /checksum/MD5/9 1235s ok 12 /checksum/MD5/10 1235s ok 13 /checksum/MD5/11 1235s ok 14 /checksum/MD5/12 1235s ok 15 /checksum/MD5/13 1235s ok 16 /checksum/MD5/14 1235s ok 17 /checksum/MD5/15 1235s ok 18 /checksum/MD5/16 1235s ok 19 /checksum/MD5/17 1235s ok 20 /checksum/MD5/18 1235s ok 21 /checksum/MD5/19 1235s ok 22 /checksum/MD5/20 1235s ok 23 /checksum/MD5/21 1235s ok 24 /checksum/MD5/22 1235s ok 25 /checksum/MD5/23 1235s ok 26 /checksum/MD5/24 1235s ok 27 /checksum/MD5/25 1235s ok 28 /checksum/MD5/26 1235s ok 29 /checksum/MD5/27 1235s ok 30 /checksum/MD5/28 1235s ok 31 /checksum/MD5/29 1235s ok 32 /checksum/MD5/30 1235s ok 33 /checksum/MD5/31 1235s ok 34 /checksum/MD5/32 1235s ok 35 /checksum/MD5/33 1235s ok 36 /checksum/MD5/34 1235s ok 37 /checksum/MD5/35 1235s ok 38 /checksum/MD5/36 1235s ok 39 /checksum/MD5/37 1235s ok 40 /checksum/MD5/38 1235s ok 41 /checksum/MD5/39 1235s ok 42 /checksum/MD5/40 1235s ok 43 /checksum/MD5/41 1235s ok 44 /checksum/MD5/42 1235s ok 45 /checksum/MD5/43 1235s ok 46 /checksum/MD5/44 1235s ok 47 /checksum/MD5/45 1235s ok 48 /checksum/MD5/46 1235s ok 49 /checksum/MD5/47 1235s ok 50 /checksum/MD5/48 1235s ok 51 /checksum/MD5/49 1235s ok 52 /checksum/MD5/50 1235s ok 53 /checksum/MD5/51 1235s ok 54 /checksum/MD5/52 1235s ok 55 /checksum/MD5/53 1235s ok 56 /checksum/MD5/54 1235s ok 57 /checksum/MD5/55 1235s ok 58 /checksum/MD5/56 1235s ok 59 /checksum/MD5/57 1235s ok 60 /checksum/MD5/58 1235s ok 61 /checksum/MD5/59 1235s ok 62 /checksum/MD5/60 1235s ok 63 /checksum/MD5/61 1235s ok 64 /checksum/MD5/62 1235s ok 65 /checksum/MD5/63 1235s ok 66 /checksum/MD5/64 1235s ok 67 /checksum/MD5/65 1235s ok 68 /checksum/MD5/66 1235s ok 69 /checksum/MD5/67 1235s ok 70 /checksum/MD5/68 1235s ok 71 /checksum/MD5/69 1235s ok 72 /checksum/MD5/70 1235s ok 73 /checksum/MD5/71 1235s ok 74 /checksum/MD5/72 1235s ok 75 /checksum/MD5/73 1235s ok 76 /checksum/MD5/74 1235s ok 77 /checksum/MD5/75 1235s ok 78 /checksum/MD5/76 1235s ok 79 /checksum/MD5/77 1235s ok 80 /checksum/MD5/78 1235s ok 81 /checksum/MD5/79 1235s ok 82 /checksum/MD5/80 1235s ok 83 /checksum/MD5/81 1235s ok 84 /checksum/MD5/82 1235s ok 85 /checksum/MD5/83 1235s ok 86 /checksum/MD5/84 1235s ok 87 /checksum/MD5/85 1235s ok 88 /checksum/MD5/86 1235s ok 89 /checksum/MD5/87 1235s ok 90 /checksum/MD5/88 1235s ok 91 /checksum/MD5/89 1235s ok 92 /checksum/MD5/90 1235s ok 93 /checksum/MD5/91 1235s ok 94 /checksum/MD5/92 1235s ok 95 /checksum/MD5/93 1235s ok 96 /checksum/MD5/94 1235s ok 97 /checksum/MD5/95 1235s ok 98 /checksum/MD5/96 1235s ok 99 /checksum/MD5/97 1235s ok 100 /checksum/MD5/98 1235s ok 101 /checksum/MD5/99 1235s ok 102 /checksum/MD5/100 1235s ok 103 /checksum/MD5/101 1235s ok 104 /checksum/MD5/102 1235s ok 105 /checksum/MD5/103 1235s ok 106 /checksum/MD5/104 1235s ok 107 /checksum/MD5/105 1235s ok 108 /checksum/MD5/106 1235s ok 109 /checksum/MD5/107 1235s ok 110 /checksum/MD5/108 1235s ok 111 /checksum/MD5/109 1235s ok 112 /checksum/MD5/110 1235s ok 113 /checksum/MD5/111 1235s ok 114 /checksum/MD5/112 1235s ok 115 /checksum/MD5/113 1235s ok 116 /checksum/MD5/114 1235s ok 117 /checksum/MD5/115 1235s ok 118 /checksum/MD5/116 1235s ok 119 /checksum/MD5/117 1235s ok 120 /checksum/MD5/118 1235s ok 121 /checksum/MD5/119 1235s ok 122 /checksum/MD5/120 1235s ok 123 /checksum/MD5/121 1235s ok 124 /checksum/MD5/122 1235s ok 125 /checksum/MD5/123 1235s ok 126 /checksum/MD5/124 1235s ok 127 /checksum/MD5/125 1235s ok 128 /checksum/MD5/126 1235s ok 129 /checksum/MD5/127 1235s ok 130 /checksum/MD5/128 1235s ok 131 /checksum/MD5/129 1235s ok 132 /checksum/MD5/130 1235s ok 133 /checksum/MD5/131 1235s ok 134 /checksum/MD5/132 1235s ok 135 /checksum/MD5/133 1235s ok 136 /checksum/MD5/134 1235s ok 137 /checksum/MD5/135 1235s ok 138 /checksum/MD5/136 1235s ok 139 /checksum/MD5/137 1235s ok 140 /checksum/MD5/138 1235s ok 141 /checksum/MD5/139 1235s ok 142 /checksum/MD5/140 1235s ok 143 /checksum/MD5/141 1235s ok 144 /checksum/MD5/142 1235s ok 145 /checksum/MD5/143 1235s ok 146 /checksum/MD5/144 1235s ok 147 /checksum/MD5/145 1235s ok 148 /checksum/MD5/146 1235s ok 149 /checksum/MD5/147 1235s ok 150 /checksum/MD5/148 1235s ok 151 /checksum/MD5/149 1235s ok 152 /checksum/MD5/150 1235s ok 153 /checksum/MD5/151 1235s ok 154 /checksum/MD5/152 1235s ok 155 /checksum/MD5/153 1235s ok 156 /checksum/MD5/154 1235s ok 157 /checksum/MD5/155 1235s ok 158 /checksum/MD5/156 1235s ok 159 /checksum/MD5/157 1235s ok 160 /checksum/MD5/158 1235s ok 161 /checksum/MD5/159 1235s ok 162 /checksum/MD5/160 1235s ok 163 /checksum/MD5/161 1235s ok 164 /checksum/MD5/162 1235s ok 165 /checksum/MD5/163 1235s ok 166 /checksum/MD5/164 1235s ok 167 /checksum/MD5/165 1235s ok 168 /checksum/MD5/166 1235s ok 169 /checksum/MD5/167 1235s ok 170 /checksum/MD5/168 1235s ok 171 /checksum/MD5/169 1235s ok 172 /checksum/MD5/170 1235s ok 173 /checksum/MD5/171 1235s ok 174 /checksum/MD5/172 1235s ok 175 /checksum/MD5/173 1235s ok 176 /checksum/MD5/174 1235s ok 177 /checksum/MD5/175 1235s ok 178 /checksum/MD5/176 1235s ok 179 /checksum/MD5/177 1235s ok 180 /checksum/MD5/178 1235s ok 181 /checksum/MD5/179 1235s ok 182 /checksum/MD5/180 1235s ok 183 /checksum/MD5/181 1235s ok 184 /checksum/MD5/182 1235s ok 185 /checksum/MD5/183 1235s ok 186 /checksum/MD5/string 1235s ok 187 /checksum/MD5/bytes 1235s # Start of reset tests 1235s ok 188 /checksum/MD5/reset/0 1235s ok 189 /checksum/MD5/reset/1 1235s ok 190 /checksum/MD5/reset/2 1235s ok 191 /checksum/MD5/reset/3 1235s ok 192 /checksum/MD5/reset/4 1235s ok 193 /checksum/MD5/reset/5 1235s ok 194 /checksum/MD5/reset/6 1235s ok 195 /checksum/MD5/reset/7 1235s ok 196 /checksum/MD5/reset/8 1235s ok 197 /checksum/MD5/reset/9 1235s ok 198 /checksum/MD5/reset/10 1235s ok 199 /checksum/MD5/reset/11 1235s ok 200 /checksum/MD5/reset/12 1235s ok 201 /checksum/MD5/reset/13 1235s ok 202 /checksum/MD5/reset/14 1235s ok 203 /checksum/MD5/reset/15 1235s ok 204 /checksum/MD5/reset/16 1235s ok 205 /checksum/MD5/reset/17 1235s ok 206 /checksum/MD5/reset/18 1235s ok 207 /checksum/MD5/reset/19 1235s ok 208 /checksum/MD5/reset/20 1235s ok 209 /checksum/MD5/reset/21 1235s ok 210 /checksum/MD5/reset/22 1235s ok 211 /checksum/MD5/reset/23 1235s ok 212 /checksum/MD5/reset/24 1235s ok 213 /checksum/MD5/reset/25 1235s ok 214 /checksum/MD5/reset/26 1235s ok 215 /checksum/MD5/reset/27 1235s ok 216 /checksum/MD5/reset/28 1235s ok 217 /checksum/MD5/reset/29 1235s ok 218 /checksum/MD5/reset/30 1235s ok 219 /checksum/MD5/reset/31 1235s ok 220 /checksum/MD5/reset/32 1235s ok 221 /checksum/MD5/reset/33 1235s ok 222 /checksum/MD5/reset/34 1235s ok 223 /checksum/MD5/reset/35 1235s ok 224 /checksum/MD5/reset/36 1235s ok 225 /checksum/MD5/reset/37 1235s ok 226 /checksum/MD5/reset/38 1235s ok 227 /checksum/MD5/reset/39 1235s ok 228 /checksum/MD5/reset/40 1235s ok 229 /checksum/MD5/reset/41 1235s ok 230 /checksum/MD5/reset/42 1235s ok 231 /checksum/MD5/reset/43 1235s ok 232 /checksum/MD5/reset/44 1235s ok 233 /checksum/MD5/reset/45 1235s ok 234 /checksum/MD5/reset/46 1235s ok 235 /checksum/MD5/reset/47 1235s ok 236 /checksum/MD5/reset/48 1235s ok 237 /checksum/MD5/reset/49 1235s ok 238 /checksum/MD5/reset/50 1235s ok 239 /checksum/MD5/reset/51 1235s ok 240 /checksum/MD5/reset/52 1235s ok 241 /checksum/MD5/reset/53 1235s ok 242 /checksum/MD5/reset/54 1235s ok 243 /checksum/MD5/reset/55 1235s ok 244 /checksum/MD5/reset/56 1235s ok 245 /checksum/MD5/reset/57 1235s ok 246 /checksum/MD5/reset/58 1235s ok 247 /checksum/MD5/reset/59 1235s ok 248 /checksum/MD5/reset/60 1235s ok 249 /checksum/MD5/reset/61 1235s ok 250 /checksum/MD5/reset/62 1235s ok 251 /checksum/MD5/reset/63 1235s ok 252 /checksum/MD5/reset/64 1235s ok 253 /checksum/MD5/reset/65 1235s ok 254 /checksum/MD5/reset/66 1235s ok 255 /checksum/MD5/reset/67 1235s ok 256 /checksum/MD5/reset/68 1235s ok 257 /checksum/MD5/reset/69 1235s ok 258 /checksum/MD5/reset/70 1235s ok 259 /checksum/MD5/reset/71 1235s ok 260 /checksum/MD5/reset/72 1235s ok 261 /checksum/MD5/reset/73 1235s ok 262 /checksum/MD5/reset/74 1235s ok 263 /checksum/MD5/reset/75 1235s ok 264 /checksum/MD5/reset/76 1235s ok 265 /checksum/MD5/reset/77 1235s ok 266 /checksum/MD5/reset/78 1235s ok 267 /checksum/MD5/reset/79 1235s ok 268 /checksum/MD5/reset/80 1235s ok 269 /checksum/MD5/reset/81 1235s ok 270 /checksum/MD5/reset/82 1235s ok 271 /checksum/MD5/reset/83 1235s ok 272 /checksum/MD5/reset/84 1235s ok 273 /checksum/MD5/reset/85 1235s ok 274 /checksum/MD5/reset/86 1235s ok 275 /checksum/MD5/reset/87 1235s ok 276 /checksum/MD5/reset/88 1235s ok 277 /checksum/MD5/reset/89 1235s ok 278 /checksum/MD5/reset/90 1235s ok 279 /checksum/MD5/reset/91 1235s ok 280 /checksum/MD5/reset/92 1235s ok 281 /checksum/MD5/reset/93 1235s ok 282 /checksum/MD5/reset/94 1235s ok 283 /checksum/MD5/reset/95 1235s ok 284 /checksum/MD5/reset/96 1235s ok 285 /checksum/MD5/reset/97 1235s ok 286 /checksum/MD5/reset/98 1235s ok 287 /checksum/MD5/reset/99 1235s ok 288 /checksum/MD5/reset/100 1235s ok 289 /checksum/MD5/reset/101 1235s ok 290 /checksum/MD5/reset/102 1235s ok 291 /checksum/MD5/reset/103 1235s ok 292 /checksum/MD5/reset/104 1235s ok 293 /checksum/MD5/reset/105 1235s ok 294 /checksum/MD5/reset/106 1235s ok 295 /checksum/MD5/reset/107 1235s ok 296 /checksum/MD5/reset/108 1235s ok 297 /checksum/MD5/reset/109 1235s ok 298 /checksum/MD5/reset/110 1235s ok 299 /checksum/MD5/reset/111 1235s ok 300 /checksum/MD5/reset/112 1235s ok 301 /checksum/MD5/reset/113 1235s ok 302 /checksum/MD5/reset/114 1235s ok 303 /checksum/MD5/reset/115 1235s ok 304 /checksum/MD5/reset/116 1235s ok 305 /checksum/MD5/reset/117 1235s ok 306 /checksum/MD5/reset/118 1235s ok 307 /checksum/MD5/reset/119 1235s ok 308 /checksum/MD5/reset/120 1235s ok 309 /checksum/MD5/reset/121 1235s ok 310 /checksum/MD5/reset/122 1235s ok 311 /checksum/MD5/reset/123 1235s ok 312 /checksum/MD5/reset/124 1235s ok 313 /checksum/MD5/reset/125 1235s ok 314 /checksum/MD5/reset/126 1235s ok 315 /checksum/MD5/reset/127 1235s ok 316 /checksum/MD5/reset/128 1235s ok 317 /checksum/MD5/reset/129 1235s ok 318 /checksum/MD5/reset/130 1235s ok 319 /checksum/MD5/reset/131 1235s ok 320 /checksum/MD5/reset/132 1235s ok 321 /checksum/MD5/reset/133 1235s ok 322 /checksum/MD5/reset/134 1235s ok 323 /checksum/MD5/reset/135 1235s ok 324 /checksum/MD5/reset/136 1235s ok 325 /checksum/MD5/reset/137 1235s ok 326 /checksum/MD5/reset/138 1235s ok 327 /checksum/MD5/reset/139 1235s ok 328 /checksum/MD5/reset/140 1235s ok 329 /checksum/MD5/reset/141 1235s ok 330 /checksum/MD5/reset/142 1235s ok 331 /checksum/MD5/reset/143 1235s ok 332 /checksum/MD5/reset/144 1235s ok 333 /checksum/MD5/reset/145 1235s ok 334 /checksum/MD5/reset/146 1235s ok 335 /checksum/MD5/reset/147 1235s ok 336 /checksum/MD5/reset/148 1235s ok 337 /checksum/MD5/reset/149 1235s ok 338 /checksum/MD5/reset/150 1235s ok 339 /checksum/MD5/reset/151 1235s ok 340 /checksum/MD5/reset/152 1235s ok 341 /checksum/MD5/reset/153 1235s ok 342 /checksum/MD5/reset/154 1235s ok 343 /checksum/MD5/reset/155 1235s ok 344 /checksum/MD5/reset/156 1235s ok 345 /checksum/MD5/reset/157 1235s ok 346 /checksum/MD5/reset/158 1235s ok 347 /checksum/MD5/reset/159 1235s ok 348 /checksum/MD5/reset/160 1235s ok 349 /checksum/MD5/reset/161 1235s ok 350 /checksum/MD5/reset/162 1235s ok 351 /checksum/MD5/reset/163 1235s ok 352 /checksum/MD5/reset/164 1235s ok 353 /checksum/MD5/reset/165 1235s ok 354 /checksum/MD5/reset/166 1235s ok 355 /checksum/MD5/reset/167 1235s ok 356 /checksum/MD5/reset/168 1235s ok 357 /checksum/MD5/reset/169 1235s ok 358 /checksum/MD5/reset/170 1235s ok 359 /checksum/MD5/reset/171 1235s ok 360 /checksum/MD5/reset/172 1235s ok 361 /checksum/MD5/reset/173 1235s ok 362 /checksum/MD5/reset/174 1235s ok 363 /checksum/MD5/reset/175 1235s ok 364 /checksum/MD5/reset/176 1235s ok 365 /checksum/MD5/reset/177 1235s ok 366 /checksum/MD5/reset/178 1235s ok 367 /checksum/MD5/reset/179 1235s ok 368 /checksum/MD5/reset/180 1235s ok 369 /checksum/MD5/reset/181 1235s ok 370 /checksum/MD5/reset/182 1235s ok 371 /checksum/MD5/reset/183 1235s # End of reset tests 1235s # End of MD5 tests 1235s # Start of SHA1 tests 1235s ok 372 /checksum/SHA1/0 1235s ok 373 /checksum/SHA1/1 1235s ok 374 /checksum/SHA1/2 1235s ok 375 /checksum/SHA1/3 1235s ok 376 /checksum/SHA1/4 1235s ok 377 /checksum/SHA1/5 1235s ok 378 /checksum/SHA1/6 1235s ok 379 /checksum/SHA1/7 1235s ok 380 /checksum/SHA1/8 1235s ok 381 /checksum/SHA1/9 1235s ok 382 /checksum/SHA1/10 1235s ok 383 /checksum/SHA1/11 1235s ok 384 /checksum/SHA1/12 1235s ok 385 /checksum/SHA1/13 1235s ok 386 /checksum/SHA1/14 1235s ok 387 /checksum/SHA1/15 1235s ok 388 /checksum/SHA1/16 1235s ok 389 /checksum/SHA1/17 1235s ok 390 /checksum/SHA1/18 1235s ok 391 /checksum/SHA1/19 1235s ok 392 /checksum/SHA1/20 1235s ok 393 /checksum/SHA1/21 1235s ok 394 /checksum/SHA1/22 1235s ok 395 /checksum/SHA1/23 1235s ok 396 /checksum/SHA1/24 1235s ok 397 /checksum/SHA1/25 1235s ok 398 /checksum/SHA1/26 1235s ok 399 /checksum/SHA1/27 1235s ok 400 /checksum/SHA1/28 1235s ok 401 /checksum/SHA1/29 1235s ok 402 /checksum/SHA1/30 1235s ok 403 /checksum/SHA1/31 1235s ok 404 /checksum/SHA1/32 1235s ok 405 /checksum/SHA1/33 1235s ok 406 /checksum/SHA1/34 1235s ok 407 /checksum/SHA1/35 1235s ok 408 /checksum/SHA1/36 1235s ok 409 /checksum/SHA1/37 1235s ok 410 /checksum/SHA1/38 1235s ok 411 /checksum/SHA1/39 1235s ok 412 /checksum/SHA1/40 1235s ok 413 /checksum/SHA1/41 1235s ok 414 /checksum/SHA1/42 1235s ok 415 /checksum/SHA1/43 1235s ok 416 /checksum/SHA1/44 1235s ok 417 /checksum/SHA1/45 1235s ok 418 /checksum/SHA1/46 1235s ok 419 /checksum/SHA1/47 1235s ok 420 /checksum/SHA1/48 1235s ok 421 /checksum/SHA1/49 1235s ok 422 /checksum/SHA1/50 1235s ok 423 /checksum/SHA1/51 1235s ok 424 /checksum/SHA1/52 1235s ok 425 /checksum/SHA1/53 1235s ok 426 /checksum/SHA1/54 1235s ok 427 /checksum/SHA1/55 1235s ok 428 /checksum/SHA1/56 1235s ok 429 /checksum/SHA1/57 1235s ok 430 /checksum/SHA1/58 1235s ok 431 /checksum/SHA1/59 1235s ok 432 /checksum/SHA1/60 1235s ok 433 /checksum/SHA1/61 1235s ok 434 /checksum/SHA1/62 1235s ok 435 /checksum/SHA1/63 1235s ok 436 /checksum/SHA1/64 1235s ok 437 /checksum/SHA1/65 1235s ok 438 /checksum/SHA1/66 1235s ok 439 /checksum/SHA1/67 1235s ok 440 /checksum/SHA1/68 1235s ok 441 /checksum/SHA1/69 1235s ok 442 /checksum/SHA1/70 1235s ok 443 /checksum/SHA1/71 1235s ok 444 /checksum/SHA1/72 1235s ok 445 /checksum/SHA1/73 1235s ok 446 /checksum/SHA1/74 1235s ok 447 /checksum/SHA1/75 1235s ok 448 /checksum/SHA1/76 1235s ok 449 /checksum/SHA1/77 1235s ok 450 /checksum/SHA1/78 1235s ok 451 /checksum/SHA1/79 1235s ok 452 /checksum/SHA1/80 1235s ok 453 /checksum/SHA1/81 1235s ok 454 /checksum/SHA1/82 1235s ok 455 /checksum/SHA1/83 1235s ok 456 /checksum/SHA1/84 1235s ok 457 /checksum/SHA1/85 1235s ok 458 /checksum/SHA1/86 1235s ok 459 /checksum/SHA1/87 1235s ok 460 /checksum/SHA1/88 1235s ok 461 /checksum/SHA1/89 1235s ok 462 /checksum/SHA1/90 1235s ok 463 /checksum/SHA1/91 1235s ok 464 /checksum/SHA1/92 1235s ok 465 /checksum/SHA1/93 1235s ok 466 /checksum/SHA1/94 1235s ok 467 /checksum/SHA1/95 1235s ok 468 /checksum/SHA1/96 1235s ok 469 /checksum/SHA1/97 1235s ok 470 /checksum/SHA1/98 1235s ok 471 /checksum/SHA1/99 1235s ok 472 /checksum/SHA1/100 1235s ok 473 /checksum/SHA1/101 1235s ok 474 /checksum/SHA1/102 1235s ok 475 /checksum/SHA1/103 1235s ok 476 /checksum/SHA1/104 1235s ok 477 /checksum/SHA1/105 1235s ok 478 /checksum/SHA1/106 1235s ok 479 /checksum/SHA1/107 1235s ok 480 /checksum/SHA1/108 1235s ok 481 /checksum/SHA1/109 1235s ok 482 /checksum/SHA1/110 1235s ok 483 /checksum/SHA1/111 1235s ok 484 /checksum/SHA1/112 1235s ok 485 /checksum/SHA1/113 1235s ok 486 /checksum/SHA1/114 1235s ok 487 /checksum/SHA1/115 1235s ok 488 /checksum/SHA1/116 1235s ok 489 /checksum/SHA1/117 1235s ok 490 /checksum/SHA1/118 1235s ok 491 /checksum/SHA1/119 1235s ok 492 /checksum/SHA1/120 1235s ok 493 /checksum/SHA1/121 1235s ok 494 /checksum/SHA1/122 1235s ok 495 /checksum/SHA1/123 1235s ok 496 /checksum/SHA1/124 1235s ok 497 /checksum/SHA1/125 1235s ok 498 /checksum/SHA1/126 1235s ok 499 /checksum/SHA1/127 1235s ok 500 /checksum/SHA1/128 1235s ok 501 /checksum/SHA1/129 1235s ok 502 /checksum/SHA1/130 1235s ok 503 /checksum/SHA1/131 1235s ok 504 /checksum/SHA1/132 1235s ok 505 /checksum/SHA1/133 1235s ok 506 /checksum/SHA1/134 1235s ok 507 /checksum/SHA1/135 1235s ok 508 /checksum/SHA1/136 1235s ok 509 /checksum/SHA1/137 1235s ok 510 /checksum/SHA1/138 1235s ok 511 /checksum/SHA1/139 1235s ok 512 /checksum/SHA1/140 1235s ok 513 /checksum/SHA1/141 1235s ok 514 /checksum/SHA1/142 1235s ok 515 /checksum/SHA1/143 1235s ok 516 /checksum/SHA1/144 1235s ok 517 /checksum/SHA1/145 1235s ok 518 /checksum/SHA1/146 1235s ok 519 /checksum/SHA1/147 1235s ok 520 /checksum/SHA1/148 1235s ok 521 /checksum/SHA1/149 1235s ok 522 /checksum/SHA1/150 1235s ok 523 /checksum/SHA1/151 1235s ok 524 /checksum/SHA1/152 1235s ok 525 /checksum/SHA1/153 1235s ok 526 /checksum/SHA1/154 1235s ok 527 /checksum/SHA1/155 1235s ok 528 /checksum/SHA1/156 1235s ok 529 /checksum/SHA1/157 1235s ok 530 /checksum/SHA1/158 1235s ok 531 /checksum/SHA1/159 1235s ok 532 /checksum/SHA1/160 1235s ok 533 /checksum/SHA1/161 1235s ok 534 /checksum/SHA1/162 1235s ok 535 /checksum/SHA1/163 1235s ok 536 /checksum/SHA1/164 1235s ok 537 /checksum/SHA1/165 1235s ok 538 /checksum/SHA1/166 1235s ok 539 /checksum/SHA1/167 1235s ok 540 /checksum/SHA1/168 1235s ok 541 /checksum/SHA1/169 1235s ok 542 /checksum/SHA1/170 1235s ok 543 /checksum/SHA1/171 1235s ok 544 /checksum/SHA1/172 1235s ok 545 /checksum/SHA1/173 1235s ok 546 /checksum/SHA1/174 1235s ok 547 /checksum/SHA1/175 1235s ok 548 /checksum/SHA1/176 1235s ok 549 /checksum/SHA1/177 1235s ok 550 /checksum/SHA1/178 1235s ok 551 /checksum/SHA1/179 1235s ok 552 /checksum/SHA1/180 1235s ok 553 /checksum/SHA1/181 1235s ok 554 /checksum/SHA1/182 1235s ok 555 /checksum/SHA1/183 1235s ok 556 /checksum/SHA1/string 1235s ok 557 /checksum/SHA1/bytes 1235s # Start of reset tests 1235s ok 558 /checksum/SHA1/reset/0 1235s ok 559 /checksum/SHA1/reset/1 1235s ok 560 /checksum/SHA1/reset/2 1235s ok 561 /checksum/SHA1/reset/3 1235s ok 562 /checksum/SHA1/reset/4 1235s ok 563 /checksum/SHA1/reset/5 1235s ok 564 /checksum/SHA1/reset/6 1235s ok 565 /checksum/SHA1/reset/7 1235s ok 566 /checksum/SHA1/reset/8 1235s ok 567 /checksum/SHA1/reset/9 1235s ok 568 /checksum/SHA1/reset/10 1235s ok 569 /checksum/SHA1/reset/11 1235s ok 570 /checksum/SHA1/reset/12 1235s ok 571 /checksum/SHA1/reset/13 1235s ok 572 /checksum/SHA1/reset/14 1235s ok 573 /checksum/SHA1/reset/15 1235s ok 574 /checksum/SHA1/reset/16 1235s ok 575 /checksum/SHA1/reset/17 1235s ok 576 /checksum/SHA1/reset/18 1235s ok 577 /checksum/SHA1/reset/19 1235s ok 578 /checksum/SHA1/reset/20 1235s ok 579 /checksum/SHA1/reset/21 1235s ok 580 /checksum/SHA1/reset/22 1235s ok 581 /checksum/SHA1/reset/23 1235s ok 582 /checksum/SHA1/reset/24 1235s ok 583 /checksum/SHA1/reset/25 1235s ok 584 /checksum/SHA1/reset/26 1235s ok 585 /checksum/SHA1/reset/27 1235s ok 586 /checksum/SHA1/reset/28 1235s ok 587 /checksum/SHA1/reset/29 1235s ok 588 /checksum/SHA1/reset/30 1235s ok 589 /checksum/SHA1/reset/31 1235s ok 590 /checksum/SHA1/reset/32 1235s ok 591 /checksum/SHA1/reset/33 1235s ok 592 /checksum/SHA1/reset/34 1235s ok 593 /checksum/SHA1/reset/35 1235s ok 594 /checksum/SHA1/reset/36 1235s ok 595 /checksum/SHA1/reset/37 1235s ok 596 /checksum/SHA1/reset/38 1235s ok 597 /checksum/SHA1/reset/39 1235s ok 598 /checksum/SHA1/reset/40 1235s ok 599 /checksum/SHA1/reset/41 1235s ok 600 /checksum/SHA1/reset/42 1235s ok 601 /checksum/SHA1/reset/43 1235s ok 602 /checksum/SHA1/reset/44 1235s ok 603 /checksum/SHA1/reset/45 1235s ok 604 /checksum/SHA1/reset/46 1235s ok 605 /checksum/SHA1/reset/47 1235s ok 606 /checksum/SHA1/reset/48 1235s ok 607 /checksum/SHA1/reset/49 1235s ok 608 /checksum/SHA1/reset/50 1235s ok 609 /checksum/SHA1/reset/51 1235s ok 610 /checksum/SHA1/reset/52 1235s ok 611 /checksum/SHA1/reset/53 1235s ok 612 /checksum/SHA1/reset/54 1235s ok 613 /checksum/SHA1/reset/55 1235s ok 614 /checksum/SHA1/reset/56 1235s ok 615 /checksum/SHA1/reset/57 1235s ok 616 /checksum/SHA1/reset/58 1235s ok 617 /checksum/SHA1/reset/59 1235s ok 618 /checksum/SHA1/reset/60 1235s ok 619 /checksum/SHA1/reset/61 1235s ok 620 /checksum/SHA1/reset/62 1235s ok 621 /checksum/SHA1/reset/63 1235s ok 622 /checksum/SHA1/reset/64 1235s ok 623 /checksum/SHA1/reset/65 1235s ok 624 /checksum/SHA1/reset/66 1235s ok 625 /checksum/SHA1/reset/67 1235s ok 626 /checksum/SHA1/reset/68 1235s ok 627 /checksum/SHA1/reset/69 1235s ok 628 /checksum/SHA1/reset/70 1235s ok 629 /checksum/SHA1/reset/71 1235s ok 630 /checksum/SHA1/reset/72 1235s ok 631 /checksum/SHA1/reset/73 1235s ok 632 /checksum/SHA1/reset/74 1235s ok 633 /checksum/SHA1/reset/75 1235s ok 634 /checksum/SHA1/reset/76 1235s ok 635 /checksum/SHA1/reset/77 1235s ok 636 /checksum/SHA1/reset/78 1235s ok 637 /checksum/SHA1/reset/79 1235s ok 638 /checksum/SHA1/reset/80 1235s ok 639 /checksum/SHA1/reset/81 1235s ok 640 /checksum/SHA1/reset/82 1235s ok 641 /checksum/SHA1/reset/83 1235s ok 642 /checksum/SHA1/reset/84 1235s ok 643 /checksum/SHA1/reset/85 1235s ok 644 /checksum/SHA1/reset/86 1235s ok 645 /checksum/SHA1/reset/87 1235s ok 646 /checksum/SHA1/reset/88 1235s ok 647 /checksum/SHA1/reset/89 1235s ok 648 /checksum/SHA1/reset/90 1235s ok 649 /checksum/SHA1/reset/91 1235s ok 650 /checksum/SHA1/reset/92 1235s ok 651 /checksum/SHA1/reset/93 1235s ok 652 /checksum/SHA1/reset/94 1235s ok 653 /checksum/SHA1/reset/95 1235s ok 654 /checksum/SHA1/reset/96 1235s ok 655 /checksum/SHA1/reset/97 1235s ok 656 /checksum/SHA1/reset/98 1235s ok 657 /checksum/SHA1/reset/99 1235s ok 658 /checksum/SHA1/reset/100 1235s ok 659 /checksum/SHA1/reset/101 1235s ok 660 /checksum/SHA1/reset/102 1235s ok 661 /checksum/SHA1/reset/103 1235s ok 662 /checksum/SHA1/reset/104 1235s ok 663 /checksum/SHA1/reset/105 1235s ok 664 /checksum/SHA1/reset/106 1235s ok 665 /checksum/SHA1/reset/107 1235s ok 666 /checksum/SHA1/reset/108 1235s ok 667 /checksum/SHA1/reset/109 1235s ok 668 /checksum/SHA1/reset/110 1235s ok 669 /checksum/SHA1/reset/111 1235s ok 670 /checksum/SHA1/reset/112 1235s ok 671 /checksum/SHA1/reset/113 1235s ok 672 /checksum/SHA1/reset/114 1235s ok 673 /checksum/SHA1/reset/115 1235s ok 674 /checksum/SHA1/reset/116 1235s ok 675 /checksum/SHA1/reset/117 1235s ok 676 /checksum/SHA1/reset/118 1235s ok 677 /checksum/SHA1/reset/119 1235s ok 678 /checksum/SHA1/reset/120 1235s ok 679 /checksum/SHA1/reset/121 1235s ok 680 /checksum/SHA1/reset/122 1235s ok 681 /checksum/SHA1/reset/123 1235s ok 682 /checksum/SHA1/reset/124 1235s ok 683 /checksum/SHA1/reset/125 1235s ok 684 /checksum/SHA1/reset/126 1235s ok 685 /checksum/SHA1/reset/127 1235s ok 686 /checksum/SHA1/reset/128 1235s ok 687 /checksum/SHA1/reset/129 1235s ok 688 /checksum/SHA1/reset/130 1235s ok 689 /checksum/SHA1/reset/131 1235s ok 690 /checksum/SHA1/reset/132 1235s ok 691 /checksum/SHA1/reset/133 1235s ok 692 /checksum/SHA1/reset/134 1235s ok 693 /checksum/SHA1/reset/135 1235s ok 694 /checksum/SHA1/reset/136 1235s ok 695 /checksum/SHA1/reset/137 1235s ok 696 /checksum/SHA1/reset/138 1235s ok 697 /checksum/SHA1/reset/139 1235s ok 698 /checksum/SHA1/reset/140 1235s ok 699 /checksum/SHA1/reset/141 1235s ok 700 /checksum/SHA1/reset/142 1235s ok 701 /checksum/SHA1/reset/143 1235s ok 702 /checksum/SHA1/reset/144 1235s ok 703 /checksum/SHA1/reset/145 1235s ok 704 /checksum/SHA1/reset/146 1235s ok 705 /checksum/SHA1/reset/147 1235s ok 706 /checksum/SHA1/reset/148 1235s ok 707 /checksum/SHA1/reset/149 1235s ok 708 /checksum/SHA1/reset/150 1235s ok 709 /checksum/SHA1/reset/151 1235s ok 710 /checksum/SHA1/reset/152 1235s ok 711 /checksum/SHA1/reset/153 1235s ok 712 /checksum/SHA1/reset/154 1235s ok 713 /checksum/SHA1/reset/155 1235s ok 714 /checksum/SHA1/reset/156 1235s ok 715 /checksum/SHA1/reset/157 1235s ok 716 /checksum/SHA1/reset/158 1235s ok 717 /checksum/SHA1/reset/159 1235s ok 718 /checksum/SHA1/reset/160 1235s ok 719 /checksum/SHA1/reset/161 1235s ok 720 /checksum/SHA1/reset/162 1235s ok 721 /checksum/SHA1/reset/163 1235s ok 722 /checksum/SHA1/reset/164 1235s ok 723 /checksum/SHA1/reset/165 1235s ok 724 /checksum/SHA1/reset/166 1235s ok 725 /checksum/SHA1/reset/167 1235s ok 726 /checksum/SHA1/reset/168 1235s ok 727 /checksum/SHA1/reset/169 1235s ok 728 /checksum/SHA1/reset/170 1235s ok 729 /checksum/SHA1/reset/171 1235s ok 730 /checksum/SHA1/reset/172 1235s ok 731 /checksum/SHA1/reset/173 1235s ok 732 /checksum/SHA1/reset/174 1235s ok 733 /checksum/SHA1/reset/175 1235s ok 734 /checksum/SHA1/reset/176 1235s ok 735 /checksum/SHA1/reset/177 1235s ok 736 /checksum/SHA1/reset/178 1235s ok 737 /checksum/SHA1/reset/179 1235s ok 738 /checksum/SHA1/reset/180 1235s ok 739 /checksum/SHA1/reset/181 1235s ok 740 /checksum/SHA1/reset/182 1235s ok 741 /checksum/SHA1/reset/183 1235s # End of reset tests 1235s # End of SHA1 tests 1235s # Start of SHA256 tests 1235s ok 742 /checksum/SHA256/0 1235s ok 743 /checksum/SHA256/1 1235s ok 744 /checksum/SHA256/2 1235s ok 745 /checksum/SHA256/3 1235s ok 746 /checksum/SHA256/4 1235s ok 747 /checksum/SHA256/5 1235s ok 748 /checksum/SHA256/6 1235s ok 749 /checksum/SHA256/7 1235s ok 750 /checksum/SHA256/8 1235s ok 751 /checksum/SHA256/9 1235s ok 752 /checksum/SHA256/10 1235s ok 753 /checksum/SHA256/11 1235s ok 754 /checksum/SHA256/12 1235s ok 755 /checksum/SHA256/13 1235s ok 756 /checksum/SHA256/14 1235s ok 757 /checksum/SHA256/15 1235s ok 758 /checksum/SHA256/16 1235s ok 759 /checksum/SHA256/17 1235s ok 760 /checksum/SHA256/18 1235s ok 761 /checksum/SHA256/19 1235s ok 762 /checksum/SHA256/20 1235s ok 763 /checksum/SHA256/21 1235s ok 764 /checksum/SHA256/22 1235s ok 765 /checksum/SHA256/23 1235s ok 766 /checksum/SHA256/24 1235s ok 767 /checksum/SHA256/25 1235s ok 768 /checksum/SHA256/26 1235s ok 769 /checksum/SHA256/27 1235s ok 770 /checksum/SHA256/28 1235s ok 771 /checksum/SHA256/29 1235s ok 772 /checksum/SHA256/30 1235s ok 773 /checksum/SHA256/31 1235s ok 774 /checksum/SHA256/32 1235s ok 775 /checksum/SHA256/33 1235s ok 776 /checksum/SHA256/34 1235s ok 777 /checksum/SHA256/35 1235s ok 778 /checksum/SHA256/36 1235s ok 779 /checksum/SHA256/37 1235s ok 780 /checksum/SHA256/38 1235s ok 781 /checksum/SHA256/39 1235s ok 782 /checksum/SHA256/40 1235s ok 783 /checksum/SHA256/41 1235s ok 784 /checksum/SHA256/42 1235s ok 785 /checksum/SHA256/43 1235s ok 786 /checksum/SHA256/44 1235s ok 787 /checksum/SHA256/45 1235s ok 788 /checksum/SHA256/46 1235s ok 789 /checksum/SHA256/47 1235s ok 790 /checksum/SHA256/48 1235s ok 791 /checksum/SHA256/49 1235s ok 792 /checksum/SHA256/50 1235s ok 793 /checksum/SHA256/51 1235s ok 794 /checksum/SHA256/52 1235s ok 795 /checksum/SHA256/53 1235s ok 796 /checksum/SHA256/54 1235s ok 797 /checksum/SHA256/55 1235s ok 798 /checksum/SHA256/56 1235s ok 799 /checksum/SHA256/57 1235s ok 800 /checksum/SHA256/58 1235s ok 801 /checksum/SHA256/59 1235s ok 802 /checksum/SHA256/60 1235s ok 803 /checksum/SHA256/61 1235s ok 804 /checksum/SHA256/62 1235s ok 805 /checksum/SHA256/63 1235s ok 806 /checksum/SHA256/64 1235s ok 807 /checksum/SHA256/65 1235s ok 808 /checksum/SHA256/66 1235s ok 809 /checksum/SHA256/67 1235s ok 810 /checksum/SHA256/68 1235s ok 811 /checksum/SHA256/69 1235s ok 812 /checksum/SHA256/70 1235s ok 813 /checksum/SHA256/71 1235s ok 814 /checksum/SHA256/72 1235s ok 815 /checksum/SHA256/73 1235s ok 816 /checksum/SHA256/74 1235s ok 817 /checksum/SHA256/75 1235s ok 818 /checksum/SHA256/76 1235s ok 819 /checksum/SHA256/77 1235s ok 820 /checksum/SHA256/78 1235s ok 821 /checksum/SHA256/79 1235s ok 822 /checksum/SHA256/80 1235s ok 823 /checksum/SHA256/81 1235s ok 824 /checksum/SHA256/82 1235s ok 825 /checksum/SHA256/83 1235s ok 826 /checksum/SHA256/84 1235s ok 827 /checksum/SHA256/85 1235s ok 828 /checksum/SHA256/86 1235s ok 829 /checksum/SHA256/87 1235s ok 830 /checksum/SHA256/88 1235s ok 831 /checksum/SHA256/89 1235s ok 832 /checksum/SHA256/90 1235s ok 833 /checksum/SHA256/91 1235s ok 834 /checksum/SHA256/92 1235s ok 835 /checksum/SHA256/93 1235s ok 836 /checksum/SHA256/94 1235s ok 837 /checksum/SHA256/95 1235s ok 838 /checksum/SHA256/96 1235s ok 839 /checksum/SHA256/97 1235s ok 840 /checksum/SHA256/98 1235s ok 841 /checksum/SHA256/99 1235s ok 842 /checksum/SHA256/100 1235s ok 843 /checksum/SHA256/101 1235s ok 844 /checksum/SHA256/102 1235s ok 845 /checksum/SHA256/103 1235s ok 846 /checksum/SHA256/104 1235s ok 847 /checksum/SHA256/105 1235s ok 848 /checksum/SHA256/106 1235s ok 849 /checksum/SHA256/107 1235s ok 850 /checksum/SHA256/108 1235s ok 851 /checksum/SHA256/109 1235s ok 852 /checksum/SHA256/110 1235s ok 853 /checksum/SHA256/111 1235s ok 854 /checksum/SHA256/112 1235s ok 855 /checksum/SHA256/113 1235s ok 856 /checksum/SHA256/114 1235s ok 857 /checksum/SHA256/115 1235s ok 858 /checksum/SHA256/116 1235s ok 859 /checksum/SHA256/117 1235s ok 860 /checksum/SHA256/118 1235s ok 861 /checksum/SHA256/119 1235s ok 862 /checksum/SHA256/120 1235s ok 863 /checksum/SHA256/121 1235s ok 864 /checksum/SHA256/122 1235s ok 865 /checksum/SHA256/123 1235s ok 866 /checksum/SHA256/124 1235s ok 867 /checksum/SHA256/125 1235s ok 868 /checksum/SHA256/126 1235s ok 869 /checksum/SHA256/127 1235s ok 870 /checksum/SHA256/128 1235s ok 871 /checksum/SHA256/129 1235s ok 872 /checksum/SHA256/130 1235s ok 873 /checksum/SHA256/131 1235s ok 874 /checksum/SHA256/132 1235s ok 875 /checksum/SHA256/133 1235s ok 876 /checksum/SHA256/134 1235s ok 877 /checksum/SHA256/135 1235s ok 878 /checksum/SHA256/136 1235s ok 879 /checksum/SHA256/137 1235s ok 880 /checksum/SHA256/138 1235s ok 881 /checksum/SHA256/139 1235s ok 882 /checksum/SHA256/140 1235s ok 883 /checksum/SHA256/141 1235s ok 884 /checksum/SHA256/142 1235s ok 885 /checksum/SHA256/143 1235s ok 886 /checksum/SHA256/144 1235s ok 887 /checksum/SHA256/145 1235s ok 888 /checksum/SHA256/146 1235s ok 889 /checksum/SHA256/147 1235s ok 890 /checksum/SHA256/148 1235s ok 891 /checksum/SHA256/149 1235s ok 892 /checksum/SHA256/150 1235s ok 893 /checksum/SHA256/151 1235s ok 894 /checksum/SHA256/152 1235s ok 895 /checksum/SHA256/153 1235s ok 896 /checksum/SHA256/154 1235s ok 897 /checksum/SHA256/155 1235s ok 898 /checksum/SHA256/156 1235s ok 899 /checksum/SHA256/157 1235s ok 900 /checksum/SHA256/158 1235s ok 901 /checksum/SHA256/159 1235s ok 902 /checksum/SHA256/160 1235s ok 903 /checksum/SHA256/161 1235s ok 904 /checksum/SHA256/162 1235s ok 905 /checksum/SHA256/163 1235s ok 906 /checksum/SHA256/164 1235s ok 907 /checksum/SHA256/165 1235s ok 908 /checksum/SHA256/166 1235s ok 909 /checksum/SHA256/167 1235s ok 910 /checksum/SHA256/168 1235s ok 911 /checksum/SHA256/169 1235s ok 912 /checksum/SHA256/170 1235s ok 913 /checksum/SHA256/171 1235s ok 914 /checksum/SHA256/172 1235s ok 915 /checksum/SHA256/173 1235s ok 916 /checksum/SHA256/174 1235s ok 917 /checksum/SHA256/175 1235s ok 918 /checksum/SHA256/176 1235s ok 919 /checksum/SHA256/177 1235s ok 920 /checksum/SHA256/178 1235s ok 921 /checksum/SHA256/179 1235s ok 922 /checksum/SHA256/180 1235s ok 923 /checksum/SHA256/181 1235s ok 924 /checksum/SHA256/182 1235s ok 925 /checksum/SHA256/183 1235s ok 926 /checksum/SHA256/string 1235s ok 927 /checksum/SHA256/bytes 1235s # Start of reset tests 1235s ok 928 /checksum/SHA256/reset/0 1235s ok 929 /checksum/SHA256/reset/1 1235s ok 930 /checksum/SHA256/reset/2 1235s ok 931 /checksum/SHA256/reset/3 1235s ok 932 /checksum/SHA256/reset/4 1235s ok 933 /checksum/SHA256/reset/5 1235s ok 934 /checksum/SHA256/reset/6 1235s ok 935 /checksum/SHA256/reset/7 1235s ok 936 /checksum/SHA256/reset/8 1235s ok 937 /checksum/SHA256/reset/9 1235s ok 938 /checksum/SHA256/reset/10 1235s ok 939 /checksum/SHA256/reset/11 1235s ok 940 /checksum/SHA256/reset/12 1235s ok 941 /checksum/SHA256/reset/13 1235s ok 942 /checksum/SHA256/reset/14 1235s ok 943 /checksum/SHA256/reset/15 1235s ok 944 /checksum/SHA256/reset/16 1235s ok 945 /checksum/SHA256/reset/17 1235s ok 946 /checksum/SHA256/reset/18 1235s ok 947 /checksum/SHA256/reset/19 1235s ok 948 /checksum/SHA256/reset/20 1235s ok 949 /checksum/SHA256/reset/21 1235s ok 950 /checksum/SHA256/reset/22 1235s ok 951 /checksum/SHA256/reset/23 1235s ok 952 /checksum/SHA256/reset/24 1235s ok 953 /checksum/SHA256/reset/25 1235s ok 954 /checksum/SHA256/reset/26 1235s ok 955 /checksum/SHA256/reset/27 1235s ok 956 /checksum/SHA256/reset/28 1235s ok 957 /checksum/SHA256/reset/29 1235s ok 958 /checksum/SHA256/reset/30 1235s ok 959 /checksum/SHA256/reset/31 1235s ok 960 /checksum/SHA256/reset/32 1235s ok 961 /checksum/SHA256/reset/33 1235s ok 962 /checksum/SHA256/reset/34 1235s ok 963 /checksum/SHA256/reset/35 1235s ok 964 /checksum/SHA256/reset/36 1235s ok 965 /checksum/SHA256/reset/37 1235s ok 966 /checksum/SHA256/reset/38 1235s ok 967 /checksum/SHA256/reset/39 1235s ok 968 /checksum/SHA256/reset/40 1235s ok 969 /checksum/SHA256/reset/41 1235s ok 970 /checksum/SHA256/reset/42 1235s ok 971 /checksum/SHA256/reset/43 1235s ok 972 /checksum/SHA256/reset/44 1235s ok 973 /checksum/SHA256/reset/45 1235s ok 974 /checksum/SHA256/reset/46 1235s ok 975 /checksum/SHA256/reset/47 1235s ok 976 /checksum/SHA256/reset/48 1235s ok 977 /checksum/SHA256/reset/49 1235s ok 978 /checksum/SHA256/reset/50 1235s ok 979 /checksum/SHA256/reset/51 1235s ok 980 /checksum/SHA256/reset/52 1235s ok 981 /checksum/SHA256/reset/53 1235s ok 982 /checksum/SHA256/reset/54 1235s ok 983 /checksum/SHA256/reset/55 1235s ok 984 /checksum/SHA256/reset/56 1235s ok 985 /checksum/SHA256/reset/57 1235s ok 986 /checksum/SHA256/reset/58 1235s ok 987 /checksum/SHA256/reset/59 1235s ok 988 /checksum/SHA256/reset/60 1235s ok 989 /checksum/SHA256/reset/61 1235s ok 990 /checksum/SHA256/reset/62 1235s ok 991 /checksum/SHA256/reset/63 1235s ok 992 /checksum/SHA256/reset/64 1235s ok 993 /checksum/SHA256/reset/65 1235s ok 994 /checksum/SHA256/reset/66 1235s ok 995 /checksum/SHA256/reset/67 1235s ok 996 /checksum/SHA256/reset/68 1235s ok 997 /checksum/SHA256/reset/69 1235s ok 998 /checksum/SHA256/reset/70 1235s ok 999 /checksum/SHA256/reset/71 1235s ok 1000 /checksum/SHA256/reset/72 1235s ok 1001 /checksum/SHA256/reset/73 1235s ok 1002 /checksum/SHA256/reset/74 1235s ok 1003 /checksum/SHA256/reset/75 1235s ok 1004 /checksum/SHA256/reset/76 1235s ok 1005 /checksum/SHA256/reset/77 1235s ok 1006 /checksum/SHA256/reset/78 1235s ok 1007 /checksum/SHA256/reset/79 1235s ok 1008 /checksum/SHA256/reset/80 1235s ok 1009 /checksum/SHA256/reset/81 1235s ok 1010 /checksum/SHA256/reset/82 1235s ok 1011 /checksum/SHA256/reset/83 1235s ok 1012 /checksum/SHA256/reset/84 1235s ok 1013 /checksum/SHA256/reset/85 1235s ok 1014 /checksum/SHA256/reset/86 1235s ok 1015 /checksum/SHA256/reset/87 1235s ok 1016 /checksum/SHA256/reset/88 1235s ok 1017 /checksum/SHA256/reset/89 1235s ok 1018 /checksum/SHA256/reset/90 1235s ok 1019 /checksum/SHA256/reset/91 1235s ok 1020 /checksum/SHA256/reset/92 1235s ok 1021 /checksum/SHA256/reset/93 1235s ok 1022 /checksum/SHA256/reset/94 1235s ok 1023 /checksum/SHA256/reset/95 1235s ok 1024 /checksum/SHA256/reset/96 1235s ok 1025 /checksum/SHA256/reset/97 1235s ok 1026 /checksum/SHA256/reset/98 1235s ok 1027 /checksum/SHA256/reset/99 1235s ok 1028 /checksum/SHA256/reset/100 1235s ok 1029 /checksum/SHA256/reset/101 1235s ok 1030 /checksum/SHA256/reset/102 1235s ok 1031 /checksum/SHA256/reset/103 1235s ok 1032 /checksum/SHA256/reset/104 1235s ok 1033 /checksum/SHA256/reset/105 1235s ok 1034 /checksum/SHA256/reset/106 1235s ok 1035 /checksum/SHA256/reset/107 1235s ok 1036 /checksum/SHA256/reset/108 1235s ok 1037 /checksum/SHA256/reset/109 1235s ok 1038 /checksum/SHA256/reset/110 1235s ok 1039 /checksum/SHA256/reset/111 1235s ok 1040 /checksum/SHA256/reset/112 1235s ok 1041 /checksum/SHA256/reset/113 1235s ok 1042 /checksum/SHA256/reset/114 1235s ok 1043 /checksum/SHA256/reset/115 1235s ok 1044 /checksum/SHA256/reset/116 1235s ok 1045 /checksum/SHA256/reset/117 1235s ok 1046 /checksum/SHA256/reset/118 1235s ok 1047 /checksum/SHA256/reset/119 1235s ok 1048 /checksum/SHA256/reset/120 1235s ok 1049 /checksum/SHA256/reset/121 1235s ok 1050 /checksum/SHA256/reset/122 1235s ok 1051 /checksum/SHA256/reset/123 1235s ok 1052 /checksum/SHA256/reset/124 1235s ok 1053 /checksum/SHA256/reset/125 1235s ok 1054 /checksum/SHA256/reset/126 1235s ok 1055 /checksum/SHA256/reset/127 1235s ok 1056 /checksum/SHA256/reset/128 1235s ok 1057 /checksum/SHA256/reset/129 1235s ok 1058 /checksum/SHA256/reset/130 1235s ok 1059 /checksum/SHA256/reset/131 1235s ok 1060 /checksum/SHA256/reset/132 1235s ok 1061 /checksum/SHA256/reset/133 1235s ok 1062 /checksum/SHA256/reset/134 1235s ok 1063 /checksum/SHA256/reset/135 1235s ok 1064 /checksum/SHA256/reset/136 1235s ok 1065 /checksum/SHA256/reset/137 1235s ok 1066 /checksum/SHA256/reset/138 1235s ok 1067 /checksum/SHA256/reset/139 1235s ok 1068 /checksum/SHA256/reset/140 1235s ok 1069 /checksum/SHA256/reset/141 1235s ok 1070 /checksum/SHA256/reset/142 1235s ok 1071 /checksum/SHA256/reset/143 1235s ok 1072 /checksum/SHA256/reset/144 1235s ok 1073 /checksum/SHA256/reset/145 1235s ok 1074 /checksum/SHA256/reset/146 1235s ok 1075 /checksum/SHA256/reset/147 1235s ok 1076 /checksum/SHA256/reset/148 1235s ok 1077 /checksum/SHA256/reset/149 1235s ok 1078 /checksum/SHA256/reset/150 1235s ok 1079 /checksum/SHA256/reset/151 1235s ok 1080 /checksum/SHA256/reset/152 1235s ok 1081 /checksum/SHA256/reset/153 1235s ok 1082 /checksum/SHA256/reset/154 1235s ok 1083 /checksum/SHA256/reset/155 1235s ok 1084 /checksum/SHA256/reset/156 1235s ok 1085 /checksum/SHA256/reset/157 1235s ok 1086 /checksum/SHA256/reset/158 1235s ok 1087 /checksum/SHA256/reset/159 1235s ok 1088 /checksum/SHA256/reset/160 1235s ok 1089 /checksum/SHA256/reset/161 1235s ok 1090 /checksum/SHA256/reset/162 1235s ok 1091 /checksum/SHA256/reset/163 1235s ok 1092 /checksum/SHA256/reset/164 1235s ok 1093 /checksum/SHA256/reset/165 1235s ok 1094 /checksum/SHA256/reset/166 1235s ok 1095 /checksum/SHA256/reset/167 1235s ok 1096 /checksum/SHA256/reset/168 1235s ok 1097 /checksum/SHA256/reset/169 1235s ok 1098 /checksum/SHA256/reset/170 1235s ok 1099 /checksum/SHA256/reset/171 1235s ok 1100 /checksum/SHA256/reset/172 1235s ok 1101 /checksum/SHA256/reset/173 1235s ok 1102 /checksum/SHA256/reset/174 1235s ok 1103 /checksum/SHA256/reset/175 1235s ok 1104 /checksum/SHA256/reset/176 1235s ok 1105 /checksum/SHA256/reset/177 1235s ok 1106 /checksum/SHA256/reset/178 1235s ok 1107 /checksum/SHA256/reset/179 1235s ok 1108 /checksum/SHA256/reset/180 1235s ok 1109 /checksum/SHA256/reset/181 1235s ok 1110 /checksum/SHA256/reset/182 1235s ok 1111 /checksum/SHA256/reset/183 1235s # End of reset tests 1235s # End of SHA256 tests 1235s # Start of SHA384 tests 1235s ok 1112 /checksum/SHA384/0 1235s ok 1113 /checksum/SHA384/1 1235s ok 1114 /checksum/SHA384/2 1235s ok 1115 /checksum/SHA384/3 1235s ok 1116 /checksum/SHA384/4 1235s ok 1117 /checksum/SHA384/5 1235s ok 1118 /checksum/SHA384/6 1235s ok 1119 /checksum/SHA384/7 1235s ok 1120 /checksum/SHA384/8 1235s ok 1121 /checksum/SHA384/9 1235s ok 1122 /checksum/SHA384/10 1235s ok 1123 /checksum/SHA384/11 1235s ok 1124 /checksum/SHA384/12 1235s ok 1125 /checksum/SHA384/13 1235s ok 1126 /checksum/SHA384/14 1235s ok 1127 /checksum/SHA384/15 1235s ok 1128 /checksum/SHA384/16 1235s ok 1129 /checksum/SHA384/17 1235s ok 1130 /checksum/SHA384/18 1235s ok 1131 /checksum/SHA384/19 1235s ok 1132 /checksum/SHA384/20 1235s ok 1133 /checksum/SHA384/21 1235s ok 1134 /checksum/SHA384/22 1235s ok 1135 /checksum/SHA384/23 1235s ok 1136 /checksum/SHA384/24 1235s ok 1137 /checksum/SHA384/25 1235s ok 1138 /checksum/SHA384/26 1235s ok 1139 /checksum/SHA384/27 1235s ok 1140 /checksum/SHA384/28 1235s ok 1141 /checksum/SHA384/29 1235s ok 1142 /checksum/SHA384/30 1235s ok 1143 /checksum/SHA384/31 1235s ok 1144 /checksum/SHA384/32 1235s ok 1145 /checksum/SHA384/33 1235s ok 1146 /checksum/SHA384/34 1235s ok 1147 /checksum/SHA384/35 1235s ok 1148 /checksum/SHA384/36 1235s ok 1149 /checksum/SHA384/37 1235s ok 1150 /checksum/SHA384/38 1235s ok 1151 /checksum/SHA384/39 1235s ok 1152 /checksum/SHA384/40 1235s ok 1153 /checksum/SHA384/41 1235s ok 1154 /checksum/SHA384/42 1235s ok 1155 /checksum/SHA384/43 1235s ok 1156 /checksum/SHA384/44 1235s ok 1157 /checksum/SHA384/45 1235s ok 1158 /checksum/SHA384/46 1235s ok 1159 /checksum/SHA384/47 1235s ok 1160 /checksum/SHA384/48 1235s ok 1161 /checksum/SHA384/49 1235s ok 1162 /checksum/SHA384/50 1235s ok 1163 /checksum/SHA384/51 1235s ok 1164 /checksum/SHA384/52 1235s ok 1165 /checksum/SHA384/53 1235s ok 1166 /checksum/SHA384/54 1235s ok 1167 /checksum/SHA384/55 1235s ok 1168 /checksum/SHA384/56 1235s ok 1169 /checksum/SHA384/57 1235s ok 1170 /checksum/SHA384/58 1235s ok 1171 /checksum/SHA384/59 1235s ok 1172 /checksum/SHA384/60 1235s ok 1173 /checksum/SHA384/61 1235s ok 1174 /checksum/SHA384/62 1235s ok 1175 /checksum/SHA384/63 1235s ok 1176 /checksum/SHA384/64 1235s ok 1177 /checksum/SHA384/65 1235s ok 1178 /checksum/SHA384/66 1235s ok 1179 /checksum/SHA384/67 1235s ok 1180 /checksum/SHA384/68 1235s ok 1181 /checksum/SHA384/69 1235s ok 1182 /checksum/SHA384/70 1235s ok 1183 /checksum/SHA384/71 1235s ok 1184 /checksum/SHA384/72 1235s ok 1185 /checksum/SHA384/73 1235s ok 1186 /checksum/SHA384/74 1235s ok 1187 /checksum/SHA384/75 1235s ok 1188 /checksum/SHA384/76 1235s ok 1189 /checksum/SHA384/77 1235s ok 1190 /checksum/SHA384/78 1235s ok 1191 /checksum/SHA384/79 1235s ok 1192 /checksum/SHA384/80 1235s ok 1193 /checksum/SHA384/81 1235s ok 1194 /checksum/SHA384/82 1235s ok 1195 /checksum/SHA384/83 1235s ok 1196 /checksum/SHA384/84 1235s ok 1197 /checksum/SHA384/85 1235s ok 1198 /checksum/SHA384/86 1235s ok 1199 /checksum/SHA384/87 1235s ok 1200 /checksum/SHA384/88 1235s ok 1201 /checksum/SHA384/89 1235s ok 1202 /checksum/SHA384/90 1235s ok 1203 /checksum/SHA384/91 1235s ok 1204 /checksum/SHA384/92 1235s ok 1205 /checksum/SHA384/93 1235s ok 1206 /checksum/SHA384/94 1235s ok 1207 /checksum/SHA384/95 1235s ok 1208 /checksum/SHA384/96 1235s ok 1209 /checksum/SHA384/97 1235s ok 1210 /checksum/SHA384/98 1235s ok 1211 /checksum/SHA384/99 1235s ok 1212 /checksum/SHA384/100 1235s ok 1213 /checksum/SHA384/101 1235s ok 1214 /checksum/SHA384/102 1235s ok 1215 /checksum/SHA384/103 1235s ok 1216 /checksum/SHA384/104 1235s ok 1217 /checksum/SHA384/105 1235s ok 1218 /checksum/SHA384/106 1235s ok 1219 /checksum/SHA384/107 1235s ok 1220 /checksum/SHA384/108 1235s ok 1221 /checksum/SHA384/109 1235s ok 1222 /checksum/SHA384/110 1235s ok 1223 /checksum/SHA384/111 1235s ok 1224 /checksum/SHA384/112 1235s ok 1225 /checksum/SHA384/113 1235s ok 1226 /checksum/SHA384/114 1235s ok 1227 /checksum/SHA384/115 1235s ok 1228 /checksum/SHA384/116 1235s ok 1229 /checksum/SHA384/117 1235s ok 1230 /checksum/SHA384/118 1235s ok 1231 /checksum/SHA384/119 1235s ok 1232 /checksum/SHA384/120 1235s ok 1233 /checksum/SHA384/121 1235s ok 1234 /checksum/SHA384/122 1235s ok 1235 /checksum/SHA384/123 1235s ok 1236 /checksum/SHA384/124 1235s ok 1237 /checksum/SHA384/125 1235s ok 1238 /checksum/SHA384/126 1235s ok 1239 /checksum/SHA384/127 1235s ok 1240 /checksum/SHA384/128 1235s ok 1241 /checksum/SHA384/129 1235s ok 1242 /checksum/SHA384/130 1235s ok 1243 /checksum/SHA384/131 1235s ok 1244 /checksum/SHA384/132 1235s ok 1245 /checksum/SHA384/133 1235s ok 1246 /checksum/SHA384/134 1235s ok 1247 /checksum/SHA384/135 1235s ok 1248 /checksum/SHA384/136 1235s ok 1249 /checksum/SHA384/137 1235s ok 1250 /checksum/SHA384/138 1235s ok 1251 /checksum/SHA384/139 1235s ok 1252 /checksum/SHA384/140 1235s ok 1253 /checksum/SHA384/141 1235s ok 1254 /checksum/SHA384/142 1235s ok 1255 /checksum/SHA384/143 1235s ok 1256 /checksum/SHA384/144 1235s ok 1257 /checksum/SHA384/145 1235s ok 1258 /checksum/SHA384/146 1235s ok 1259 /checksum/SHA384/147 1235s ok 1260 /checksum/SHA384/148 1235s ok 1261 /checksum/SHA384/149 1235s ok 1262 /checksum/SHA384/150 1235s ok 1263 /checksum/SHA384/151 1235s ok 1264 /checksum/SHA384/152 1235s ok 1265 /checksum/SHA384/153 1235s ok 1266 /checksum/SHA384/154 1235s ok 1267 /checksum/SHA384/155 1235s ok 1268 /checksum/SHA384/156 1235s ok 1269 /checksum/SHA384/157 1235s ok 1270 /checksum/SHA384/158 1235s ok 1271 /checksum/SHA384/159 1235s ok 1272 /checksum/SHA384/160 1235s ok 1273 /checksum/SHA384/161 1235s ok 1274 /checksum/SHA384/162 1235s ok 1275 /checksum/SHA384/163 1235s ok 1276 /checksum/SHA384/164 1235s ok 1277 /checksum/SHA384/165 1235s ok 1278 /checksum/SHA384/166 1235s ok 1279 /checksum/SHA384/167 1235s ok 1280 /checksum/SHA384/168 1235s ok 1281 /checksum/SHA384/169 1235s ok 1282 /checksum/SHA384/170 1235s ok 1283 /checksum/SHA384/171 1235s ok 1284 /checksum/SHA384/172 1235s ok 1285 /checksum/SHA384/173 1235s ok 1286 /checksum/SHA384/174 1235s ok 1287 /checksum/SHA384/175 1235s ok 1288 /checksum/SHA384/176 1235s ok 1289 /checksum/SHA384/177 1235s ok 1290 /checksum/SHA384/178 1235s ok 1291 /checksum/SHA384/179 1235s ok 1292 /checksum/SHA384/180 1235s ok 1293 /checksum/SHA384/181 1235s ok 1294 /checksum/SHA384/182 1235s ok 1295 /checksum/SHA384/183 1235s ok 1296 /checksum/SHA384/string 1235s ok 1297 /checksum/SHA384/bytes 1235s # Start of reset tests 1235s ok 1298 /checksum/SHA384/reset/0 1235s ok 1299 /checksum/SHA384/reset/1 1235s ok 1300 /checksum/SHA384/reset/2 1235s ok 1301 /checksum/SHA384/reset/3 1235s ok 1302 /checksum/SHA384/reset/4 1235s ok 1303 /checksum/SHA384/reset/5 1235s ok 1304 /checksum/SHA384/reset/6 1235s ok 1305 /checksum/SHA384/reset/7 1235s ok 1306 /checksum/SHA384/reset/8 1235s ok 1307 /checksum/SHA384/reset/9 1235s ok 1308 /checksum/SHA384/reset/10 1235s ok 1309 /checksum/SHA384/reset/11 1235s ok 1310 /checksum/SHA384/reset/12 1235s ok 1311 /checksum/SHA384/reset/13 1235s ok 1312 /checksum/SHA384/reset/14 1235s ok 1313 /checksum/SHA384/reset/15 1235s ok 1314 /checksum/SHA384/reset/16 1235s ok 1315 /checksum/SHA384/reset/17 1235s ok 1316 /checksum/SHA384/reset/18 1235s ok 1317 /checksum/SHA384/reset/19 1235s ok 1318 /checksum/SHA384/reset/20 1235s ok 1319 /checksum/SHA384/reset/21 1235s ok 1320 /checksum/SHA384/reset/22 1235s ok 1321 /checksum/SHA384/reset/23 1235s ok 1322 /checksum/SHA384/reset/24 1235s ok 1323 /checksum/SHA384/reset/25 1235s ok 1324 /checksum/SHA384/reset/26 1235s ok 1325 /checksum/SHA384/reset/27 1235s ok 1326 /checksum/SHA384/reset/28 1235s ok 1327 /checksum/SHA384/reset/29 1235s ok 1328 /checksum/SHA384/reset/30 1235s ok 1329 /checksum/SHA384/reset/31 1235s ok 1330 /checksum/SHA384/reset/32 1235s ok 1331 /checksum/SHA384/reset/33 1235s ok 1332 /checksum/SHA384/reset/34 1235s ok 1333 /checksum/SHA384/reset/35 1235s ok 1334 /checksum/SHA384/reset/36 1235s ok 1335 /checksum/SHA384/reset/37 1235s ok 1336 /checksum/SHA384/reset/38 1235s ok 1337 /checksum/SHA384/reset/39 1235s ok 1338 /checksum/SHA384/reset/40 1235s ok 1339 /checksum/SHA384/reset/41 1235s ok 1340 /checksum/SHA384/reset/42 1235s ok 1341 /checksum/SHA384/reset/43 1235s ok 1342 /checksum/SHA384/reset/44 1235s ok 1343 /checksum/SHA384/reset/45 1235s ok 1344 /checksum/SHA384/reset/46 1235s ok 1345 /checksum/SHA384/reset/47 1235s ok 1346 /checksum/SHA384/reset/48 1235s ok 1347 /checksum/SHA384/reset/49 1235s ok 1348 /checksum/SHA384/reset/50 1235s ok 1349 /checksum/SHA384/reset/51 1235s ok 1350 /checksum/SHA384/reset/52 1235s ok 1351 /checksum/SHA384/reset/53 1235s ok 1352 /checksum/SHA384/reset/54 1235s ok 1353 /checksum/SHA384/reset/55 1235s ok 1354 /checksum/SHA384/reset/56 1235s ok 1355 /checksum/SHA384/reset/57 1235s ok 1356 /checksum/SHA384/reset/58 1235s ok 1357 /checksum/SHA384/reset/59 1235s ok 1358 /checksum/SHA384/reset/60 1235s ok 1359 /checksum/SHA384/reset/61 1235s ok 1360 /checksum/SHA384/reset/62 1235s ok 1361 /checksum/SHA384/reset/63 1235s ok 1362 /checksum/SHA384/reset/64 1235s ok 1363 /checksum/SHA384/reset/65 1235s ok 1364 /checksum/SHA384/reset/66 1235s ok 1365 /checksum/SHA384/reset/67 1235s ok 1366 /checksum/SHA384/reset/68 1235s ok 1367 /checksum/SHA384/reset/69 1235s ok 1368 /checksum/SHA384/reset/70 1235s ok 1369 /checksum/SHA384/reset/71 1235s ok 1370 /checksum/SHA384/reset/72 1235s ok 1371 /checksum/SHA384/reset/73 1235s ok 1372 /checksum/SHA384/reset/74 1235s ok 1373 /checksum/SHA384/reset/75 1235s ok 1374 /checksum/SHA384/reset/76 1235s ok 1375 /checksum/SHA384/reset/77 1235s ok 1376 /checksum/SHA384/reset/78 1235s ok 1377 /checksum/SHA384/reset/79 1235s ok 1378 /checksum/SHA384/reset/80 1235s ok 1379 /checksum/SHA384/reset/81 1235s ok 1380 /checksum/SHA384/reset/82 1235s ok 1381 /checksum/SHA384/reset/83 1235s ok 1382 /checksum/SHA384/reset/84 1235s ok 1383 /checksum/SHA384/reset/85 1235s ok 1384 /checksum/SHA384/reset/86 1235s ok 1385 /checksum/SHA384/reset/87 1235s ok 1386 /checksum/SHA384/reset/88 1235s ok 1387 /checksum/SHA384/reset/89 1235s ok 1388 /checksum/SHA384/reset/90 1235s ok 1389 /checksum/SHA384/reset/91 1235s ok 1390 /checksum/SHA384/reset/92 1235s ok 1391 /checksum/SHA384/reset/93 1235s ok 1392 /checksum/SHA384/reset/94 1235s ok 1393 /checksum/SHA384/reset/95 1235s ok 1394 /checksum/SHA384/reset/96 1235s ok 1395 /checksum/SHA384/reset/97 1235s ok 1396 /checksum/SHA384/reset/98 1235s ok 1397 /checksum/SHA384/reset/99 1235s ok 1398 /checksum/SHA384/reset/100 1235s ok 1399 /checksum/SHA384/reset/101 1235s ok 1400 /checksum/SHA384/reset/102 1235s ok 1401 /checksum/SHA384/reset/103 1235s ok 1402 /checksum/SHA384/reset/104 1235s ok 1403 /checksum/SHA384/reset/105 1235s ok 1404 /checksum/SHA384/reset/106 1235s ok 1405 /checksum/SHA384/reset/107 1235s ok 1406 /checksum/SHA384/reset/108 1235s ok 1407 /checksum/SHA384/reset/109 1235s ok 1408 /checksum/SHA384/reset/110 1235s ok 1409 /checksum/SHA384/reset/111 1235s ok 1410 /checksum/SHA384/reset/112 1235s ok 1411 /checksum/SHA384/reset/113 1235s ok 1412 /checksum/SHA384/reset/114 1235s ok 1413 /checksum/SHA384/reset/115 1235s ok 1414 /checksum/SHA384/reset/116 1235s ok 1415 /checksum/SHA384/reset/117 1235s ok 1416 /checksum/SHA384/reset/118 1235s ok 1417 /checksum/SHA384/reset/119 1235s ok 1418 /checksum/SHA384/reset/120 1235s ok 1419 /checksum/SHA384/reset/121 1235s ok 1420 /checksum/SHA384/reset/122 1235s ok 1421 /checksum/SHA384/reset/123 1235s ok 1422 /checksum/SHA384/reset/124 1235s ok 1423 /checksum/SHA384/reset/125 1235s ok 1424 /checksum/SHA384/reset/126 1235s ok 1425 /checksum/SHA384/reset/127 1235s ok 1426 /checksum/SHA384/reset/128 1235s ok 1427 /checksum/SHA384/reset/129 1235s ok 1428 /checksum/SHA384/reset/130 1235s ok 1429 /checksum/SHA384/reset/131 1235s ok 1430 /checksum/SHA384/reset/132 1235s ok 1431 /checksum/SHA384/reset/133 1235s ok 1432 /checksum/SHA384/reset/134 1235s ok 1433 /checksum/SHA384/reset/135 1235s ok 1434 /checksum/SHA384/reset/136 1235s ok 1435 /checksum/SHA384/reset/137 1235s ok 1436 /checksum/SHA384/reset/138 1235s ok 1437 /checksum/SHA384/reset/139 1235s ok 1438 /checksum/SHA384/reset/140 1235s ok 1439 /checksum/SHA384/reset/141 1235s ok 1440 /checksum/SHA384/reset/142 1235s ok 1441 /checksum/SHA384/reset/143 1235s ok 1442 /checksum/SHA384/reset/144 1235s ok 1443 /checksum/SHA384/reset/145 1235s ok 1444 /checksum/SHA384/reset/146 1235s ok 1445 /checksum/SHA384/reset/147 1235s ok 1446 /checksum/SHA384/reset/148 1235s ok 1447 /checksum/SHA384/reset/149 1235s ok 1448 /checksum/SHA384/reset/150 1235s ok 1449 /checksum/SHA384/reset/151 1235s ok 1450 /checksum/SHA384/reset/152 1235s ok 1451 /checksum/SHA384/reset/153 1235s ok 1452 /checksum/SHA384/reset/154 1235s ok 1453 /checksum/SHA384/reset/155 1235s ok 1454 /checksum/SHA384/reset/156 1235s ok 1455 /checksum/SHA384/reset/157 1235s ok 1456 /checksum/SHA384/reset/158 1235s ok 1457 /checksum/SHA384/reset/159 1235s ok 1458 /checksum/SHA384/reset/160 1235s ok 1459 /checksum/SHA384/reset/161 1235s ok 1460 /checksum/SHA384/reset/162 1235s ok 1461 /checksum/SHA384/reset/163 1235s ok 1462 /checksum/SHA384/reset/164 1235s ok 1463 /checksum/SHA384/reset/165 1235s ok 1464 /checksum/SHA384/reset/166 1235s ok 1465 /checksum/SHA384/reset/167 1235s ok 1466 /checksum/SHA384/reset/168 1235s ok 1467 /checksum/SHA384/reset/169 1235s ok 1468 /checksum/SHA384/reset/170 1235s ok 1469 /checksum/SHA384/reset/171 1235s ok 1470 /checksum/SHA384/reset/172 1235s ok 1471 /checksum/SHA384/reset/173 1235s ok 1472 /checksum/SHA384/reset/174 1235s ok 1473 /checksum/SHA384/reset/175 1235s ok 1474 /checksum/SHA384/reset/176 1235s ok 1475 /checksum/SHA384/reset/177 1235s ok 1476 /checksum/SHA384/reset/178 1235s ok 1477 /checksum/SHA384/reset/179 1235s ok 1478 /checksum/SHA384/reset/180 1235s ok 1479 /checksum/SHA384/reset/181 1235s ok 1480 /checksum/SHA384/reset/182 1235s ok 1481 /checksum/SHA384/reset/183 1235s # End of reset tests 1235s # End of SHA384 tests 1235s # Start of SHA512 tests 1235s ok 1482 /checksum/SHA512/0 1235s ok 1483 /checksum/SHA512/1 1235s ok 1484 /checksum/SHA512/2 1235s ok 1485 /checksum/SHA512/3 1235s ok 1486 /checksum/SHA512/4 1235s ok 1487 /checksum/SHA512/5 1235s ok 1488 /checksum/SHA512/6 1235s ok 1489 /checksum/SHA512/7 1235s ok 1490 /checksum/SHA512/8 1235s ok 1491 /checksum/SHA512/9 1235s ok 1492 /checksum/SHA512/10 1235s ok 1493 /checksum/SHA512/11 1235s ok 1494 /checksum/SHA512/12 1235s ok 1495 /checksum/SHA512/13 1235s ok 1496 /checksum/SHA512/14 1235s ok 1497 /checksum/SHA512/15 1235s ok 1498 /checksum/SHA512/16 1235s ok 1499 /checksum/SHA512/17 1235s ok 1500 /checksum/SHA512/18 1235s ok 1501 /checksum/SHA512/19 1235s ok 1502 /checksum/SHA512/20 1235s ok 1503 /checksum/SHA512/21 1235s ok 1504 /checksum/SHA512/22 1235s ok 1505 /checksum/SHA512/23 1235s ok 1506 /checksum/SHA512/24 1235s ok 1507 /checksum/SHA512/25 1235s ok 1508 /checksum/SHA512/26 1235s ok 1509 /checksum/SHA512/27 1235s ok 1510 /checksum/SHA512/28 1235s ok 1511 /checksum/SHA512/29 1235s ok 1512 /checksum/SHA512/30 1235s ok 1513 /checksum/SHA512/31 1235s ok 1514 /checksum/SHA512/32 1235s ok 1515 /checksum/SHA512/33 1235s ok 1516 /checksum/SHA512/34 1235s ok 1517 /checksum/SHA512/35 1235s ok 1518 /checksum/SHA512/36 1235s ok 1519 /checksum/SHA512/37 1235s ok 1520 /checksum/SHA512/38 1235s ok 1521 /checksum/SHA512/39 1235s ok 1522 /checksum/SHA512/40 1235s ok 1523 /checksum/SHA512/41 1235s ok 1524 /checksum/SHA512/42 1235s ok 1525 /checksum/SHA512/43 1235s ok 1526 /checksum/SHA512/44 1235s ok 1527 /checksum/SHA512/45 1235s ok 1528 /checksum/SHA512/46 1235s ok 1529 /checksum/SHA512/47 1235s ok 1530 /checksum/SHA512/48 1235s ok 1531 /checksum/SHA512/49 1235s ok 1532 /checksum/SHA512/50 1235s ok 1533 /checksum/SHA512/51 1235s ok 1534 /checksum/SHA512/52 1235s ok 1535 /checksum/SHA512/53 1235s ok 1536 /checksum/SHA512/54 1235s ok 1537 /checksum/SHA512/55 1235s ok 1538 /checksum/SHA512/56 1235s ok 1539 /checksum/SHA512/57 1235s ok 1540 /checksum/SHA512/58 1235s ok 1541 /checksum/SHA512/59 1235s ok 1542 /checksum/SHA512/60 1235s ok 1543 /checksum/SHA512/61 1235s ok 1544 /checksum/SHA512/62 1235s ok 1545 /checksum/SHA512/63 1235s ok 1546 /checksum/SHA512/64 1235s ok 1547 /checksum/SHA512/65 1235s ok 1548 /checksum/SHA512/66 1235s ok 1549 /checksum/SHA512/67 1235s ok 1550 /checksum/SHA512/68 1235s ok 1551 /checksum/SHA512/69 1235s ok 1552 /checksum/SHA512/70 1235s ok 1553 /checksum/SHA512/71 1235s ok 1554 /checksum/SHA512/72 1235s ok 1555 /checksum/SHA512/73 1235s ok 1556 /checksum/SHA512/74 1235s ok 1557 /checksum/SHA512/75 1235s ok 1558 /checksum/SHA512/76 1235s ok 1559 /checksum/SHA512/77 1235s ok 1560 /checksum/SHA512/78 1235s ok 1561 /checksum/SHA512/79 1235s ok 1562 /checksum/SHA512/80 1235s ok 1563 /checksum/SHA512/81 1235s ok 1564 /checksum/SHA512/82 1235s ok 1565 /checksum/SHA512/83 1235s ok 1566 /checksum/SHA512/84 1235s ok 1567 /checksum/SHA512/85 1235s ok 1568 /checksum/SHA512/86 1235s ok 1569 /checksum/SHA512/87 1235s ok 1570 /checksum/SHA512/88 1235s ok 1571 /checksum/SHA512/89 1235s ok 1572 /checksum/SHA512/90 1235s ok 1573 /checksum/SHA512/91 1235s ok 1574 /checksum/SHA512/92 1235s ok 1575 /checksum/SHA512/93 1235s ok 1576 /checksum/SHA512/94 1235s ok 1577 /checksum/SHA512/95 1235s ok 1578 /checksum/SHA512/96 1235s ok 1579 /checksum/SHA512/97 1235s ok 1580 /checksum/SHA512/98 1235s ok 1581 /checksum/SHA512/99 1235s ok 1582 /checksum/SHA512/100 1235s ok 1583 /checksum/SHA512/101 1235s ok 1584 /checksum/SHA512/102 1235s ok 1585 /checksum/SHA512/103 1235s ok 1586 /checksum/SHA512/104 1235s ok 1587 /checksum/SHA512/105 1235s ok 1588 /checksum/SHA512/106 1235s ok 1589 /checksum/SHA512/107 1235s ok 1590 /checksum/SHA512/108 1235s ok 1591 /checksum/SHA512/109 1235s ok 1592 /checksum/SHA512/110 1235s ok 1593 /checksum/SHA512/111 1235s ok 1594 /checksum/SHA512/112 1235s ok 1595 /checksum/SHA512/113 1235s ok 1596 /checksum/SHA512/114 1235s ok 1597 /checksum/SHA512/115 1235s ok 1598 /checksum/SHA512/116 1235s ok 1599 /checksum/SHA512/117 1235s ok 1600 /checksum/SHA512/118 1235s ok 1601 /checksum/SHA512/119 1235s ok 1602 /checksum/SHA512/120 1235s ok 1603 /checksum/SHA512/121 1235s ok 1604 /checksum/SHA512/122 1235s ok 1605 /checksum/SHA512/123 1235s ok 1606 /checksum/SHA512/124 1235s ok 1607 /checksum/SHA512/125 1235s ok 1608 /checksum/SHA512/126 1235s ok 1609 /checksum/SHA512/127 1235s ok 1610 /checksum/SHA512/128 1235s ok 1611 /checksum/SHA512/129 1235s ok 1612 /checksum/SHA512/130 1235s ok 1613 /checksum/SHA512/131 1235s ok 1614 /checksum/SHA512/132 1235s ok 1615 /checksum/SHA512/133 1235s ok 1616 /checksum/SHA512/134 1235s ok 1617 /checksum/SHA512/135 1235s ok 1618 /checksum/SHA512/136 1235s ok 1619 /checksum/SHA512/137 1235s ok 1620 /checksum/SHA512/138 1235s ok 1621 /checksum/SHA512/139 1235s ok 1622 /checksum/SHA512/140 1235s ok 1623 /checksum/SHA512/141 1235s ok 1624 /checksum/SHA512/142 1235s ok 1625 /checksum/SHA512/143 1235s ok 1626 /checksum/SHA512/144 1235s ok 1627 /checksum/SHA512/145 1235s ok 1628 /checksum/SHA512/146 1235s ok 1629 /checksum/SHA512/147 1235s ok 1630 /checksum/SHA512/148 1235s ok 1631 /checksum/SHA512/149 1235s ok 1632 /checksum/SHA512/150 1235s ok 1633 /checksum/SHA512/151 1235s ok 1634 /checksum/SHA512/152 1235s ok 1635 /checksum/SHA512/153 1235s ok 1636 /checksum/SHA512/154 1235s ok 1637 /checksum/SHA512/155 1235s ok 1638 /checksum/SHA512/156 1235s ok 1639 /checksum/SHA512/157 1235s ok 1640 /checksum/SHA512/158 1235s ok 1641 /checksum/SHA512/159 1235s ok 1642 /checksum/SHA512/160 1235s ok 1643 /checksum/SHA512/161 1235s ok 1644 /checksum/SHA512/162 1235s ok 1645 /checksum/SHA512/163 1235s ok 1646 /checksum/SHA512/164 1235s ok 1647 /checksum/SHA512/165 1235s ok 1648 /checksum/SHA512/166 1235s ok 1649 /checksum/SHA512/167 1235s ok 1650 /checksum/SHA512/168 1235s ok 1651 /checksum/SHA512/169 1235s ok 1652 /checksum/SHA512/170 1235s ok 1653 /checksum/SHA512/171 1235s ok 1654 /checksum/SHA512/172 1235s ok 1655 /checksum/SHA512/173 1235s ok 1656 /checksum/SHA512/174 1235s ok 1657 /checksum/SHA512/175 1235s ok 1658 /checksum/SHA512/176 1235s ok 1659 /checksum/SHA512/177 1235s ok 1660 /checksum/SHA512/178 1235s ok 1661 /checksum/SHA512/179 1235s ok 1662 /checksum/SHA512/180 1235s ok 1663 /checksum/SHA512/181 1235s ok 1664 /checksum/SHA512/182 1235s ok 1665 /checksum/SHA512/183 1235s ok 1666 /checksum/SHA512/string 1235s ok 1667 /checksum/SHA512/bytes 1235s # Start of reset tests 1235s ok 1668 /checksum/SHA512/reset/0 1235s ok 1669 /checksum/SHA512/reset/1 1235s ok 1670 /checksum/SHA512/reset/2 1235s ok 1671 /checksum/SHA512/reset/3 1235s ok 1672 /checksum/SHA512/reset/4 1235s ok 1673 /checksum/SHA512/reset/5 1235s ok 1674 /checksum/SHA512/reset/6 1235s ok 1675 /checksum/SHA512/reset/7 1235s ok 1676 /checksum/SHA512/reset/8 1235s ok 1677 /checksum/SHA512/reset/9 1235s ok 1678 /checksum/SHA512/reset/10 1235s ok 1679 /checksum/SHA512/reset/11 1235s ok 1680 /checksum/SHA512/reset/12 1235s ok 1681 /checksum/SHA512/reset/13 1235s ok 1682 /checksum/SHA512/reset/14 1235s ok 1683 /checksum/SHA512/reset/15 1235s ok 1684 /checksum/SHA512/reset/16 1235s ok 1685 /checksum/SHA512/reset/17 1235s ok 1686 /checksum/SHA512/reset/18 1235s ok 1687 /checksum/SHA512/reset/19 1235s ok 1688 /checksum/SHA512/reset/20 1235s ok 1689 /checksum/SHA512/reset/21 1235s ok 1690 /checksum/SHA512/reset/22 1235s ok 1691 /checksum/SHA512/reset/23 1235s ok 1692 /checksum/SHA512/reset/24 1235s ok 1693 /checksum/SHA512/reset/25 1235s ok 1694 /checksum/SHA512/reset/26 1235s ok 1695 /checksum/SHA512/reset/27 1235s ok 1696 /checksum/SHA512/reset/28 1235s ok 1697 /checksum/SHA512/reset/29 1235s ok 1698 /checksum/SHA512/reset/30 1235s ok 1699 /checksum/SHA512/reset/31 1235s ok 1700 /checksum/SHA512/reset/32 1235s ok 1701 /checksum/SHA512/reset/33 1235s ok 1702 /checksum/SHA512/reset/34 1235s ok 1703 /checksum/SHA512/reset/35 1235s ok 1704 /checksum/SHA512/reset/36 1235s ok 1705 /checksum/SHA512/reset/37 1235s ok 1706 /checksum/SHA512/reset/38 1235s ok 1707 /checksum/SHA512/reset/39 1235s ok 1708 /checksum/SHA512/reset/40 1235s ok 1709 /checksum/SHA512/reset/41 1235s ok 1710 /checksum/SHA512/reset/42 1235s ok 1711 /checksum/SHA512/reset/43 1235s ok 1712 /checksum/SHA512/reset/44 1235s ok 1713 /checksum/SHA512/reset/45 1235s ok 1714 /checksum/SHA512/reset/46 1235s ok 1715 /checksum/SHA512/reset/47 1235s ok 1716 /checksum/SHA512/reset/48 1235s ok 1717 /checksum/SHA512/reset/49 1235s ok 1718 /checksum/SHA512/reset/50 1235s ok 1719 /checksum/SHA512/reset/51 1235s ok 1720 /checksum/SHA512/reset/52 1235s ok 1721 /checksum/SHA512/reset/53 1235s ok 1722 /checksum/SHA512/reset/54 1235s ok 1723 /checksum/SHA512/reset/55 1235s ok 1724 /checksum/SHA512/reset/56 1235s ok 1725 /checksum/SHA512/reset/57 1235s ok 1726 /checksum/SHA512/reset/58 1235s ok 1727 /checksum/SHA512/reset/59 1235s ok 1728 /checksum/SHA512/reset/60 1235s ok 1729 /checksum/SHA512/reset/61 1235s ok 1730 /checksum/SHA512/reset/62 1235s ok 1731 /checksum/SHA512/reset/63 1235s ok 1732 /checksum/SHA512/reset/64 1235s ok 1733 /checksum/SHA512/reset/65 1235s ok 1734 /checksum/SHA512/reset/66 1235s ok 1735 /checksum/SHA512/reset/67 1235s ok 1736 /checksum/SHA512/reset/68 1235s ok 1737 /checksum/SHA512/reset/69 1235s ok 1738 /checksum/SHA512/reset/70 1235s ok 1739 /checksum/SHA512/reset/71 1235s ok 1740 /checksum/SHA512/reset/72 1235s ok 1741 /checksum/SHA512/reset/73 1235s ok 1742 /checksum/SHA512/reset/74 1235s ok 1743 /checksum/SHA512/reset/75 1235s ok 1744 /checksum/SHA512/reset/76 1235s ok 1745 /checksum/SHA512/reset/77 1235s ok 1746 /checksum/SHA512/reset/78 1235s ok 1747 /checksum/SHA512/reset/79 1235s ok 1748 /checksum/SHA512/reset/80 1235s ok 1749 /checksum/SHA512/reset/81 1235s ok 1750 /checksum/SHA512/reset/82 1235s ok 1751 /checksum/SHA512/reset/83 1235s ok 1752 /checksum/SHA512/reset/84 1235s ok 1753 /checksum/SHA512/reset/85 1235s ok 1754 /checksum/SHA512/reset/86 1235s ok 1755 /checksum/SHA512/reset/87 1235s ok 1756 /checksum/SHA512/reset/88 1235s ok 1757 /checksum/SHA512/reset/89 1235s ok 1758 /checksum/SHA512/reset/90 1235s ok 1759 /checksum/SHA512/reset/91 1235s ok 1760 /checksum/SHA512/reset/92 1235s ok 1761 /checksum/SHA512/reset/93 1235s ok 1762 /checksum/SHA512/reset/94 1235s ok 1763 /checksum/SHA512/reset/95 1235s ok 1764 /checksum/SHA512/reset/96 1235s ok 1765 /checksum/SHA512/reset/97 1235s ok 1766 /checksum/SHA512/reset/98 1235s ok 1767 /checksum/SHA512/reset/99 1235s ok 1768 /checksum/SHA512/reset/100 1235s ok 1769 /checksum/SHA512/reset/101 1235s ok 1770 /checksum/SHA512/reset/102 1235s ok 1771 /checksum/SHA512/reset/103 1235s ok 1772 /checksum/SHA512/reset/104 1235s ok 1773 /checksum/SHA512/reset/105 1235s ok 1774 /checksum/SHA512/reset/106 1235s ok 1775 /checksum/SHA512/reset/107 1235s ok 1776 /checksum/SHA512/reset/108 1235s ok 1777 /checksum/SHA512/reset/109 1235s ok 1778 /checksum/SHA512/reset/110 1235s ok 1779 /checksum/SHA512/reset/111 1235s ok 1780 /checksum/SHA512/reset/112 1235s ok 1781 /checksum/SHA512/reset/113 1235s ok 1782 /checksum/SHA512/reset/114 1235s ok 1783 /checksum/SHA512/reset/115 1235s ok 1784 /checksum/SHA512/reset/116 1235s ok 1785 /checksum/SHA512/reset/117 1235s ok 1786 /checksum/SHA512/reset/118 1235s ok 1787 /checksum/SHA512/reset/119 1235s ok 1788 /checksum/SHA512/reset/120 1235s ok 1789 /checksum/SHA512/reset/121 1235s ok 1790 /checksum/SHA512/reset/122 1235s ok 1791 /checksum/SHA512/reset/123 1235s ok 1792 /checksum/SHA512/reset/124 1235s ok 1793 /checksum/SHA512/reset/125 1235s ok 1794 /checksum/SHA512/reset/126 1235s ok 1795 /checksum/SHA512/reset/127 1235s ok 1796 /checksum/SHA512/reset/128 1235s ok 1797 /checksum/SHA512/reset/129 1235s ok 1798 /checksum/SHA512/reset/130 1235s ok 1799 /checksum/SHA512/reset/131 1235s ok 1800 /checksum/SHA512/reset/132 1235s ok 1801 /checksum/SHA512/reset/133 1235s ok 1802 /checksum/SHA512/reset/134 1235s ok 1803 /checksum/SHA512/reset/135 1235s ok 1804 /checksum/SHA512/reset/136 1235s ok 1805 /checksum/SHA512/reset/137 1235s ok 1806 /checksum/SHA512/reset/138 1235s ok 1807 /checksum/SHA512/reset/139 1235s ok 1808 /checksum/SHA512/reset/140 1235s ok 1809 /checksum/SHA512/reset/141 1235s ok 1810 /checksum/SHA512/reset/142 1235s ok 1811 /checksum/SHA512/reset/143 1235s ok 1812 /checksum/SHA512/reset/144 1235s ok 1813 /checksum/SHA512/reset/145 1235s ok 1814 /checksum/SHA512/reset/146 1235s ok 1815 /checksum/SHA512/reset/147 1235s ok 1816 /checksum/SHA512/reset/148 1235s ok 1817 /checksum/SHA512/reset/149 1235s ok 1818 /checksum/SHA512/reset/150 1235s ok 1819 /checksum/SHA512/reset/151 1235s ok 1820 /checksum/SHA512/reset/152 1235s ok 1821 /checksum/SHA512/reset/153 1235s ok 1822 /checksum/SHA512/reset/154 1235s ok 1823 /checksum/SHA512/reset/155 1235s ok 1824 /checksum/SHA512/reset/156 1235s ok 1825 /checksum/SHA512/reset/157 1235s ok 1826 /checksum/SHA512/reset/158 1235s ok 1827 /checksum/SHA512/reset/159 1235s ok 1828 /checksum/SHA512/reset/160 1235s ok 1829 /checksum/SHA512/reset/161 1235s ok 1830 /checksum/SHA512/reset/162 1235s ok 1831 /checksum/SHA512/reset/163 1235s ok 1832 /checksum/SHA512/reset/164 1235s ok 1833 /checksum/SHA512/reset/165 1235s ok 1834 /checksum/SHA512/reset/166 1235s ok 1835 /checksum/SHA512/reset/167 1235s ok 1836 /checksum/SHA512/reset/168 1235s ok 1837 /checksum/SHA512/reset/169 1235s ok 1838 /checksum/SHA512/reset/170 1235s ok 1839 /checksum/SHA512/reset/171 1235s ok 1840 /checksum/SHA512/reset/172 1235s ok 1841 /checksum/SHA512/reset/173 1235s ok 1842 /checksum/SHA512/reset/174 1235s ok 1843 /checksum/SHA512/reset/175 1235s ok 1844 /checksum/SHA512/reset/176 1235s ok 1845 /checksum/SHA512/reset/177 1235s ok 1846 /checksum/SHA512/reset/178 1235s ok 1847 /checksum/SHA512/reset/179 1235s ok 1848 /checksum/SHA512/reset/180 1235s ok 1849 /checksum/SHA512/reset/181 1235s ok 1850 /checksum/SHA512/reset/182 1235s ok 1851 /checksum/SHA512/reset/183 1235s # End of reset tests 1235s # End of SHA512 tests 1235s # End of checksum tests 1235s ok - glib/checksum.test 1235s # Running test: glib/mutex.test 1235s TAP version 14 1235s # random seed: R02S08927abc2e8d83e81f5e44bc4666fcf7 1235s 1..17 1235s # Start of thread tests 1235s ok 1 /thread/mutex1 1235s ok 2 /thread/mutex2 1235s ok 3 /thread/mutex3 1235s ok 4 /thread/mutex4 1236s ok 5 /thread/mutex5 1236s # slow test /thread/mutex5 executed in 1.59 secs 1236s # Start of mutex tests 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1236s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1237s ok 6 /thread/mutex/errno 1237s # Start of perf tests 1237s # max perf: inf mips 1237s ok 7 /thread/mutex/perf/uncontended 1237s # Start of contended tests 1237s # max perf: inf mips 1237s ok 8 /thread/mutex/perf/contended/1 1237s # max perf: inf mips 1237s ok 9 /thread/mutex/perf/contended/2 1237s # max perf: 0.200000 mips 1237s ok 10 /thread/mutex/perf/contended/3 1237s # max perf: 0.312500 mips 1237s ok 11 /thread/mutex/perf/contended/4 1237s # max perf: 0.250000 mips 1237s ok 12 /thread/mutex/perf/contended/5 1237s # max perf: 0.291667 mips 1237s ok 13 /thread/mutex/perf/contended/6 1237s ok - glib/mutex.test 1237s # max perf: 0.216216 mips 1237s ok 14 /thread/mutex/perf/contended/7 1237s # max perf: 0.529412 mips 1237s ok 15 /thread/mutex/perf/contended/8 1237s # max perf: 1.111111 mips 1237s ok 16 /thread/mutex/perf/contended/9 1237s # max perf: 0.611111 mips 1237s ok 17 /thread/mutex/perf/contended/10 1237s # End of contended tests 1237s # End of perf tests 1237s # End of mutex tests 1237s # End of thread tests 1237s # Running test: glib/cxx-17.test 1237s ok - glib/cxx-17.test 1237s TAP version 14 1237s # random seed: R02Sf88781501ee8b9aed229942badf61ea2 1237s 1..2 1237s # Start of gtask tests 1237s # 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. 1237s ok 1 /gtask/name 1237s # Start of name tests 1237s # 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. 1237s ok 2 /gtask/name/macro-wrapper 1237s # End of name tests 1237s # End of gtask tests 1237s # Running test: glib/value.test 1237s TAP version 14 1237s # random seed: R02S0a7e25ddedb98a932c223b994df5d356 1237s 1..9 1237s # Start of value tests 1237s ok 1 /value/basic 1237s ok 2 /value/collection 1237s ok 3 /value/copying 1237s ok 4 /value/enum-transformation 1237s ok 5 /value/gtype 1237s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1237s ok 6 /value/string 1237s # Next: GObject object in GValue of GObject to GValue of GObject 1237s # Next: GObject object in GValue of GObject to GValue of TestInterface 1237s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1237s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1237s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1237s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1237s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1237s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1237s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1237s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1237s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1237s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1237s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1237s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1237s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1237s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1237s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1237s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1237s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1237s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1237s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1237s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1237s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1237s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1237s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1237s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1237s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1237s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1237s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1237s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1237s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1237s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1237s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1237s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1237s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1237s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1237s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1237s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1237s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1237s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1237s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1237s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1237s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1237s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1237s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1237s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1237s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1237s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1237s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1237s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1237s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1237s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1237s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1237s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1237s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1237s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1237s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1237s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1237s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1237s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1237s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1237s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1237s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1237s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1237s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1237s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1237s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1237s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1237s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1237s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1237s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1237s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1237s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1237s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1237s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1237s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1237s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1237s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1237s ok 7 /value/transform-object 1237s # Start of array tests 1237s ok 8 /value/array/basic 1237s ok 9 /value/array/sort-with-data 1237s # End of array tests 1237s # End of value tests 1237s ok - glib/value.test 1237s # Running test: glib/vfs.test 1237s TAP version 14 1237s # random seed: R02S58262a7f59302a28bfb6b17b234423a5 1237s 1..3 1237s # Start of gvfs tests 1237s ok 1 /gvfs/local 1237s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1237s ok 2 /gvfs/register-scheme 1237s # Start of resource tests 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1237s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1237s ok 3 /gvfs/resource/malformed-escaping 1237s # End of resource tests 1237s # End of gvfs tests 1237s ok - glib/vfs.test 1237s # Running test: glib/data-output-stream.test 1237s TAP version 14 1237s # random seed: R02Sf4437bef536f7cbf502815f4f2feeb48 1237s 1..7 1237s # Start of data-output-stream tests 1237s ok - glib/data-output-stream.test 1237s # Running test: glib/gvariant.test 1237s ok 1 /data-output-stream/basic 1237s ok 2 /data-output-stream/write-lines-LF 1237s ok 3 /data-output-stream/write-lines-CR 1237s ok 4 /data-output-stream/write-lines-CR-LF 1237s ok 5 /data-output-stream/write-int 1237s ok 6 /data-output-stream/seek 1237s ok 7 /data-output-stream/truncate 1237s # End of data-output-stream tests 1237s TAP version 14 1237s # random seed: R02S28a86e647554bd633031b12f97d2f2ba 1237s 1..69 1237s # Start of gvariant tests 1237s ok 1 /gvariant/type 1237s ok 2 /gvariant/typeinfo 1237s ok 3 /gvariant/string 1237s ok 4 /gvariant/utf8 1237s ok 5 /gvariant/utf8-new-strings 1237s ok 6 /gvariant/containers 1237s ok 7 /gvariant/format-strings 1237s ok 8 /gvariant/invalid-varargs 1237s ok 9 /gvariant/varargs 1237s ok 10 /gvariant/valist 1237s ok 11 /gvariant/builder-memory 1237s ok 12 /gvariant/hashing 1237s ok 13 /gvariant/byteswap 1238s ok 14 /gvariant/parser 1238s # slow test /gvariant/parser executed in 0.52 secs 1238s ok 15 /gvariant/parse-failures 1238s ok 16 /gvariant/parse-positional 1238s ok 17 /gvariant/floating 1238s ok 18 /gvariant/bytestring 1238s ok 19 /gvariant/lookup-value 1238s ok 20 /gvariant/lookup 1238s ok 21 /gvariant/compare 1238s ok 22 /gvariant/equal 1238s ok 23 /gvariant/fixed-array 1238s ok 24 /gvariant/check-format-string 1238s ok 25 /gvariant/checksum-basic 1238s ok 26 /gvariant/checksum-nested 1238s ok 27 /gvariant/gbytes 1238s ok 28 /gvariant/print-context 1238s ok 29 /gvariant/error-quark 1238s ok 30 /gvariant/stack-builder-init 1238s ok 31 /gvariant/stack-builder-init-static 1238s ok 32 /gvariant/stack-builder-init-unset 1238s ok 33 /gvariant/stack-dict-init 1238s ok 34 /gvariant/unaligned-construction 1238s # Start of type tests 1238s # Start of string-scan tests 1238s # Start of recursion tests 1238s ok 35 /gvariant/type/string-scan/recursion/tuple 1238s ok 36 /gvariant/type/string-scan/recursion/array 1238s # End of recursion tests 1238s # End of string-scan tests 1238s # End of type tests 1238s # Start of serialiser tests 1238s ok 37 /gvariant/serialiser/maybe 1238s # Executing: glib/gvariant.test 1238s ok 38 /gvariant/serialiser/array 1238s ok 39 /gvariant/serialiser/tuple 1238s ok 40 /gvariant/serialiser/variant 1238s ok 41 /gvariant/serialiser/strings 1240s ok 42 /gvariant/serialiser/byteswap 1240s # slow test /gvariant/serialiser/byteswap executed in 1.89 secs 1240s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1240s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1240s ok 43 /gvariant/serialiser/children 1240s # Start of byteswap tests 1240s ok 44 /gvariant/serialiser/byteswap/zero-sized 1240s # End of byteswap tests 1240s # Start of fuzz tests 1241s ok 45 /gvariant/serialiser/fuzz/1% 1241s # slow test /gvariant/serialiser/fuzz/1% executed in 0.65 secs 1243s # Executing: glib/gvariant.test 1246s ok 46 /gvariant/serialiser/fuzz/5% 1246s # slow test /gvariant/serialiser/fuzz/5% executed in 5.32 secs 1248s # Executing: glib/gvariant.test 1253s # Executing: glib/gvariant.test 1253s ok 47 /gvariant/serialiser/fuzz/9% 1253s # slow test /gvariant/serialiser/fuzz/9% executed in 6.99 secs 1254s ok 48 /gvariant/serialiser/fuzz/13% 1254s ok 49 /gvariant/serialiser/fuzz/17% 1254s # slow test /gvariant/serialiser/fuzz/17% executed in 0.65 secs 1254s # End of fuzz tests 1254s # End of serialiser tests 1254s # Start of utf8 tests 1254s # Start of subprocess tests 1254s # End of subprocess tests 1254s # End of utf8 tests 1254s # Start of varargs tests 1254s # Start of subprocess tests 1254s # End of subprocess tests 1254s # End of varargs tests 1254s # Start of byteswap tests 1254s # /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. 1254s ok 50 /gvariant/byteswap/non-normal-non-aligned 1254s # End of byteswap tests 1254s # Start of parser tests 1254s ok 51 /gvariant/parser/integer-bounds 1254s ok 52 /gvariant/parser/recursion 1254s # Start of recursion tests 1254s ok 53 /gvariant/parser/recursion/typedecls 1254s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1254s # Text form 0: @mmmu 5 1254s # Text form 1: @mmmas ['hello'] 1254s # Text form 2: @mmmu just just nothing 1254s # Text form 3: @mmmas just just nothing 1254s # Text form 4: @mmmu just nothing 1254s # Text form 5: @mmmas just nothing 1254s # Text form 6: @mmmu nothing 1254s # Text form 7: @mmmas nothing 1254s ok 54 /gvariant/parser/recursion/maybes 1254s # End of recursion tests 1254s # End of parser tests 1254s # Start of parse tests 1254s # Start of subprocess tests 1254s # End of subprocess tests 1254s # End of parse tests 1254s # Start of normal-checking tests 1254s ok 55 /gvariant/normal-checking/tuples 1254s ok 56 /gvariant/normal-checking/array-offsets 1254s ok 57 /gvariant/normal-checking/array-offsets2 1254s ok 58 /gvariant/normal-checking/tuple-offsets 1254s ok 59 /gvariant/normal-checking/tuple-offsets2 1254s ok 60 /gvariant/normal-checking/tuple-offsets3 1254s ok 61 /gvariant/normal-checking/tuple-offsets4 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1254s ok 62 /gvariant/normal-checking/tuple-offsets5 1254s ok 63 /gvariant/normal-checking/empty-object-path 1254s # Start of array-offsets tests 1254s ok 64 /gvariant/normal-checking/array-offsets/overlapped 1254s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 1254s # End of array-offsets tests 1254s # Start of tuple-offsets tests 1254s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 1254s # End of tuple-offsets tests 1254s # End of normal-checking tests 1254s # Start of recursion-limits tests 1254s ok 67 /gvariant/recursion-limits/variant-in-variant 1254s ok 68 /gvariant/recursion-limits/array-in-variant 1254s # End of recursion-limits tests 1254s # End of gvariant tests 1254s # Start of gvarianttype tests 1254s ok 69 /gvarianttype/hash 1254s # End of gvarianttype tests 1254s ok - glib/gvariant.test 1254s # Running test: glib/io-stream.test 1254s TAP version 14 1254s # random seed: R02S7562e0e583f286526bcf0077bf4a8d65 1254s 1..3 1254s # Start of io-stream tests 1254s ok - glib/io-stream.test 1254s # Running test: glib/task.test 1254s ok 1 /io-stream/copy-chunks 1254s # Start of close tests 1254s # Start of async tests 1254s ok 2 /io-stream/close/async/memory 1254s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1254s ok 3 /io-stream/close/async/file 1254s # End of async tests 1254s # End of close tests 1254s # End of io-stream tests 1254s TAP version 14 1254s # random seed: R02S37ad60a071f73edf190013d568762752 1254s 1..36 1254s # Start of gtask tests 1254s ok 1 /gtask/basic 1254s ok 2 /gtask/error 1254s ok 3 /gtask/error-literal 1254s ok 4 /gtask/error-literal-from-variable 1254s ok 5 /gtask/return-from-same-iteration 1254s ok 6 /gtask/return-from-toplevel 1254s ok 7 /gtask/return-from-anon-thread 1254s ok 8 /gtask/return-from-wrong-thread 1254s ok 9 /gtask/no-callback 1254s ok 10 /gtask/report-error 1254s ok 11 /gtask/priority 1254s ok 12 /gtask/name 1254s ok 13 /gtask/static-name 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1255s ok 14 /gtask/asynchronous-cancellation 1255s ok 15 /gtask/check-cancellable 1255s ok 16 /gtask/return-if-cancelled 1255s ok 17 /gtask/run-in-thread 1255s ok 18 /gtask/run-in-thread-sync 1255s ok 19 /gtask/run-in-thread-priority 1255s ok 20 /gtask/run-in-thread-nested 1255s ok 21 /gtask/run-in-thread-overflow 1255s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 1255s # GLib-GIO-DEBUG: GTask 0xda6d938 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1255s ok 22 /gtask/return-on-cancel 1255s # GLib-GIO-DEBUG: GTask 0xda2bc98 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1255s # GLib-GIO-DEBUG: GTask 0xda2bde8 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1255s # GLib-GIO-DEBUG: GTask 0xda2be90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1255s ok 23 /gtask/return-on-cancel-sync 1255s ok 24 /gtask/return-on-cancel-atomic 1255s ok 25 /gtask/return-pointer 1255s ok 26 /gtask/return-value 1255s ok 27 /gtask/return-prefixed-error 1255s ok - glib/task.test 1255s # Running test: glib/performance.test 1255s ok 28 /gtask/object-keepalive 1255s ok 29 /gtask/legacy-error 1255s ok 30 /gtask/finalize-without-return 1255s # Start of name tests 1255s ok 31 /gtask/name/macro-wrapper 1255s # End of name tests 1255s # Start of return tests 1255s ok 32 /gtask/return/error-first 1255s ok 33 /gtask/return/value-first 1255s # Start of in-idle tests 1255s ok 34 /gtask/return/in-idle/error-first 1255s ok 35 /gtask/return/in-idle/value-first 1255s # End of in-idle tests 1255s # End of return tests 1255s # Start of attach-source tests 1255s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 1255s ok 36 /gtask/attach-source/set-name 1255s # End of attach-source tests 1255s # End of gtask tests 1258s # Executing: glib/performance.test 1263s # Executing: glib/performance.test 1263s simple-construction: Millions of constructed objects per second: 11.785 1266s simple-construction1: Millions of constructed objects per second: 66.805 1268s # Executing: glib/performance.test 1270s complex-construction: Millions of constructed objects per second: 4.755 1273s # Executing: glib/performance.test 1275s complex-construction1: Millions of constructed objects per second: 8.086 1278s # Executing: glib/performance.test 1282s complex-construction2: Millions of constructed objects per second: 9.074 1283s # Executing: glib/performance.test 1283s finalization: Millions of finalized objects per second: 2.054 1284s type-check: Million type checks per second: 41.30 1286s emit-unhandled: Emissions per second: 2429037 1287s emit-unhandled-empty: Emissions per second: 20869162 1288s # Executing: glib/performance.test 1288s emit-unhandled-generic: Emissions per second: 3255423 1289s emit-unhandled-generic-empty: Emissions per second: 20836976 1291s emit-unhandled-args: Emissions per second: 2193605 1292s emit-handled: Emissions per second: 1573622 1293s # Executing: glib/performance.test 1293s emit-handled-empty: Emissions per second: 1658093 1294s emit-handled-generic: Emissions per second: 1620383 1296s emit-handled-generic-empty: Emissions per second: 2734829 1297s emit-handled-args: Emissions per second: 1524678 1298s # Executing: glib/performance.test 1298s notify-unhandled: Notify (unhandled) per second: 10064878 1300s notify-by-pspec-unhandled: Notify (unhandled) per second: 74144415 1301s notify-handled: Notify per second: 1039312 1302s notify-by-pspec-handled: Notify per second: 1130407 1303s # Executing: glib/performance.test 1303s property-set: Property set per second: 9954126 1305s property-set-signaled: Property set per second: 2615327 1306s property-get: Property get per second: 10100038 1307s refcount: Million refs+unref per second: 16.36 1308s # Executing: glib/performance.test 1308s refcount-1: Million refs+unref per second: 41.67 1310s refcount-toggle: Million refs+unref per second: 32.18 1310s ok - glib/performance.test 1310s # Running test: glib/resources.test 1310s TAP version 14 1310s # random seed: R02Sfafe8c0e4b677e730b2e212ff89c9a79 1310s 1..19 1310s # Start of resource tests 1310s ok 1 /resource/file 1310s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1310s ok 2 /resource/file-path 1310s ok 3 /resource/data 1310s ok 4 /resource/data_unaligned 1310s ok 5 /resource/data-corrupt 1310s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 1310s ok 6 /resource/data-corrupt-compression 1310s ok 7 /resource/data-empty 1310s ok 8 /resource/registered 1310s ok 9 /resource/manual 1310s ok 10 /resource/manual2 1310s ok 11 /resource/automatic 1310s ok 12 /resource/module 1310s ok - glib/resources.test 1310s # Running test: glib/642026.test 1310s ok 13 /resource/binary-linked 1310s ok 14 /resource/64k 1310s GLib-GIO-Message: 19:47:22.171: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1310s GLib-GIO-Message: 19:47:22.172: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1310s GLib-GIO-Message: 19:47:22.172: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1310s ok 15 /resource/overlay 1310s ok 16 /resource/digits 1310s ok 17 /resource/has-children 1310s # Start of uri tests 1310s ok 18 /resource/uri/query-info 1310s ok 19 /resource/uri/file 1310s # End of uri tests 1310s # End of resource tests 1310s TAP version 14 1310s # random seed: R02S46daecbb96011c44800cdcae05419bed 1310s 1..1 1310s # Start of glib tests 1310s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1310s ok - glib/642026.test 1310s ok 1 /glib/642026 1310s # End of glib tests 1310s # Running test: glib/basics-gobject.test 1310s TAP version 14 1310s # random seed: R02S045954d0296b2f683eaa182fb5cb808a 1310s 1..1 1310s # Start of gobject tests 1310s ok - glib/basics-gobject.test 1310s # Running test: glib/gdbus-introspection.test 1310s # private data during initialization: 54321 == 54321 1310s # MAIN: emit test-signal: 1310s # ::test_signal default_handler called 1310s # ::test_signal default_handler called 1310s # ::test_signal default_handler called 1310s # signal return: "" 1310s # MAIN: call iface print-string on test and derived object: 1310s # Iface-FOO: "iface-string-from-test-type" from 0xda965d0 1310s # Iface-BAR: "iface-string-from-derived-type" from 0xda964a8 1310s # chaining: 1310s # Iface-FOO: "iface-string-from-derived-type" from 0xda964a8 1310s # private data after initialization: 54321 == 54321 1310s ok 1 /gobject/basics 1310s # End of gobject tests 1310s TAP version 14 1310s # random seed: R02S57c445a379fd71265500834ce270eb03 1310s 1..4 1310s # Start of gdbus tests 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-parser/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-parser/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-parser/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-parser/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-parser/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-parser/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-parser/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-parser/.dirs/runtime 1310s ok 1 /gdbus/introspection-parser 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-generate/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-generate/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-generate/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-generate/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-generate/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-generate/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-generate/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-generate/.dirs/runtime 1310s ok 2 /gdbus/introspection-generate 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-default-direction/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-default-direction/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-default-direction/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-default-direction/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-default-direction/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-default-direction/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-default-direction/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-default-direction/.dirs/runtime 1310s ok 3 /gdbus/introspection-default-direction 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-extra-data/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-extra-data/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-extra-data/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-extra-data/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-extra-data/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-extra-data/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-extra-data/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_0A5RE3/gdbus/introspection-extra-data/.dirs/runtime 1310s ok 4 /gdbus/introspection-extra-data 1310s # End of gdbus tests 1310s ok - glib/gdbus-introspection.test 1310s # Running test: glib/portal-support-env-var.test 1310s ok - glib/portal-support-env-var.test 1310s # Running test: glib/power-profile-monitor.test 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s TAP version 14 1310s # random seed: R02Scc2409fe6822d4e8a3e312a84130da1e 1310s 1..1 1310s # Start of portal-support tests 1310s ok 1 /portal-support/env-var 1310s # End of portal-support tests 1310s TAP version 14 1310s # random seed: R02S0fe37c8b12a854502711772ffd125478 1310s 1..1 1310s # Start of power-profile-monitor tests 1310s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1310s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 1310s ok 1 /power-profile-monitor/default 1310s # End of power-profile-monitor tests 1310s ok - glib/power-profile-monitor.test 1310s # Running test: glib/dynamictype.test 1310s TAP version 14 1310s # random seed: R02S5dca0b547ceb5d1e3ed6c99cc964f3ba 1310s 1..2 1310s # Start of gobject tests 1310s ok 1 /gobject/dynamic-type 1310s # Start of dynamic-type tests 1310s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1310s ok 2 /gobject/dynamic-type/query 1310s # End of dynamic-type tests 1310s # End of gobject tests 1310s ok - glib/dynamictype.test 1310s # Running test: glib/threadtests.test 1310s TAP version 14 1310s # random seed: R02S2527c7574f8ef4d2637513ff874cd75e 1310s 1..5 1310s # Start of GObject tests 1310s ok 1 /GObject/threaded-object-init 1311s ok 2 /GObject/threaded-weak-ref 1311s # slow test /GObject/threaded-weak-ref executed in 0.83 secs 1311s ok 3 /GObject/threaded-toggle-notify # SKIP Not reliable on 32-bit ARM 1311s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1311s # Start of threaded-weak-ref tests 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1311s # /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. 1311s ok 5 /GObject/threaded-weak-ref/on-finalization 1311s # End of threaded-weak-ref tests 1311s # End of GObject tests 1311s ok - glib/threadtests.test 1311s # Running test: glib/gdbus-address-get-session.test 1311s TAP version 14 1311s # random seed: R02S6536bd909683a29e516c304b16233cd9 1311s 1..2 1311s # Start of gdbus tests 1311s ok 1 /gdbus/x11-autolaunch 1311s ok 2 /gdbus/xdg-runtime 1311s # End of gdbus tests 1311s ok - glib/gdbus-address-get-session.test 1311s # Running test: glib/string.test 1311s TAP version 14 1311s # random seed: R02Safef49021358e5f5259fd7179bdee770 1311s 1..25 1311s # Start of string tests 1311s ok 1 /string/chunks 1311s ok 2 /string/chunk-insert 1311s ok 3 /string/new 1311s ok 4 /string/printf 1311s ok 5 /string/assign 1311s ok 6 /string/append-c 1311s ok 7 /string/append 1311s ok 8 /string/append-vprintf 1311s ok 9 /string/prepend-c 1311s ok 10 /string/prepend 1311s ok 11 /string/insert 1311s ok 12 /string/insert-unichar 1311s ok 13 /string/equal 1311s ok 14 /string/truncate 1311s ok - glib/string.test 1311s # Running test: glib/atomic-c-89.test 1311s ok 15 /string/overwrite 1311s ok 16 /string/nul-handling 1311s ok 17 /string/up-down 1311s ok 18 /string/set-size 1311s ok 19 /string/to-bytes 1311s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1311s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1311s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1311s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1311s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1311s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1311s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1311s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1311s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1311s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1311s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1311s # -> 4 replacements, "fd fr fals" 1311s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1311s # -> 3 replacements, "aaaaaaaaa" 1311s # 7: Replacing "a" with "" (limit 0) in "aaa" 1311s # -> 3 replacements, "" 1311s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1311s # -> 1 replacements, "bba" 1311s # 9: Replacing "" with "bar" (limit 0) in "foo" 1311s # -> 4 replacements, "barfbarobarobar" 1311s # 10: Replacing "" with "bar" (limit 1) in "foo" 1311s # -> 1 replacements, "barfoo" 1311s # 11: Replacing "" with "bar" (limit 2) in "foo" 1311s # -> 2 replacements, "barfbaroo" 1311s # 12: Replacing "" with "bar" (limit 3) in "foo" 1311s # -> 3 replacements, "barfbarobaro" 1311s # 13: Replacing "" with "bar" (limit 4) in "foo" 1311s # -> 4 replacements, "barfbarobarobar" 1311s # 14: Replacing "" with "bar" (limit 5) in "foo" 1311s # -> 4 replacements, "barfbarobarobar" 1311s # 15: Replacing "" with "x" (limit 0) in "" 1311s # -> 1 replacements, "x" 1311s # 16: Replacing "" with "" (limit 0) in "" 1311s # -> 1 replacements, "" 1311s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 1311s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 1311s ok 20 /string/replace 1311s ok 21 /string/steal 1311s ok 22 /string/new-take 1311s ok 23 /string/copy 1311s ok 24 /string/sized-new 1311s # Start of new-take tests 1311s ok 25 /string/new-take/null 1311s # End of new-take tests 1311s # End of string tests 1311s TAP version 14 1311s # random seed: R02S5af61e391774ce81a8ac3e08f73d234c 1311s 1..2 1311s # Start of atomic tests 1311s ok 1 /atomic/types 1311s ok 2 /atomic/threaded 1311s # End of atomic tests 1311s ok - glib/atomic-c-89.test 1311s # Running test: glib/file-thumbnail.test 1311s TAP version 14 1311s # random seed: R02S1a7b5d0014ba2848cd0da180f39c808e 1311s 1..7 1311s # Start of file-thumbnail tests 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/fail/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/fail/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/fail/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/fail/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/fail/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/fail/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/fail/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/fail/.dirs/runtime 1311s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1311s # Created test thumbnail at /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1311s ok 1 /file-thumbnail/fail 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/runtime 1311s # Created test thumbnail at /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1311s # Created test thumbnail at /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1311s # Created test thumbnail at /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1311s # Created test thumbnail at /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1311s # Created test thumbnail at /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1311s ok 2 /file-thumbnail/size-priority 1311s # Start of valid tests 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/normal/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/normal/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/normal/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/normal/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/normal/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/normal/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/normal/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/normal/.dirs/runtime 1311s # Created test thumbnail at /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1311s ok 3 /file-thumbnail/valid/normal 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/large/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/large/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/large/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/large/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/large/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/large/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/large/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/large/.dirs/runtime 1311s # Created test thumbnail at /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1311s ok - glib/file-thumbnail.test 1311s # Running test: glib/notify-init.test 1311s ok - glib/notify-init.test 1311s # Running test: glib/spawn-path-search.test 1311s ok - glib/spawn-path-search.test 1311s ok 4 /file-thumbnail/valid/large 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/x-large/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/x-large/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/x-large/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/x-large/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/x-large/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/x-large/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/x-large/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/x-large/.dirs/runtime 1311s # Created test thumbnail at /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1311s ok 5 /file-thumbnail/valid/x-large 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/xx-large/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/xx-large/.dirs/cache 1311s # Running test: glib/callable-info.test 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/xx-large/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/xx-large/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/xx-large/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/xx-large/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/xx-large/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/xx-large/.dirs/runtime 1311s # Created test thumbnail at /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1311s ok 6 /file-thumbnail/valid/xx-large 1311s # End of valid tests 1311s # Start of unknown tests 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/unknown/super-large/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/unknown/super-large/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/unknown/super-large/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/unknown/super-large/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/unknown/super-large/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/unknown/super-large/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/unknown/super-large/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/unknown/super-large/.dirs/runtime 1311s # Created test thumbnail at /tmp/test_file-thumbnail_HZ4OE3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1311s ok 7 /file-thumbnail/unknown/super-large 1311s # End of unknown tests 1311s # End of file-thumbnail tests 1311s TAP version 14 1311s # random seed: R02Sb2af91b648a801bdba0a227b0c9dc51e 1311s 1..1 1311s # Start of properties tests 1311s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1311s ok 1 /properties/notify-in-init 1311s # End of properties tests 1311s TAP version 14 1311s # random seed: R02S8fa40b335efd4d3262105e7914d5db31 1311s 1..7 1311s # Start of spawn tests 1311s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1311s # 1311s # this is spawn-test-helper from glib/tests 1311s # 1311s ok 1 /spawn/do-not-search 1311s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1311s # 1311s # this is spawn-test-helper from path-test-subdir 1311s # 1311s ok 2 /spawn/search-path 1311s # /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. 1311s # 1311s # this is spawn-test-helper from path-test-subdir 1311s # 1311s ok 3 /spawn/search-path-from-envp 1311s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1311s # 1311s # this is spawn-test-helper from path-test-subdir 1311s # 1311s ok 4 /spawn/search-path-ambiguous 1311s # 1311s # this is spawn-test-helper from path-test-subdir 1311s # 1311s ok 5 /spawn/search-path-heap-allocation 1311s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1311s # 1311s # this is spawn-test-helper from glib/tests 1311s # 1311s ok 6 /spawn/search-path-fallback-in-environ 1311s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1311s # 1311s # this is spawn-test-helper from glib/tests 1311s # 1311s ok 7 /spawn/search-path-fallback-in-envp 1311s # End of spawn tests 1311s TAP version 14 1311s # random seed: R02S902d5f460ddfdce3f3edb819a04ba1be 1311s 1..6 1311s # Start of callable-info tests 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_LEYNE3/callable-info/sync-function/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_LEYNE3/callable-info/sync-function/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_LEYNE3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_LEYNE3/callable-info/sync-function/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_LEYNE3/callable-info/sync-function/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_LEYNE3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_LEYNE3/callable-info/sync-function/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_LEYNE3/callable-info/sync-function/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_LEYNE3/callable-info/sync-function/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_LEYNE3/callable-info/sync-function/.dirs/runtime 1311s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1311s ok 1 /callable-info/sync-function 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_LEYNE3/callable-info/async-function/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_LEYNE3/callable-info/async-function/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_LEYNE3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_LEYNE3/callable-info/async-function/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_LEYNE3/callable-info/async-function/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_LEYNE3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_LEYNE3/callable-info/async-function/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_LEYNE3/callable-info/async-function/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_LEYNE3/callable-info/async-function/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_LEYNE3/callable-info/async-function/.dirs/runtime 1311s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1311s ok 2 /callable-info/async-function 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_LEYNE3/callable-info/is-method/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_LEYNE3/callable-info/is-method/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_LEYNE3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_LEYNE3/callable-info/is-method/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_LEYNE3/callable-info/is-method/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_LEYNE3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_LEYNE3/callable-info/is-method/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_LEYNE3/callable-info/is-method/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_LEYNE3/callable-info/is-method/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_LEYNE3/callable-info/is-method/.dirs/runtime 1311s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1311s ok 3 /callable-info/is-method 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_LEYNE3/callable-info/static-method/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_LEYNE3/callable-info/static-method/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_LEYNE3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_LEYNE3/callable-info/static-method/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_LEYNE3/callable-info/static-method/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_LEYNE3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_LEYNE3/callable-info/static-method/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_LEYNE3/callable-info/static-method/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_LEYNE3/callable-info/static-method/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_LEYNE3/callable-info/static-method/.dirs/runtime 1311s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1311s ok 4 /callable-info/static-method 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_LEYNE3/callable-info/static-vfunc/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_LEYNE3/callable-info/static-vfunc/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_LEYNE3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_LEYNE3/callable-info/static-vfunc/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_LEYNE3/callable-info/static-vfunc/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_LEYNE3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_LEYNE3/callable-info/static-vfunc/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_LEYNE3/callable-info/static-vfunc/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_LEYNE3/callable-info/static-vfunc/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_LEYNE3/callable-info/static-vfunc/.dirs/runtime 1311s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 1311s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 1311s # Start of platform tests 1311s # Start of unix tests 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_LEYNE3/callable-info/platform/unix/is-method/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_LEYNE3/callable-info/platform/unix/is-method/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_LEYNE3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_LEYNE3/callable-info/platform/unix/is-method/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_LEYNE3/callable-info/platform/unix/is-method/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_LEYNE3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_LEYNE3/callable-info/platform/unix/is-method/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_LEYNE3/callable-info/platform/unix/is-method/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_LEYNE3/callable-info/platform/unix/is-method/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_LEYNE3/callable-info/platform/unix/is-method/.dirs/runtime 1311s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1311s # Checking DesktopAppInfo in Gio 1311s # Checking DesktopAppInfo in GioUnix 1311s ok 6 /callable-info/platform/unix/is-method 1311s # End of unix tests 1311s # End of platform tests 1311s # End of callable-info tests 1311s ok - glib/callable-info.test 1311s # Running test: glib/tls-database.test 1311s TAP version 14 1311s # random seed: R02S0e309f50639f1666cec3f47efd2aa5c1 1311s 1..1 1311s # Start of tls-backend tests 1311s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1311s ok 1 /tls-backend/set-default-database 1311s # End of tls-backend tests 1311s ok - glib/tls-database.test 1311s # Running test: glib/proxy-test.test 1311s TAP version 14 1311s # random seed: R02S3ccddafadc5197bd1fd5c4b44507aaa0 1311s 1..11 1311s # Start of proxy tests 1311s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 1311s ok 1 /proxy/direct_sync 1311s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x111198d8 and GSocketClientAsyncConnectData 0x11118288 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1311s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1111a640 for GSocketClientAsyncConnectData 0x11118288 1311s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1311s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1311s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1311s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1311s ok 2 /proxy/direct_async 1311s ok 3 /proxy/single_sync 1311s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1111a1b8 and GSocketClientAsyncConnectData 0x11118288 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1311s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1111b308 for GSocketClientAsyncConnectData 0x11118288 1311s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1311s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1311s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1311s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1311s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1311s ok 4 /proxy/single_async 1311s ok 5 /proxy/multiple_sync 1311s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1111a3c8 and GSocketClientAsyncConnectData 0x1111a4d8 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1311s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1111b308 for GSocketClientAsyncConnectData 0x1111a4d8 1311s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1311s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1311s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1311s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1311s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1111a488 for GSocketClientAsyncConnectData 0x1111a4d8 1311s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1311s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1311s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1311s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1311s ok - glib/proxy-test.test 1311s # Running test: glib/sort.test 1311s ok - glib/sort.test 1311s # Running test: glib/strvbuilder.test 1311s ok - glib/strvbuilder.test 1311s # Running test: glib/642026-ec.test 1311s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1311s ok 6 /proxy/multiple_async 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1311s ok 7 /proxy/invalid-uris-sync 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1311s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1111a120 and GSocketClientAsyncConnectData 0x1111a258 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1311s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1311s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1111a1b8 and GSocketClientAsyncConnectData 0x1111b530 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1311s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1311s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1111a120 and GSocketClientAsyncConnectData 0x1111a258 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1311s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1111b308 for GSocketClientAsyncConnectData 0x1111a258 1311s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1311s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1311s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1311s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1311s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1111a1b8 and GSocketClientAsyncConnectData 0x11118288 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1311s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1111b308 for GSocketClientAsyncConnectData 0x11118288 1311s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1311s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1311s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1311s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1311s ok 8 /proxy/invalid-uris-async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x111198d8 and GSocketClientAsyncConnectData 0x1111a448 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1311s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1311s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1311s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1111b7d0 and GSocketClientAsyncConnectData 0x1111a258 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1311s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1111b3d0 for GSocketClientAsyncConnectData 0x1111a258 1311s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1311s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1311s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1311s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1311s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1311s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1111a120 and GSocketClientAsyncConnectData 0x1111a448 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1311s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1111b3d0 for GSocketClientAsyncConnectData 0x1111a448 1311s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1311s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1311s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1311s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1311s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1311s ok 9 /proxy/dns 1311s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1111a120 and GSocketClientAsyncConnectData 0x1111a448 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1311s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1111b308 for GSocketClientAsyncConnectData 0x1111a448 1311s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1311s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1311s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1311s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1311s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1311s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1111b7d0 and GSocketClientAsyncConnectData 0x11118288 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1311s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1111b308 for GSocketClientAsyncConnectData 0x11118288 1311s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1311s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1311s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1311s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1311s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1311s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1311s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1111a120 and GSocketClientAsyncConnectData 0x11118288 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1311s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1111b308 for GSocketClientAsyncConnectData 0x11118288 1311s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1311s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1311s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1311s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1311s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1311s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1311s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1311s ok 10 /proxy/override 1311s ok 11 /proxy/enumerator-ports 1311s # End of proxy tests 1311s TAP version 14 1311s # random seed: R02S70940cc496123be7b65cdba16ec5aab3 1311s 1..5 1311s # Start of sort tests 1311s ok 1 /sort/basic 1311s ok 2 /sort/zero-elements 1311s ok 3 /sort/stable 1311s ok 4 /sort/big 1311s ok 5 /sort/deprecated 1311s # End of sort tests 1311s TAP version 14 1311s # random seed: R02S2d3c87a9f5b07a048aeed18d91a2d4f0 1311s 1..7 1311s # Start of strvbuilder tests 1311s ok 1 /strvbuilder/empty 1311s ok 2 /strvbuilder/add 1311s ok 3 /strvbuilder/addv 1311s ok 4 /strvbuilder/add_many 1311s ok 5 /strvbuilder/take 1311s ok 6 /strvbuilder/ref 1311s ok 7 /strvbuilder/unref_to_strv 1311s # End of strvbuilder tests 1311s TAP version 14 1311s # random seed: R02Sd3e0fbb61a1a76f47554383f7f8f1ced 1311s 1..1 1311s # Start of glib tests 1311s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1311s ok 1 /glib/642026 1311s # End of glib tests 1311s ok - glib/642026-ec.test 1311s # Running test: glib/objects-refcount1.test 1311s TAP version 14 1311s # random seed: R02S3d7f6fcff85d35513c6ae3f640116583 1311s 1..1 1311s # Start of gobject tests 1311s # Start of refcount tests 1311s # init 0xdc45ee8 1311s # 1311s # init 0xdc45fc8 1311s # 1313s # Executing: glib/objects-refcount1.test 1316s # dispose 0xdc45ee8! 1316s # 1316s # dispose 0xdc45fc8! 1316s # 1316s ok 1 /gobject/refcount/object-basics 1316s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1316s # End of refcount tests 1316s # End of gobject tests 1316s ok - glib/objects-refcount1.test 1316s # Running test: glib/qdata.test 1316s TAP version 14 1316s # random seed: R02Se5f6bc07f49c2310c34a0e0b1db08dc7 1316s 1..2 1316s # Start of qdata tests 1316s ok 1 /qdata/threaded 1316s ok 2 /qdata/dup 1316s # End of qdata tests 1316s TAP version 14 1316s # random seed: R02Sa00520c65bcf1ac3b4681b6af60527f9 1316s 1..14 1316s # Start of conversion tests 1316s ok 1 /conversion/no-conv 1316s ok 2 /conversion/iconv-state 1316s ok 3 /conversion/illegal-sequence 1316s ok 4 /conversion/byte-order 1316s ok 5 /conversion/unicode 1316s ok 6 /conversion/filename-utf8 1316s ok 7 /conversion/filename-display 1316s ok 8 /conversion/convert-embedded-nul 1316s # Start of locale-to-utf8 tests 1316s ok 9 /conversion/locale-to-utf8/embedded-nul 1316s # Start of embedded-nul tests 1316s # Start of subprocess tests 1316s # End of subprocess tests 1316s # End of embedded-nul tests 1316s # End of locale-to-utf8 tests 1316s # Start of locale-from-utf8 tests 1316s ok 10 /conversion/locale-from-utf8/embedded-nul 1316s # Start of embedded-nul tests 1316s # Start of subprocess tests 1316s # End of subprocess tests 1316s # End of embedded-nul tests 1316s # End of locale-from-utf8 tests 1316s # Start of filename-to-utf8 tests 1316s ok 11 /conversion/filename-to-utf8/embedded-nul 1316s # Start of embedded-nul tests 1316s # Start of subprocess tests 1316s # End of subprocess tests 1316s # End of embedded-nul tests 1316s # End of filename-to-utf8 tests 1316s # Start of filename-from-utf8 tests 1316s ok - glib/qdata.test 1316s # Running test: glib/convert.test 1317s ok - glib/convert.test 1317s # Running test: glib/converter-stream.test 1317s ok 12 /conversion/filename-from-utf8/embedded-nul 1317s # Start of embedded-nul tests 1317s # Start of subprocess tests 1317s # End of subprocess tests 1317s # End of embedded-nul tests 1317s # End of filename-from-utf8 tests 1317s # Start of filename-from-uri tests 1317s ok 13 /conversion/filename-from-uri/query-is-ignored 1317s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1317s # End of filename-from-uri tests 1317s # End of conversion tests 1317s TAP version 14 1317s # random seed: R02Sc66e0b3e19a2c168a3ab091678ec79c5 1317s 1..17 1317s # Start of converter tests 1317s ok 1 /converter/basics 1317s # End of converter tests 1317s # Start of converter-input-stream tests 1317s ok 2 /converter-input-stream/expander 1317s ok 3 /converter-input-stream/compressor 1317s # Start of truncation tests 1317s ok 4 /converter-input-stream/truncation/zlib 1317s ok 5 /converter-input-stream/truncation/gzip 1317s ok 6 /converter-input-stream/truncation/raw 1317s # End of truncation tests 1317s # Start of charset tests 1317s ok 7 /converter-input-stream/charset/utf8->latin1 1317s ok 8 /converter-input-stream/charset/latin1->utf8 1317s ok 9 /converter-input-stream/charset/fallbacks 1317s # End of charset tests 1317s # End of converter-input-stream tests 1317s # Start of converter-output-stream tests 1317s # Start of roundtrip tests 1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1317s ok 10 /converter-output-stream/roundtrip/zlib-0 1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1317s ok 11 /converter-output-stream/roundtrip/zlib-9 1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1317s ok 12 /converter-output-stream/roundtrip/gzip-0 1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1317s ok 13 /converter-output-stream/roundtrip/gzip-9 1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1317s ok 14 /converter-output-stream/roundtrip/raw-0 1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1318s ok 15 /converter-output-stream/roundtrip/raw-9 1318s # End of roundtrip tests 1318s # End of converter-output-stream tests 1318s # Start of converter-stream tests 1318s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1318s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5f428d8 and GSocketClientAsyncConnectData 0x5f45e28 1318s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1318s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1318s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5f4a8d8 for GSocketClientAsyncConnectData 0x5f45e28 1318s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1318s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1318s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1318s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1318s ok 16 /converter-stream/pollable 1318s ok 17 /converter-stream/leftover 1318s # End of converter-stream tests 1318s ok - glib/converter-stream.test 1318s # Running test: glib/onceinit.test 1318s TAP version 14 1318s # random seed: R02Sfc50cc7073bb7d3bae07fc83d486c82d 1318s 1..1 1318s # Start of thread tests 1318s ok 1 /thread/onceinit 1318s # End of thread tests 1318s TAP version 14 1318s # random seed: R02S1ec86a105522c1484557ce89f0fb7f01 1318s 1..9 1318s # Start of glib tests 1318s # Start of testing tests 1318s # Start of protocol tests 1318s ok 1 /glib/testing/protocol/debug 1318s ok 2 /glib/testing/protocol/info 1318s ok 3 /glib/testing/protocol/message 1318s ok 4 /glib/testing/protocol/warning 1318s ok 5 /glib/testing/protocol/critical 1318s ok 6 /glib/testing/protocol/error 1318s ok 7 /glib/testing/protocol/gtest-message 1318s ok 8 /glib/testing/protocol/test-message 1318s ok - glib/onceinit.test 1318s # Running test: glib/protocol.test 1318s ok 9 /glib/testing/protocol/test-error 1318s # End of protocol tests 1318s # End of testing tests 1318s # End of glib tests 1318s ok - glib/protocol.test 1318s # Running test: glib/portal-support-flatpak-full.test 1318s TAP version 14 1318s # random seed: R02S931c270506e3daa1371815ccc6960946 1318s 1..1 1318s # Start of portal-support tests 1318s # Start of flatpak tests 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_C0FIE3/portal-support/flatpak/full/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_C0FIE3/portal-support/flatpak/full/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_C0FIE3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_C0FIE3/portal-support/flatpak/full/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_C0FIE3/portal-support/flatpak/full/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_C0FIE3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_C0FIE3/portal-support/flatpak/full/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_C0FIE3/portal-support/flatpak/full/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_C0FIE3/portal-support/flatpak/full/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_C0FIE3/portal-support/flatpak/full/.dirs/runtime 1318s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_C0FIE3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1318s ok 1 /portal-support/flatpak/full 1318s # End of flatpak tests 1318s # End of portal-support tests 1318s ok - glib/portal-support-flatpak-full.test 1318s # Running test: glib/gdbus-proxy-well-known-name.test 1318s TAP version 14 1318s # random seed: R02Sc3af3e0e456aba55a0f67126f9a9b3df 1318s 1..1 1318s # Start of gdbus tests 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_749HE3/gdbus/proxy-well-known-name/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_749HE3/gdbus/proxy-well-known-name/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_749HE3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_749HE3/gdbus/proxy-well-known-name/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_749HE3/gdbus/proxy-well-known-name/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_749HE3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_749HE3/gdbus/proxy-well-known-name/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_749HE3/gdbus/proxy-well-known-name/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_749HE3/gdbus/proxy-well-known-name/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_749HE3/gdbus/proxy-well-known-name/.dirs/runtime 1318s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1318s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1318s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1318s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1318s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1318s ok 1 /gdbus/proxy-well-known-name 1318s # End of gdbus tests 1318s ok - glib/gdbus-proxy-well-known-name.test 1318s # Running test: glib/memory-settings-backend.test 1318s TAP version 14 1318s # random seed: R02Sbde9deccbe3867ae782cdde50dc67d1d 1318s 1..1 1318s # Start of memory-settings-backend tests 1318s ok 1 /memory-settings-backend/extension-point-registered 1318s # End of memory-settings-backend tests 1318s ok - glib/memory-settings-backend.test 1318s # Running test: glib/memory-monitor-portal.test 1318s # Executing: glib/memory-monitor-portal.test 1318s TAP version 13 1318s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1318s 1..1 1318s ok - glib/memory-monitor-portal.test 1318s # Running test: glib/refcount-macro.test 1318s TAP version 14 1318s # random seed: R02S22894adda4df10ef4a110d3d32c3fa09 1318s 1..4 1318s # Start of refcount tests 1318s ok 1 /refcount/grefcount 1318s ok 2 /refcount/gatomicrefcount 1318s # Start of grefcount tests 1318s ok - glib/refcount-macro.test 1318s ok 3 /refcount/grefcount/saturation 1318s # End of grefcount tests 1318s # Start of gatomicrefcount tests 1318s # Running test: glib/portal-support-flatpak-network-only.test 1318s ok 4 /refcount/gatomicrefcount/saturation 1318s # End of gatomicrefcount tests 1318s # End of refcount tests 1318s ok - glib/portal-support-flatpak-network-only.test 1318s TAP version 14 1318s # random seed: R02S0b8e3742bfea69669adb0cd0bdd803d4 1318s 1..1 1318s # Start of portal-support tests 1318s # Start of flatpak tests 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_QQVWE3/portal-support/flatpak/network/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_QQVWE3/portal-support/flatpak/network/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_QQVWE3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_QQVWE3/portal-support/flatpak/network/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_QQVWE3/portal-support/flatpak/network/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_QQVWE3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_QQVWE3/portal-support/flatpak/network/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_QQVWE3/portal-support/flatpak/network/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_QQVWE3/portal-support/flatpak/network/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_QQVWE3/portal-support/flatpak/network/.dirs/runtime 1318s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_QQVWE3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1318s ok 1 /portal-support/flatpak/network 1318s # End of flatpak tests 1318s # End of portal-support tests 1318s # Running test: glib/slice.test 1318s TAP version 14 1318s # random seed: R02Se7e519ad35805684bd0253493d6a224d 1318s 1..3 1318s # Start of slice tests 1318s ok 1 /slice/copy 1318s ok 2 /slice/chain 1319s ok 3 /slice/allocate 1319s # slow test /slice/allocate executed in 0.87 secs 1319s # End of slice tests 1319s TAP version 14 1319s # random seed: R02S92ca2e2d42ebe4626c0f6f9113535ded 1319s 1..2 1319s # Start of gdbus tests 1319s # Start of peer-object-manager tests 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/normal/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/normal/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/normal/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/normal/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/normal/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/normal/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/normal/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/normal/.dirs/runtime 1319s ok - glib/slice.test 1319s # Running test: glib/gdbus-peer-object-manager.test 1319s ok 1 /gdbus/peer-object-manager/normal 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/root/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/root/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/root/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/root/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/root/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/root/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/root/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_NUHNE3/gdbus/peer-object-manager/root/.dirs/runtime 1319s ok 2 /gdbus/peer-object-manager/root 1319s # End of peer-object-manager tests 1319s # End of gdbus tests 1319s ok - glib/gdbus-peer-object-manager.test 1319s # Running test: glib/gdbus-names.test 1319s TAP version 14 1319s # random seed: R02S78160414919376539aea8951ada80ca7 1319s 1..10 1319s # Start of gdbus tests 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_652ME3/gdbus/validate-names/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/validate-names/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_652ME3/gdbus/validate-names/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_652ME3/gdbus/validate-names/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_652ME3/gdbus/validate-names/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_652ME3/gdbus/validate-names/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/validate-names/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_652ME3/gdbus/validate-names/.dirs/runtime 1319s ok 1 /gdbus/validate-names 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-own-name/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-own-name/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_652ME3/gdbus/bus-own-name/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-own-name/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_652ME3/gdbus/bus-own-name/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-own-name/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-own-name/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_652ME3/gdbus/bus-own-name/.dirs/runtime 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s ok 2 /gdbus/bus-own-name 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name/.dirs/runtime 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s ok 3 /gdbus/bus-watch-name 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start/.dirs/runtime 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s ok 4 /gdbus/bus-watch-name-auto-start 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1319s dbus-daemon[38790]: [session uid=1000 pid=38790 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=38781 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1319s # Acquired a message bus connection 1319s dbus-daemon[38790]: [session uid=1000 pid=38790 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 1319s # Acquired the name org.gtk.GDBus.FakeService 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures/.dirs/runtime 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s ok 6 /gdbus/bus-watch-name-closures 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s ok 7 /gdbus/bus-watch-name-closures-auto-start 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-different-context/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-different-context/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_652ME3/gdbus/bus-watch-different-context/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-different-context/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_652ME3/gdbus/bus-watch-different-context/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-different-context/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-different-context/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_652ME3/gdbus/bus-watch-different-context/.dirs/runtime 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s ok 8 /gdbus/bus-watch-different-context 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-unwatch-early/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-unwatch-early/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_652ME3/gdbus/bus-unwatch-early/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-unwatch-early/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_652ME3/gdbus/bus-unwatch-early/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-unwatch-early/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/bus-unwatch-early/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_652ME3/gdbus/bus-unwatch-early/.dirs/runtime 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s ok 9 /gdbus/bus-unwatch-early 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_652ME3/gdbus/escape-object-path/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/escape-object-path/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_652ME3/gdbus/escape-object-path/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_652ME3/gdbus/escape-object-path/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_652ME3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_652ME3/gdbus/escape-object-path/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_652ME3/gdbus/escape-object-path/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_652ME3/gdbus/escape-object-path/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_652ME3/gdbus/escape-object-path/.dirs/runtime 1319s ok 10 /gdbus/escape-object-path 1319s # End of gdbus tests 1319s ok - glib/gdbus-names.test 1319s # Running test: glib/gdbus-auth.test 1319s TAP version 14 1319s # random seed: R02S9c0c6364c6f2d81d73977c820d92768e 1319s 1..5 1319s # Start of gdbus tests 1319s # Start of auth tests 1319s # Start of client tests 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/EXTERNAL/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/EXTERNAL/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/EXTERNAL/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/EXTERNAL/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/EXTERNAL/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/EXTERNAL/.dirs/runtime 1319s ok 1 /gdbus/auth/client/EXTERNAL 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1319s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1319s # End of client tests 1319s # Start of server tests 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/ANONYMOUS/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/ANONYMOUS/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/ANONYMOUS/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/ANONYMOUS/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/ANONYMOUS/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1319s ok 3 /gdbus/auth/server/ANONYMOUS 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/EXTERNAL/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/EXTERNAL/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/EXTERNAL/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/EXTERNAL/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/EXTERNAL/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/EXTERNAL/.dirs/runtime 1319s ok 4 /gdbus/auth/server/EXTERNAL 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3C9UE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1319s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1319s # End of server tests 1319s # End of auth tests 1319s # End of gdbus tests 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1319s ok - glib/gdbus-auth.test 1319s # Running test: glib/gdbus-error.test 1319s TAP version 14 1319s # random seed: R02S21ea9f474cd700151e6fb7244ba7a627 1319s 1..4 1319s # Start of gdbus tests 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/registered-errors/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/registered-errors/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_3BKUE3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_3BKUE3/gdbus/registered-errors/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/registered-errors/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_3BKUE3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_3BKUE3/gdbus/registered-errors/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/registered-errors/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/registered-errors/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_3BKUE3/gdbus/registered-errors/.dirs/runtime 1319s ok 1 /gdbus/registered-errors 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/unregistered-errors/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/unregistered-errors/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_3BKUE3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_3BKUE3/gdbus/unregistered-errors/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/unregistered-errors/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_3BKUE3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_3BKUE3/gdbus/unregistered-errors/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/unregistered-errors/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/unregistered-errors/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_3BKUE3/gdbus/unregistered-errors/.dirs/runtime 1319s ok 2 /gdbus/unregistered-errors 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/transparent-gerror/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/transparent-gerror/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_3BKUE3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_3BKUE3/gdbus/transparent-gerror/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/transparent-gerror/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_3BKUE3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_3BKUE3/gdbus/transparent-gerror/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/transparent-gerror/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/transparent-gerror/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_3BKUE3/gdbus/transparent-gerror/.dirs/runtime 1319s ok 3 /gdbus/transparent-gerror 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/register-error/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/register-error/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_3BKUE3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_3BKUE3/gdbus/register-error/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/register-error/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_3BKUE3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_3BKUE3/gdbus/register-error/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/register-error/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_3BKUE3/gdbus/register-error/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_3BKUE3/gdbus/register-error/.dirs/runtime 1319s ok 4 /gdbus/register-error 1319s # End of gdbus tests 1319s ok - glib/gdbus-error.test 1319s # Running test: glib/memory-monitor-dbus.test 1319s TAP version 13 1319s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1319s 1..1 1320s ok - glib/memory-monitor-dbus.test 1320s # Running test: glib/thumbnail-verification.test 1320s TAP version 14 1320s # random seed: R02S7c6401424d2e4a7fc363d8e95951f0e1 1320s 1..1 1320s # Start of png-thumbs tests 1320s ok 1 /png-thumbs/validity 1320s # End of png-thumbs tests 1320s ok - glib/thumbnail-verification.test 1320s # Running test: glib/pattern.test 1320s ok - glib/pattern.test 1320s TAP version 14 1320s # random seed: R02Sa0744fd1caca6c2af3a4d5d8478dc14a 1320s 1..90 1320s # Start of pattern tests 1320s # Start of compile tests 1320s ok 1 /pattern/compile/0 1320s ok 2 /pattern/compile/1 1320s ok 3 /pattern/compile/2 1320s ok 4 /pattern/compile/3 1320s ok 5 /pattern/compile/4 1320s ok 6 /pattern/compile/5 1320s ok 7 /pattern/compile/6 1320s ok 8 /pattern/compile/7 1320s ok 9 /pattern/compile/8 1320s ok 10 /pattern/compile/9 1320s ok 11 /pattern/compile/10 1320s ok 12 /pattern/compile/11 1320s ok 13 /pattern/compile/12 1320s ok 14 /pattern/compile/13 1320s # End of compile tests 1320s # Start of copy tests 1320s ok 15 /pattern/copy/0 1320s ok 16 /pattern/copy/1 1320s ok 17 /pattern/copy/2 1320s ok 18 /pattern/copy/3 1320s ok 19 /pattern/copy/4 1320s ok 20 /pattern/copy/5 1320s ok 21 /pattern/copy/6 1320s ok 22 /pattern/copy/7 1320s ok 23 /pattern/copy/8 1320s ok 24 /pattern/copy/9 1320s ok 25 /pattern/copy/10 1320s ok 26 /pattern/copy/11 1320s ok 27 /pattern/copy/12 1320s ok 28 /pattern/copy/13 1320s # End of copy tests 1320s # Start of match tests 1320s ok 29 /pattern/match/0 1320s ok 30 /pattern/match/1 1320s ok 31 /pattern/match/2 1320s ok 32 /pattern/match/3 1320s ok 33 /pattern/match/4 1320s ok 34 /pattern/match/5 1320s ok 35 /pattern/match/6 1320s ok 36 /pattern/match/7 1320s ok 37 /pattern/match/8 1320s ok 38 /pattern/match/9 1320s ok 39 /pattern/match/10 1320s ok 40 /pattern/match/11 1320s ok 41 /pattern/match/12 1320s ok 42 /pattern/match/13 1320s ok 43 /pattern/match/14 1320s ok 44 /pattern/match/15 1320s ok 45 /pattern/match/16 1320s ok 46 /pattern/match/17 1320s ok 47 /pattern/match/18 1320s ok 48 /pattern/match/19 1320s ok 49 /pattern/match/20 1320s ok 50 /pattern/match/21 1320s ok 51 /pattern/match/22 1320s ok 52 /pattern/match/23 1320s ok 53 /pattern/match/24 1320s ok 54 /pattern/match/25 1320s ok 55 /pattern/match/26 1320s ok 56 /pattern/match/27 1320s ok 57 /pattern/match/28 1320s ok 58 /pattern/match/29 1320s ok 59 /pattern/match/30 1320s ok 60 /pattern/match/31 1320s ok 61 /pattern/match/32 1320s ok 62 /pattern/match/33 1320s ok 63 /pattern/match/34 1320s ok 64 /pattern/match/35 1320s ok 65 /pattern/match/36 1320s ok 66 /pattern/match/37 1320s ok 67 /pattern/match/38 1320s ok 68 /pattern/match/39 1320s ok 69 /pattern/match/40 1320s ok 70 /pattern/match/41 1320s ok 71 /pattern/match/42 1320s ok 72 /pattern/match/43 1320s ok 73 /pattern/match/44 1320s ok 74 /pattern/match/45 1320s ok 75 /pattern/match/46 1320s ok 76 /pattern/match/47 1320s ok 77 /pattern/match/48 1320s ok 78 /pattern/match/49 1320s ok 79 /pattern/match/50 1320s # End of match tests 1320s # Start of equal tests 1320s ok 80 /pattern/equal/0 1320s ok 81 /pattern/equal/1 1320s ok 82 /pattern/equal/2 1320s ok 83 /pattern/equal/3 1320s ok 84 /pattern/equal/4 1320s ok 85 /pattern/equal/5 1320s ok 86 /pattern/equal/6 1320s ok 87 /pattern/equal/7 1320s ok 88 /pattern/equal/8 1320s ok 89 /pattern/equal/9 1320s ok 90 /pattern/equal/10 1320s # End of equal tests 1320s # End of pattern tests 1320s # Running test: glib/slist.test 1320s ok - glib/slist.test 1320s # Running test: glib/g-file-info.test 1320s TAP version 14 1320s # random seed: R02Sb7c78e55735a089691f39b802e087d34 1320s 1..14 1320s # Start of slist tests 1320s ok 1 /slist/sort 1320s ok 2 /slist/sort-with-data 1320s ok 3 /slist/insert-sorted 1320s ok 4 /slist/insert-sorted-with-data 1320s ok 5 /slist/reverse 1320s ok 6 /slist/nth 1320s ok 7 /slist/remove 1320s ok 8 /slist/remove-all 1320s ok 9 /slist/insert 1320s ok 10 /slist/position 1320s ok 11 /slist/concat 1320s ok 12 /slist/copy 1320s # Start of sort tests 1320s ok 13 /slist/sort/stable 1320s # End of sort tests 1320s # Start of copy tests 1320s ok 14 /slist/copy/deep 1320s # End of copy tests 1320s # End of slist tests 1320s TAP version 14 1320s # random seed: R02S2552eb784335fc62c8e4914bb121f788 1320s 1..6 1320s # Start of g-file-info tests 1320s ok 1 /g-file-info/test_g_file_info 1320s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1320s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1320s ok 2 /g-file-info/xattrs 1320s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1320s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1320s ok 3 /g-file-info/set-modified-date-time-precision 1320s # Start of test_g_file_info tests 1320s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1320s ok 4 /g-file-info/test_g_file_info/modification-time 1320s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1320s ok 5 /g-file-info/test_g_file_info/access-time 1320s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1320s ok 6 /g-file-info/test_g_file_info/creation-time 1320s # End of test_g_file_info tests 1320s # End of g-file-info tests 1320s ok - glib/g-file-info.test 1320s # Running test: glib/cancellable.test 1320s TAP version 14 1320s # random seed: R02Sd24d0c49fb81ba7e936b78a885e9668e 1320s 1..18 1320s # Start of cancellable tests 1320s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1320s ok 2 /cancellable/null 1320s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 1320s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1320s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1320s ok 4 /cancellable/connect-to-disposing-callback 1320s ok 5 /cancellable/connect-cancelled-data-is-destroyed 1320s # Toggle reference callback for GCancellable (0x6d03558), last: 1 1320s # Toggle reference callback for GCancellable (0x6d03558), last: 0 1320s # Toggle reference callback for GCancellable (0x6d03558), last: 1 1320s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 1320s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1320s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1320s ok 7 /cancellable/connect-cancelled-to-disposing-callback 1320s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 1320s # Toggle reference callback for GCancellable (0x6d03558), last: 1 1320s # Toggle reference callback for GCancellable (0x6d03558), last: 0 1320s # Toggle reference callback for GCancellable (0x6d03558), last: 1 1320s # Toggle reference callback for GCancellable (0x6d03558), last: 0 1320s # Toggle reference callback for GCancellable (0x6d03558), last: 1 1320s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 1320s # /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 1320s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 1320s # /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 1320s ok 11 /cancellable/resets-on-cancel-callback-hangs 1320s ok 12 /cancellable/poll-fd 1320s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1320s ok 13 /cancellable/poll-fd-cancelled 1320s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1320s ok 14 /cancellable/poll-fd-cancelled-threaded 1320s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1320s ok 15 /cancellable/cancel-reset-races 1320s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1320s ok 16 /cancellable/cancel-reset-connect-races 1320s # End of cancellable tests 1320s # Start of cancellable-source tests 1320s # /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) 1320s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1321s ok 17 /cancellable-source/threaded-dispose 1321s # slow test /cancellable-source/threaded-dispose executed in 0.93 secs 1321s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 1321s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 1321s ok 18 /cancellable-source/can-be-fired-multiple-times 1321s # End of cancellable-source tests 1321s ok - glib/cancellable.test 1321s # Running test: glib/simple-async-result.test 1321s TAP version 14 1321s # random seed: R02S1fa7d41ea042639cdaa04e1bbe3d4a2c 1321s 1..2 1321s # Start of gio tests 1321s # Start of simple-async-result tests 1321s ok 1 /gio/simple-async-result/test 1321s # GLib-GIO-DEBUG: GTask 0x34abdd0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1321s ok 2 /gio/simple-async-result/valid 1321s # End of simple-async-result tests 1321s # End of gio tests 1321s ok - glib/simple-async-result.test 1321s # Running test: glib/reference.test 1321s TAP version 14 1321s # random seed: R02S57443badbc23c57d26cc75b3f66e32f1 1321s 1..29 1321s # Start of type tests 1321s ok 1 /type/fundamentals 1321s ok 2 /type/qdata 1321s ok 3 /type/query 1321s ok 4 /type/class-private 1321s # End of type tests 1321s # Start of object tests 1321s ok 5 /object/clear 1321s ok 6 /object/clear-function 1321s ok 7 /object/set 1321s ok 8 /object/set-function 1321s ok 9 /object/value 1321s ok 10 /object/initially-unowned 1321s ok 11 /object/weak-pointer 1321s ok 12 /object/weak-ref 1321s ok 13 /object/toggle-ref 1321s ok 14 /object/qdata 1321s ok 15 /object/qdata2 1321s # Start of set tests 1321s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 1321s ok 16 /object/set/derived-type 1321s # End of set tests 1321s # Start of weak-pointer tests 1321s ok 17 /object/weak-pointer/clear 1321s ok 18 /object/weak-pointer/clear-function 1321s ok 19 /object/weak-pointer/set 1321s ok 20 /object/weak-pointer/set-function 1321s # End of weak-pointer tests 1321s # Start of weak-ref tests 1321s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1321s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1321s ok 21 /object/weak-ref/on-dispose 1321s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1321s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1321s ok 22 /object/weak-ref/on-run-dispose 1321s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1321s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1321s ok 23 /object/weak-ref/on-toggle-notify 1321s ok 24 /object/weak-ref/in-toggle-notify 1321s ok - glib/reference.test 1321s # Running test: glib/environment.test 1321s ok - glib/environment.test 1321s # Running test: glib/portal-support-flatpak-gsettings-only.test 1321s ok - glib/portal-support-flatpak-gsettings-only.test 1321s ok 25 /object/weak-ref/many 1321s # Start of concurrent tests 1321s ok 26 /object/weak-ref/concurrent/0 1321s ok 27 /object/weak-ref/concurrent/1 1321s # End of concurrent tests 1321s # End of weak-ref tests 1321s # Start of toggle-ref tests 1321s ok 28 /object/toggle-ref/ref-on-dispose 1321s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1321s # End of toggle-ref tests 1321s # End of object tests 1321s TAP version 14 1321s # random seed: R02Sc1d06628ac6b608861b1e19d1c6154c3 1321s 1..7 1321s # Start of environ tests 1321s # /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. 1321s ok 1 /environ/listenv 1321s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1321s ok 2 /environ/getenv 1321s ok 3 /environ/setenv 1321s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1321s ok 4 /environ/array 1321s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1321s ok 5 /environ/null 1321s # /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. 1321s ok 6 /environ/case 1321s # /environ/expansion summary: Test expansion of environment variable references. 1321s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 1321s # End of environ tests 1321s TAP version 14 1321s # random seed: R02Sfe5207829f42f0c380edc42b8a51e664 1321s 1..1 1321s # Start of portal-support tests 1321s # Start of flatpak tests 1321s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_4A0OE3/portal-support/flatpak/gsettings/.dirs/home 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4A0OE3/portal-support/flatpak/gsettings/.dirs/cache 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_4A0OE3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_4A0OE3/portal-support/flatpak/gsettings/.dirs/system-config2 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4A0OE3/portal-support/flatpak/gsettings/.dirs/config 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_4A0OE3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_4A0OE3/portal-support/flatpak/gsettings/.dirs/system-data2 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4A0OE3/portal-support/flatpak/gsettings/.dirs/data 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4A0OE3/portal-support/flatpak/gsettings/.dirs/state 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_4A0OE3/portal-support/flatpak/gsettings/.dirs/runtime 1321s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_4A0OE3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1321s ok 1 /portal-support/flatpak/gsettings 1321s # End of flatpak tests 1321s # End of portal-support tests 1321s # Running test: glib/node.test 1321s TAP version 14 1321s # random seed: R02S382aee6509d861c2ec9ec10feb34df29 1321s 1..6 1321s # Start of node tests 1321s ok - glib/node.test 1321s # Running test: glib/markup-subparser.test 1321s ok 1 /node/allocation 1321s ok 2 /node/construction 1321s ok 3 /node/traversal 1321s ok 4 /node/misc 1321s ok 5 /node/unlink 1321s ok 6 /node/copy 1321s # End of node tests 1321s TAP version 14 1321s # random seed: R02S0f510efdb11f3f114fe2c9b52cb5acbc 1321s 1..14 1321s # Start of glib tests 1321s # Start of markup tests 1321s # Start of subparser tests 1321s # Start of success tests 1321s ok - glib/markup-subparser.test 1321s ok 1 /glib/markup/subparser/success/0 1321s ok 2 /glib/markup/subparser/success/1 1321s ok 3 /glib/markup/subparser/success/2 1321s ok 4 /glib/markup/subparser/success/3 1321s ok 5 /glib/markup/subparser/success/4 1321s ok 6 /glib/markup/subparser/success/5 1321s ok 7 /glib/markup/subparser/success/6 1321s # End of success tests 1321s # Start of failure tests 1321s ok 8 /glib/markup/subparser/failure/0 1321s ok 9 /glib/markup/subparser/failure/1 1321s ok 10 /glib/markup/subparser/failure/2 1321s ok 11 /glib/markup/subparser/failure/3 1321s ok 12 /glib/markup/subparser/failure/4 1321s ok 13 /glib/markup/subparser/failure/5 1321s ok 14 /glib/markup/subparser/failure/6 1321s # End of failure tests 1321s # End of subparser tests 1321s # End of markup tests 1321s # End of glib tests 1321s # Running test: glib/genmarshal.py.test 1321s TAP version 13 1321s ok 1 __main__.TestGenmarshal.test_empty_list 1321s # glib-genmarshal: /usr/bin/glib-genmarshal 1321s # tmpdir: /tmp/tmpp_3zxut2 1321s # /tmp/tmpp_3zxut2/tmpydgd9tgw.list: 1321s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpp_3zxut2/tmpydgd9tgw.list', '--header', '--quiet'] 1321s # Return code: 0 1321s # Output: 1321s # /* 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. */ 1321s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1321s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1321s # 1321s # #include 1321s # 1321s # G_BEGIN_DECLS 1321s # 1321s # 1321s # G_END_DECLS 1321s # 1321s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1321s # Error: 1321s # 1321s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpp_3zxut2/tmpydgd9tgw.list', '--body', '--quiet'] 1321s # Return code: 0 1321s # Output: 1321s # /* 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. */ 1321s # #include 1321s # 1321s # #ifdef G_ENABLE_DEBUG 1321s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1321s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1321s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1321s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1321s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1321s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1321s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1321s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1321s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1321s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1321s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1321s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1321s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1321s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1321s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1321s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1321s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1321s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1321s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1321s # #else /* !G_ENABLE_DEBUG */ 1321s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1321s # * Do not access GValues directly in your code. Instead, use the 1321s # * g_value_get_*() functions 1321s # */ 1321s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1321s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1321s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1321s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1321s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1321s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1321s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1321s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1321s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1321s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1321s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1321s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1321s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1321s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1321s # #endif /* !G_ENABLE_DEBUG */ 1321s # Error: 1321s ok 2 __main__.TestGenmarshal.test_help 1321s # glib-genmarshal: /usr/bin/glib-genmarshal 1321s # tmpdir: /tmp/tmpvcx4v01o 1321s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1321s # Return code: 0 1321s # Output: 1321s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1321s # [--internal] [--valist-marshallers] [-v] 1321s # [--g-fatal-warnings] [--include-header [HEADER]] 1321s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1321s # [--prototypes] [--header] [--body] [--stdinc | 1321s # --nostdinc] [--quiet | --verbose] 1321s # [FILE ...] 1321s # 1321s # Generate signal marshallers for GObject 1321s # 1321s # positional arguments: 1321s # FILE Files with lists of marshallers to generate, or "-" 1321s # for standard input 1321s # 1321s # options: 1321s # -h, --help show this help message and exit 1321s # --prefix STRING Specify marshaller prefix 1321s # --output FILE Write output into the specified file 1321s # --skip-source Skip source location comments 1321s # --internal Mark generated functions as internal 1321s # --valist-marshallers Generate va_list marshallers 1321s # -v, --version Print version information, and exit 1321s # --g-fatal-warnings Make warnings fatal 1321s # --include-header [HEADER] 1321s # Include the specified header in the body 1321s # --pragma-once Use "pragma once" as the inclusion guard 1321s # -D CPP_DEFINES Pre-processor define 1321s # -U CPP_UNDEFINES Pre-processor undefine 1321s # --prototypes Generate the marshallers prototype in the C code 1321s # --header Generate C headers 1321s # --body Generate C code 1321s # --stdinc Include standard marshallers 1321s # --nostdinc Use standard marshallers 1321s # --quiet Only print warnings and errors 1321s # --verbose Be verbose, and include debugging information 1321s # Error: 1321s ok 3 __main__.TestGenmarshal.test_no_args 1321s # glib-genmarshal: /usr/bin/glib-genmarshal 1321s # tmpdir: /tmp/tmp96rqpkjw 1321s # Running: ['/usr/bin/glib-genmarshal'] 1321s # Return code: 0 1321s # Output: 1321s # 1321s # Error: 1321s ok 4 __main__.TestGenmarshal.test_void_boolean 1321s # glib-genmarshal: /usr/bin/glib-genmarshal 1321s # tmpdir: /tmp/tmph58rfxsm 1321s # /tmp/tmph58rfxsm/tmpk6z5dt7s.list: VOID:BOOLEAN 1321s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph58rfxsm/tmpk6z5dt7s.list', '--header', '--quiet'] 1321s # Return code: 0 1321s # Output: 1321s # /* 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. */ 1321s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1321s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1321s # 1321s # #include 1321s # 1321s # G_BEGIN_DECLS 1321s # 1321s # /* VOID:BOOLEAN (/tmp/tmph58rfxsm/tmpk6z5dt7s.list:1) */ 1321s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1321s # 1321s # 1321s # G_END_DECLS 1321s # 1321s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1321s # Error: 1321s # 1321s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph58rfxsm/tmpk6z5dt7s.list', '--body', '--quiet'] 1321s # Return code: 0 1321s # Output: 1321s # /* 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. */ 1321s # #include 1321s # 1321s # #ifdef G_ENABLE_DEBUG 1321s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1321s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1321s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1321s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1321s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1321s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1321s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1321s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1321s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1321s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1321s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1321s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1321s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1321s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1321s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1321s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1321s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1321s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1321s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1321s # #else /* !G_ENABLE_DEBUG */ 1321s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1321s # * Do not access GValues directly in your code. Instead, use the 1321s # * g_value_get_*() functions 1321s # */ 1321s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1321s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1321s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1321s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1321s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1321s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1321s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1321s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1321s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1321s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1321s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1321s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1321s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1321s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1321s # #endif /* !G_ENABLE_DEBUG */ 1321s # Error: 1321s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1321s # glib-genmarshal: /usr/bin/glib-genmarshal 1321s # tmpdir: /tmp/tmp2xkwn7oe 1321s # /tmp/tmp2xkwn7oe/tmpeqy08zam.list: VOID:BOOLEAN,INT64 1321s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2xkwn7oe/tmpeqy08zam.list', '--header', '--quiet'] 1321s # Return code: 0 1321s # Output: 1321s # /* 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. */ 1321s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1321s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1321s # 1321s # #include 1321s # 1321s # G_BEGIN_DECLS 1321s # 1321s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2xkwn7oe/tmpeqy08zam.list:1) */ 1321s # extern 1321s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1321s # GValue *return_value, 1321s # guint n_param_values, 1321s # const GValue *param_values, 1321s # gpointer invocation_hint, 1321s # gpointer marshal_data); 1321s # 1321s # 1321s # G_END_DECLS 1321s # 1321s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1321s # Error: 1321s # 1321s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2xkwn7oe/tmpeqy08zam.list', '--body', '--quiet'] 1321s # Return code: 0 1321s # Output: 1321s # /* 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. */ 1321s # #include 1321s # 1321s # #ifdef G_ENABLE_DEBUG 1321s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1321s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1321s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1321s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1321s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1321s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1321s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1321s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1321s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1321s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1321s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1321s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1321s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1321s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1321s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1321s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1321s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1321s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1321s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1321s # #else /* !G_ENABLE_DEBUG */ 1321s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1321s # * Do not access GValues directly in your code. Instead, use the 1321s # * g_value_get_*() functions 1321s # */ 1321s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1321s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1321s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1321s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1321s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1321s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1321s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1321s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1321s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1321s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1321s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1321s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1321s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1321s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1321s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1321s # #endif /* !G_ENABLE_DEBUG */ 1321s # 1321s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2xkwn7oe/tmpeqy08zam.list:1) */ 1321s # void 1321s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1321s # GValue *return_value G_GNUC_UNUSED, 1321s # guint n_param_values, 1321s # const GValue *param_values, 1321s # gpointer invocation_hint G_GNUC_UNUSED, 1321s # gpointer marshal_data) 1321s # { 1321s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1321s # gboolean arg1, 1321s # gint64 arg2, 1321s # gpointer data2); 1321s # GCClosure *cc = (GCClosure *) closure; 1321s # gpointer data1, data2; 1321s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1321s # 1321s # g_return_if_fail (n_param_values == 3); 1321s # 1321s # if (G_CCLOSURE_SWAP_DATA (closure)) 1321s # { 1321s # data1 = closure->data; 1321s # data2 = g_value_peek_pointer (param_values + 0); 1321s # } 1321s # else 1321s # { 1321s # data1 = g_value_peek_pointer (param_values + 0); 1321s # data2 = closure->data; 1321s # } 1321s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1321s # 1321s # callback (data1, 1321s # g_marshal_value_peek_boolean (param_values + 1), 1321s # g_marshal_value_peek_int64 (param_values + 2), 1321s # data2); 1321s # } 1321s # Error: 1322s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1322s # glib-genmarshal: /usr/bin/glib-genmarshal 1322s # tmpdir: /tmp/tmp2pthy_j0 1322s # /tmp/tmp2pthy_j0/tmpatuf3x66.list: VOID:PARAM 1322s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2pthy_j0/tmpatuf3x66.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1322s # Return code: 0 1322s # Output: 1322s # /* 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. */ 1322s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1322s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1322s # 1322s # G_BEGIN_DECLS 1322s # 1322s # /* VOID:PARAM (/tmp/tmp2pthy_j0/tmpatuf3x66.list:1) */ 1322s # extern 1322s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1322s # GValue *return_value, 1322s # guint n_param_values, 1322s # const GValue *param_values, 1322s # gpointer invocation_hint, 1322s # gpointer marshal_data); 1322s # extern 1322s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1322s # GValue *return_value, 1322s # gpointer instance, 1322s # va_list args, 1322s # gpointer marshal_data, 1322s # int n_params, 1322s # GType *param_types); 1322s # 1322s # 1322s # G_END_DECLS 1322s # 1322s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1322s # Error: 1322s # 1322s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2pthy_j0/tmpatuf3x66.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1322s # Return code: 0 1322s # Output: 1322s # /* 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. */ 1322s # #ifdef G_ENABLE_DEBUG 1322s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1322s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1322s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1322s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1322s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1322s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1322s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1322s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1322s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1322s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1322s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1322s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1322s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1322s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1322s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1322s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1322s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1322s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1322s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1322s # #else /* !G_ENABLE_DEBUG */ 1322s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1322s # * Do not access GValues directly in your code. Instead, use the 1322s # * g_value_get_*() functions 1322s # */ 1322s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1322s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1322s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1322s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1322s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1322s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1322s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1322s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1322s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1322s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1322s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1322s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1322s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1322s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1322s # #endif /* !G_ENABLE_DEBUG */ 1322s # 1322s # /* VOID:PARAM (/tmp/tmp2pthy_j0/tmpatuf3x66.list:1) */ 1322s # void 1322s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1322s # GValue *return_value G_GNUC_UNUSED, 1322s # guint n_param_values, 1322s # const GValue *param_values, 1322s # gpointer invocation_hint G_GNUC_UNUSED, 1322s # gpointer marshal_data) 1322s # { 1322s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1322s # gpointer arg1, 1322s # gpointer data2); 1322s # GCClosure *cc = (GCClosure *) closure; 1322s # gpointer data1, data2; 1322s # GMarshalFunc_VOID__PARAM callback; 1322s # 1322s # g_return_if_fail (n_param_values == 2); 1322s # 1322s # if (G_CCLOSURE_SWAP_DATA (closure)) 1322s # { 1322s # data1 = closure->data; 1322s # data2 = g_value_peek_pointer (param_values + 0); 1322s # } 1322s # else 1322s # { 1322s # data1 = g_value_peek_pointer (param_values + 0); 1322s # data2 = closure->data; 1322s # } 1322s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1322s # 1322s # callback (data1, 1322s # g_marshal_value_peek_param (param_values + 1), 1322s # data2); 1322s # } 1322s # 1322s # void 1322s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1322s # GValue *return_value G_GNUC_UNUSED, 1322s # gpointer instance, 1322s # va_list args, 1322s # gpointer marshal_data, 1322s # int n_params, 1322s # GType *param_types) 1322s # { 1322s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1322s # gpointer arg1, 1322s # gpointer data2); 1322s # GCClosure *cc = (GCClosure *) closure; 1322s # gpointer data1, data2; 1322s # GMarshalFunc_VOID__PARAM callback; 1322s # gpointer arg0; 1322s # va_list args_copy; 1322s # 1322s # va_copy (args_copy, args); 1322s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1322s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1322s # arg0 = g_param_spec_ref (arg0); 1322s # va_end (args_copy); 1322s # 1322s # 1322s # if (G_CCLOSURE_SWAP_DATA (closure)) 1322s # { 1322s # data1 = closure->data; 1322s # data2 = instance; 1322s # } 1322s # else 1322s # { 1322s # data1 = instance; 1322s # data2 = closure->data; 1322s # } 1322s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1322s # 1322s # callback (data1, 1322s # arg0, 1322s # data2); 1322s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1322s # g_param_spec_unref (arg0); 1322s # } 1322s # Error: 1322s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1322s # glib-genmarshal: /usr/bin/glib-genmarshal 1322s # tmpdir: /tmp/tmpcy_g40e5 1322s # /tmp/tmpcy_g40e5/tmpi20yniyy.list: VOID:STRING 1322s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcy_g40e5/tmpi20yniyy.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1322s # Return code: 0 1322s # Output: 1322s # /* 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. */ 1322s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1322s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1322s # 1322s # G_BEGIN_DECLS 1322s # 1322s # /* VOID:STRING (/tmp/tmpcy_g40e5/tmpi20yniyy.list:1) */ 1322s # extern 1322s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1322s # GValue *return_value, 1322s # guint n_param_values, 1322s # const GValue *param_values, 1322s # gpointer invocation_hint, 1322s # gpointer marshal_data); 1322s # extern 1322s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1322s # GValue *return_value, 1322s # gpointer instance, 1322s # va_list args, 1322s # gpointer marshal_data, 1322s # int n_params, 1322s # GType *param_types); 1322s # 1322s # 1322s # G_END_DECLS 1322s # 1322s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1322s # Error: 1322s # 1322s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcy_g40e5/tmpi20yniyy.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1322s # Return code: 0 1322s # Output: 1322s # /* 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. */ 1322s # #ifdef G_ENABLE_DEBUG 1322s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1322s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1322s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1322s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1322s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1322s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1322s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1322s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1322s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1322s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1322s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1322s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1322s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1322s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1322s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1322s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1322s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1322s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1322s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1322s # #else /* !G_ENABLE_DEBUG */ 1322s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1322s # * Do not access GValues directly in your code. Instead, use the 1322s # * g_value_get_*() functions 1322s # */ 1322s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1322s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1322s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1322s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1322s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1322s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1322s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1322s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1322s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1322s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1322s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1322s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1322s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1322s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1322s # #endif /* !G_ENABLE_DEBUG */ 1322s # 1322s # /* VOID:STRING (/tmp/tmpcy_g40e5/tmpi20yniyy.list:1) */ 1322s # void 1322s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1322s # GValue *return_value G_GNUC_UNUSED, 1322s # guint n_param_values, 1322s # const GValue *param_values, 1322s # gpointer invocation_hint G_GNUC_UNUSED, 1322s # gpointer marshal_data) 1322s # { 1322s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1322s # gpointer arg1, 1322s # gpointer data2); 1322s # GCClosure *cc = (GCClosure *) closure; 1322s # gpointer data1, data2; 1322s # GMarshalFunc_VOID__STRING callback; 1322s # 1322s # g_return_if_fail (n_param_values == 2); 1322s # 1322s # if (G_CCLOSURE_SWAP_DATA (closure)) 1322s # { 1322s # data1 = closure->data; 1322s # data2 = g_value_peek_pointer (param_values + 0); 1322s # } 1322s # else 1322s # { 1322s # data1 = g_value_peek_pointer (param_values + 0); 1322s # data2 = closure->data; 1322s # } 1322s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1322s # 1322s # callback (data1, 1322s # g_marshal_value_peek_string (param_values + 1), 1322s # data2); 1322s # } 1322s # 1322s # void 1322s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1322s # GValue *return_value G_GNUC_UNUSED, 1322s # gpointer instance, 1322s # va_list args, 1322s # gpointer marshal_data, 1322s # int n_params, 1322s # GType *param_types) 1322s # { 1322s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1322s # gpointer arg1, 1322s # gpointer data2); 1322s # GCClosure *cc = (GCClosure *) closure; 1322s # gpointer data1, data2; 1322s # GMarshalFunc_VOID__STRING callback; 1322s # gpointer arg0; 1322s # va_list args_copy; 1322s # 1322s # va_copy (args_copy, args); 1322s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1322s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1322s # arg0 = g_strdup (arg0); 1322s # va_end (args_copy); 1322s # 1322s # 1322s # if (G_CCLOSURE_SWAP_DATA (closure)) 1322s # { 1322s # data1 = closure->data; 1322s # data2 = instance; 1322s # } 1322s # else 1322s # { 1322s # data1 = instance; 1322s # data2 = closure->data; 1322s # } 1322s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1322s # 1322s # callback (data1, 1322s # arg0, 1322s # data2); 1322s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1322s # g_free (arg0); 1322s # } 1322s # Error: 1322s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1322s # glib-genmarshal: /usr/bin/glib-genmarshal 1322s # tmpdir: /tmp/tmpiq0n_w90 1322s # /tmp/tmpiq0n_w90/tmp8q61f_tz.list: VOID:VARIANT 1322s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpiq0n_w90/tmp8q61f_tz.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1322s # Return code: 0 1322s # Output: 1322s # /* 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. */ 1322s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1322s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1322s # 1322s # G_BEGIN_DECLS 1322s # 1322s # /* VOID:VARIANT (/tmp/tmpiq0n_w90/tmp8q61f_tz.list:1) */ 1322s # extern 1322s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1322s # GValue *return_value, 1322s # guint n_param_values, 1322s # const GValue *param_values, 1322s # gpointer invocation_hint, 1322s # gpointer marshal_data); 1322s # extern 1322s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1322s # GValue *return_value, 1322s # gpointer instance, 1322s # va_list args, 1322s # gpointer marshal_data, 1322s # int n_params, 1322s # GType *param_types); 1322s # 1322s # 1322s # G_END_DECLS 1322s # 1322s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1322s # Error: 1322s # 1322s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpiq0n_w90/tmp8q61f_tz.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1322s # Return code: 0 1322s # Output: 1322s # /* 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. */ 1322s # #ifdef G_ENABLE_DEBUG 1322s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1322s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1322s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1322s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1322s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1322s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1322s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1322s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1322s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1322s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1322s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1322s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1322s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1322s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1322s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1322s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1322s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1322s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1322s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1322s # #else /* !G_ENABLE_DEBUG */ 1322s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1322s # * Do not access GValues directly in your code. Instead, use the 1322s # * g_value_get_*() functions 1322s # */ 1322s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1322s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1322s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1322s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1322s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1322s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1322s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1322s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1322s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1322s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1322s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1322s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1322s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1322s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1322s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1322s # #endif /* !G_ENABLE_DEBUG */ 1322s # 1322s # /* VOID:VARIANT (/tmp/tmpiq0n_w90/tmp8q61f_tz.list:1) */ 1322s # void 1322s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1322s # GValue *return_value G_GNUC_UNUSED, 1322s # guint n_param_values, 1322s # const GValue *param_values, 1322s # gpointer invocation_hint G_GNUC_UNUSED, 1322s # gpointer marshal_data) 1322s # { 1322s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1322s # gpointer arg1, 1322s # gpointer data2); 1322s # GCClosure *cc = (GCClosure *) closure; 1322s # gpointer data1, data2; 1322s # GMarshalFunc_VOID__VARIANT callback; 1322s # 1322s # g_return_if_fail (n_param_values == 2); 1322s # 1322s # if (G_CCLOSURE_SWAP_DATA (closure)) 1322s # { 1322s # data1 = closure->data; 1322s # data2 = g_value_peek_pointer (param_values + 0); 1322s # } 1322s # else 1322s # { 1322s # data1 = g_value_peek_pointer (param_values + 0); 1322s # data2 = closure->data; 1322s # } 1322s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1322s # 1322s # callback (data1, 1322s # g_marshal_value_peek_variant (param_values + 1), 1322s # data2); 1322s # } 1322s # 1322s # void 1322s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1322s # GValue *return_value G_GNUC_UNUSED, 1322s # gpointer instance, 1322s # va_list args, 1322s # gpointer marshal_data, 1322s # int n_params, 1322s # GType *param_types) 1322s # { 1322s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1322s # gpointer arg1, 1322s # gpointer data2); 1322s # GCClosure *cc = (GCClosure *) closure; 1322s # gpointer data1, data2; 1322s # GMarshalFunc_VOID__VARIANT callback; 1322s # gpointer arg0; 1322s # va_list args_copy; 1322s # 1322s # va_copy (args_copy, args); 1322s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1322s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1322s # arg0 = g_variant_ref_sink (arg0); 1322s # va_end (args_copy); 1322s # 1322s # 1322s # if (G_CCLOSURE_SWAP_DATA (closure)) 1322s # { 1322s # data1 = closure->data; 1322s # data2 = instance; 1322s # } 1322s # else 1322s # { 1322s # data1 = instance; 1322s # data2 = closure->data; 1322s # } 1322s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1322s # 1322s # callback (data1, 1322s # arg0, 1322s # data2); 1322s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1322s # g_variant_unref (arg0); 1322s # } 1322s # Error: 1322s 1..8 1322s ok - glib/genmarshal.py.test 1322s # Running test: glib/gnotification.test 1322s TAP version 14 1322s # random seed: R02Sb310b5c04e2c5c03c1f5c7fae8569dea 1322s 1..2 1322s # Start of gnotification tests 1322s ok 1 /gnotification/basic 1322s ok 2 /gnotification/properties 1322s # End of gnotification tests 1322s ok - glib/gnotification.test 1322s # Running test: glib/messages-low-memory.py.test 1322s TAP version 13 1322s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1322s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1322s # tmpdir: /tmp/tmpueoyyke4 1322s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 1322s # Return code: -6 1322s # Output: 1322s # 1322s # Error: 1322s # GLib-Message: 19:47:34.314: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1322s # GLib-Message: 19:47:34.314: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1322s # ../../../glib/gprintf.c:351: failed to allocate memory 1322s 1..1 1322s ok - glib/messages-low-memory.py.test 1322s # Running test: glib/gdbus-non-socket.test 1322s TAP version 14 1322s # random seed: R02S98a8f44de3ed8a5b0666ecacc1422cc6 1322s 1..1 1322s # Start of gdbus tests 1322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_SPYQE3/gdbus/non-socket/.dirs/home 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_SPYQE3/gdbus/non-socket/.dirs/cache 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_SPYQE3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_SPYQE3/gdbus/non-socket/.dirs/system-config2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_SPYQE3/gdbus/non-socket/.dirs/config 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_SPYQE3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_SPYQE3/gdbus/non-socket/.dirs/system-data2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_SPYQE3/gdbus/non-socket/.dirs/data 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_SPYQE3/gdbus/non-socket/.dirs/state 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_SPYQE3/gdbus/non-socket/.dirs/runtime 1322s ok 1 /gdbus/non-socket 1322s # End of gdbus tests 1322s ok - glib/gdbus-non-socket.test 1322s # Running test: glib/readwrite.test 1322s TAP version 14 1322s # random seed: R02Sbb5ccde55bdc3bd6d8bae98052a27aba 1322s 1..3 1322s # Start of readwrite tests 1322s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1322s ok 1 /readwrite/test_g_file_open_readwrite 1322s ok 2 /readwrite/test_g_file_create_readwrite 1322s ok 3 /readwrite/test_g_file_replace_readwrite 1322s # End of readwrite tests 1322s ok - glib/readwrite.test 1322s # Running test: glib/utils-c-17.test 1322s TAP version 14 1322s # random seed: R02S98970e44eff23a331b0877ba6fd1afec 1322s 1..41 1322s # Start of utils tests 1322s ok 1 /utils/language-names 1322s # Testing locale ‘en’ 1322s # Testing locale ‘sr@latin’ 1322s # Testing locale ‘fr_BE’ 1322s # Testing locale ‘sr_SR@latin’ 1322s # Testing locale ‘sr_SR@latin.UTF-8’ 1322s # Testing locale ‘sr@latin_invalid’ 1322s # Testing locale ‘sr.UTF-8@latin’ 1322s # Testing locale ‘sr.UTF-8_latin’ 1322s # Testing locale ‘sr.UTF-8@latin_invalid’ 1322s ok 2 /utils/locale-variants 1322s ok 3 /utils/version 1322s ok 4 /utils/appname 1322s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1322s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1322s ok 5 /utils/prgname-thread-safety 1322s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1322s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1322s ok 6 /utils/tmpdir 1322s ok 7 /utils/basic_bits 1322s ok 8 /utils/bits 1322s ok 9 /utils/swap 1322s ok 10 /utils/find-program 1322s ok 11 /utils/find-program-for-path 1322s ok 12 /utils/debug 1322s ok 13 /utils/codeset 1322s ok 14 /utils/codeset2 1322s ok 15 /utils/console-charset 1322s ok 16 /utils/gettext 1322s ok 17 /utils/username 1322s ok 18 /utils/realname 1322s ok 19 /utils/hostname 1322s ok 20 /utils/xdgdirs 1322s ok 21 /utils/specialdir 1322s # NAME: Ubuntu 1322s ok 22 /utils/os-info 1322s ok 23 /utils/clear-pointer 1322s ok 24 /utils/clear-pointer-cast 1322s ok 25 /utils/take-pointer 1322s ok 26 /utils/clear-source 1322s ok 27 /utils/misc-mem 1322s # /utils/aligned-mem summary: Aligned memory allocator 1322s # Alignment must not be zero 1322s # Alignment must be a power of two 1322s ok - glib/utils-c-17.test 1322s # Running test: glib/bytes.test 1322s ok - glib/bytes.test 1322s # Running test: glib/giomodule.test 1322s # Alignment must be a multiple of sizeof(void*) 1322s ok 28 /utils/aligned-mem 1322s # /utils/free-sized summary: Check that g_free_sized() works 1322s ok 29 /utils/free-sized 1322s ok 30 /utils/nullify 1322s ok 31 /utils/atexit 1322s ok 32 /utils/check-setuid 1322s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1322s ok 33 /utils/int-limits 1322s ok 34 /utils/clear-list 1322s ok 35 /utils/clear-slist 1322s ok 36 /utils/steal-handle-id 1322s # Start of specialdir tests 1322s ok 37 /utils/specialdir/desktop 1322s # End of specialdir tests 1322s # Start of clear-pointer tests 1322s ok 38 /utils/clear-pointer/side-effects 1322s # End of clear-pointer tests 1322s # Start of aligned-mem tests 1322s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1322s ok 39 /utils/aligned-mem/alignment 1322s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1322s ok 40 /utils/aligned-mem/zeroed 1322s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1322s ok 41 /utils/aligned-mem/free-sized 1322s # Start of subprocess tests 1322s # End of subprocess tests 1322s # End of aligned-mem tests 1322s # End of utils tests 1322s TAP version 14 1322s # random seed: R02Se40380777a77a420c340b308393cf555 1322s 1..21 1322s # Start of bytes tests 1322s ok 1 /bytes/new 1322s ok 2 /bytes/new-take 1322s ok 3 /bytes/new-static 1322s ok 4 /bytes/new-with-free-func 1322s ok 5 /bytes/new-from-bytes 1322s ok 6 /bytes/new-from-bytes-slice 1322s ok 7 /bytes/new-from-bytes-shared-ref 1322s ok 8 /bytes/hash 1322s ok 9 /bytes/equal 1322s ok 10 /bytes/compare 1322s ok 11 /bytes/null 1322s ok 12 /bytes/get-region 1322s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1322s ok 13 /bytes/unref-null 1322s # Start of to-data tests 1322s ok 14 /bytes/to-data/transferred 1322s ok 15 /bytes/to-data/two-refs 1322s ok 16 /bytes/to-data/non-malloc 1322s ok 17 /bytes/to-data/different-free-func 1322s # End of to-data tests 1322s # Start of to-array tests 1322s ok 18 /bytes/to-array/transferred 1322s ok 19 /bytes/to-array/two-refs 1322s ok 20 /bytes/to-array/non-malloc 1322s # Start of transferred tests 1322s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1322s ok 21 /bytes/to-array/transferred/oversize # SKIP Skipping test as guint is not smaller than gsize 1322s # End of transferred tests 1322s # End of to-array tests 1322s # End of bytes tests 1322s TAP version 14 1322s # random seed: R02S1288b90361fbc256a036ec29b3d2525e 1322s 1..3 1322s # Start of giomodule tests 1322s ok - glib/giomodule.test 1322s # Running test: glib/appmonitor.test 1322s ok 1 /giomodule/extension-point 1322s ok 2 /giomodule/module-scan-all 1322s ok 3 /giomodule/module-scan-all-with-scope 1322s # End of giomodule tests 1322s TAP version 14 1322s # random seed: R02Sd512eb2644c4d9496a85918802454fdc 1322s 1..1 1322s # Start of monitor tests 1322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_NMWOE3/monitor/app/.dirs/home 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_NMWOE3/monitor/app/.dirs/cache 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_NMWOE3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_NMWOE3/monitor/app/.dirs/system-config2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_NMWOE3/monitor/app/.dirs/config 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_NMWOE3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_NMWOE3/monitor/app/.dirs/system-data2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_NMWOE3/monitor/app/.dirs/data 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_NMWOE3/monitor/app/.dirs/state 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_NMWOE3/monitor/app/.dirs/runtime 1322s # Using data directory: /tmp/test_appmonitor_NMWOE3/monitor/app/.dirs/data 1322s ok 1 /monitor/app 1322s # End of monitor tests 1322s ok - glib/appmonitor.test 1322s # Running test: glib/dataset.test 1322s TAP version 14 1322s # random seed: R02Sd029f2d2cb2b0b422d8d07a005eab8bc 1322s 1..15 1322s # Start of quark tests 1322s ok 1 /quark/basic 1322s ok 2 /quark/string 1322s # End of quark tests 1322s # Start of dataset tests 1322s ok 3 /dataset/basic 1322s ok 4 /dataset/id 1322s ok 5 /dataset/full 1322s ok 6 /dataset/foreach 1322s ok 7 /dataset/destroy 1322s # End of dataset tests 1322s # Start of datalist tests 1322s ok 8 /datalist/id 1322s ok 9 /datalist/recursive-clear 1322s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1322s ok 10 /datalist/id-remove-multiple 1322s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1322s ok 11 /datalist/id-remove-multiple-destroy-order 1322s ok 12 /datalist/update-atomic 1322s # Start of basic tests 1322s ok 13 /datalist/basic/few 1322s ok 14 /datalist/basic/many 1322s # End of basic tests 1322s # Start of id-remove-multiple tests 1322s ok 15 /datalist/id-remove-multiple/resize 1322s # End of id-remove-multiple tests 1322s # End of datalist tests 1322s ok - glib/dataset.test 1322s # Running test: glib/object-info.test 1322s TAP version 14 1322s # random seed: R02S77b5f5ec788005d6e7ed3d57eaca0784 1322s 1..2 1322s # Start of object-info tests 1322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_ALNOE3/object-info/find-method-using-interfaces/.dirs/home 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_ALNOE3/object-info/find-method-using-interfaces/.dirs/cache 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_ALNOE3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_ALNOE3/object-info/find-method-using-interfaces/.dirs/system-config2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_ALNOE3/object-info/find-method-using-interfaces/.dirs/config 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_ALNOE3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_ALNOE3/object-info/find-method-using-interfaces/.dirs/system-data2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_ALNOE3/object-info/find-method-using-interfaces/.dirs/data 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_ALNOE3/object-info/find-method-using-interfaces/.dirs/state 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_ALNOE3/object-info/find-method-using-interfaces/.dirs/runtime 1322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1322s ok 1 /object-info/find-method-using-interfaces 1322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_ALNOE3/object-info/find-vfunc-using-interfaces/.dirs/home 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_ALNOE3/object-info/find-vfunc-using-interfaces/.dirs/cache 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_ALNOE3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_ALNOE3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_ALNOE3/object-info/find-vfunc-using-interfaces/.dirs/config 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_ALNOE3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_ALNOE3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_ALNOE3/object-info/find-vfunc-using-interfaces/.dirs/data 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_ALNOE3/object-info/find-vfunc-using-interfaces/.dirs/state 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_ALNOE3/object-info/find-vfunc-using-interfaces/.dirs/runtime 1322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1322s ok 2 /object-info/find-vfunc-using-interfaces 1322s # End of object-info tests 1322s ok - glib/object-info.test 1322s # Running test: glib/shell.test 1322s ok - glib/shell.test 1322s # Running test: glib/basic-signals.test 1322s ok - glib/basic-signals.test 1322s # Running test: glib/atomic-c-11.test 1322s TAP version 14 1322s # random seed: R02S4470011624097332653abddfbcdeb18f 1322s 1..52 1322s # Start of shell tests 1322s # Start of cmdline tests 1322s test cmdline: foo bar 1322s ok 1 /shell/cmdline/0 1322s test cmdline: foo 'bar' 1322s ok 2 /shell/cmdline/1 1322s test cmdline: foo "bar" 1322s ok 3 /shell/cmdline/2 1322s test cmdline: foo '' 'bar' 1322s ok 4 /shell/cmdline/3 1322s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1322s ok 5 /shell/cmdline/4 1322s test cmdline: foo blah foo bar baz 1322s ok 6 /shell/cmdline/5 1322s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1322s ok 7 /shell/cmdline/6 1322s test cmdline: foo \ 1322s bar 1322s ok 8 /shell/cmdline/7 1322s test cmdline: foo '' '' 1322s ok 9 /shell/cmdline/8 1322s test cmdline: foo \" la la la 1322s ok 10 /shell/cmdline/9 1322s test cmdline: foo \ foo woo woo\ 1322s ok 11 /shell/cmdline/10 1322s test cmdline: foo "yada yada \$\"" 1322s ok 12 /shell/cmdline/11 1322s test cmdline: foo "c:\\" 1322s ok 13 /shell/cmdline/12 1322s test cmdline: foo # bla bla bla 1322s bar 1322s ok 14 /shell/cmdline/13 1322s test cmdline: foo a#b 1322s ok 15 /shell/cmdline/14 1322s test cmdline: #foo 1322s ok 16 /shell/cmdline/15 1322s test cmdline: foo bar \ 1322s ok 17 /shell/cmdline/16 1322s test cmdline: foo 'bar baz 1322s ok 18 /shell/cmdline/17 1322s test cmdline: foo '"bar" baz 1322s ok 19 /shell/cmdline/18 1322s test cmdline: 1322s ok 20 /shell/cmdline/19 1322s test cmdline: 1322s ok 21 /shell/cmdline/20 1322s test cmdline: # foo bar 1322s ok 22 /shell/cmdline/21 1322s test cmdline: # 1322s ok 23 /shell/cmdline/22 1322s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1322s ok 24 /shell/cmdline/23 1322s # End of cmdline tests 1322s # Start of quote tests 1322s ok 25 /shell/quote/0 1322s ok 26 /shell/quote/1 1322s ok 27 /shell/quote/2 1322s ok 28 /shell/quote/3 1322s ok 29 /shell/quote/4 1322s ok 30 /shell/quote/5 1322s ok 31 /shell/quote/6 1322s # End of quote tests 1322s # Start of unquote tests 1322s ok 32 /shell/unquote/0 1322s ok 33 /shell/unquote/1 1322s ok 34 /shell/unquote/2 1322s ok 35 /shell/unquote/3 1322s ok 36 /shell/unquote/4 1322s ok 37 /shell/unquote/5 1322s ok 38 /shell/unquote/6 1322s ok 39 /shell/unquote/7 1322s ok 40 /shell/unquote/8 1322s ok 41 /shell/unquote/9 1322s ok 42 /shell/unquote/10 1322s ok 43 /shell/unquote/11 1322s ok 44 /shell/unquote/12 1322s ok 45 /shell/unquote/13 1322s ok 46 /shell/unquote/14 1322s ok 47 /shell/unquote/15 1322s ok 48 /shell/unquote/16 1322s ok 49 /shell/unquote/17 1322s ok 50 /shell/unquote/18 1322s ok 51 /shell/unquote/19 1322s ok 52 /shell/unquote/20 1322s # End of unquote tests 1322s # End of shell tests 1322s TAP version 14 1322s # random seed: R02S27a04cfc92da7fb83d50079205dd09bc 1322s 1..1 1322s # Start of gobject tests 1322s ok 1 /gobject/basic-signals 1322s # End of gobject tests 1322s TAP version 14 1322s # random seed: R02Sdd2c242c18d6448f8836e2da175cbe6c 1322s 1..2 1322s # Start of atomic tests 1322s ok 1 /atomic/types 1322s ok 2 /atomic/threaded 1322s # End of atomic tests 1322s ok - glib/atomic-c-11.test 1322s # Running test: glib/test-printf.test 1322s TAP version 14 1322s # random seed: R02S3b047bceb88fc5d7fb4514b9b72b3887 1322s 1..24 1322s # Start of snprintf tests 1322s ok 1 /snprintf/retval-and-trunc 1322s ok 2 /snprintf/%d 1322s ok 3 /snprintf/%d-invalid 1322s ok 4 /snprintf/%o 1322s ok 5 /snprintf/%u 1322s ok 6 /snprintf/%x 1322s ok 7 /snprintf/%X 1322s ok 8 /snprintf/%f 1322s ok 9 /snprintf/%e 1322s ok 10 /snprintf/%c 1322s ok 11 /snprintf/%s 1322s ok 12 /snprintf/%n 1322s ok 13 /snprintf/test-percent 1322s ok 14 /snprintf/test-positional-params 1322s ok 15 /snprintf/test-64bit 1322s ok 16 /snprintf/produce-embedded-nulls 1322s # End of snprintf tests 1322s # Start of printf tests 1322s ok 17 /printf/test-percent 1322s ok 18 /printf/test-positional-params 1322s ok 19 /printf/test-64bit 1322s # Start of test-64bit tests 1322s # Start of subprocess tests 1322s # End of subprocess tests 1322s # End of test-64bit tests 1322s # End of printf tests 1322s # Start of fprintf tests 1322s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761 1322s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value ' 1322s ok 20 /fprintf/produce-embedded-nulls 1322s # End of fprintf tests 1322s # Start of sprintf tests 1322s ok 21 /sprintf/test-positional-params 1322s ok 22 /sprintf/upper-bound 1322s # End of sprintf tests 1322s # Start of vasprintf tests 1322s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1322s ok 23 /vasprintf/invalid-format-placeholder 1322s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1322s ok 24 /vasprintf/invalid-wide-string 1322s # End of vasprintf tests 1322s ok - glib/test-printf.test 1322s # Running test: glib/io-channel-basic.test 1322s TAP version 14 1322s # random seed: R02Sb4105426e3392839d6b3413d710404ed 1322s 1..1 1322s # Start of gio tests 1322s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1322s # random seed: R02S0e22148d10f427a13ec17f0ebfa37580 1322s # GLib-DEBUG: io-channel-basic: child writing 8+2022 bytes to 6 1322s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1322s # GLib-DEBUG: io-channel-basic: ...from 5: 2022 bytes 1322s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1323s # GLib-DEBUG: io-channel-basic: child writing 8+2120 bytes to 6 1323s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1323s # GLib-DEBUG: io-channel-basic: ...from 5: 2120 bytes 1323s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1323s # GLib-DEBUG: io-channel-basic: child writing 8+251 bytes to 6 1323s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1323s # GLib-DEBUG: io-channel-basic: ...from 5: 251 bytes 1323s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1323s # Executing: glib/io-channel-basic.test 1323s # GLib-DEBUG: io-channel-basic: child writing 8+3303 bytes to 6 1323s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1323s # GLib-DEBUG: io-channel-basic: ...from 5: 3303 bytes 1323s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1323s # GLib-DEBUG: io-channel-basic: child writing 8+4119 bytes to 6 1323s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1323s # GLib-DEBUG: io-channel-basic: ...from 5: 4119 bytes 1323s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1324s # GLib-DEBUG: io-channel-basic: child writing 8+4603 bytes to 6 1324s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1324s # GLib-DEBUG: io-channel-basic: ...from 5: 4603 bytes 1324s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1324s # GLib-DEBUG: io-channel-basic: child writing 8+3570 bytes to 6 1324s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1324s # GLib-DEBUG: io-channel-basic: ...from 5: 3570 bytes 1324s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1324s # GLib-DEBUG: io-channel-basic: child writing 8+3168 bytes to 6 1324s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1324s # GLib-DEBUG: io-channel-basic: ...from 5: 3168 bytes 1324s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1324s # GLib-DEBUG: io-channel-basic: child writing 8+3253 bytes to 6 1324s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1324s # GLib-DEBUG: io-channel-basic: ...from 5: 3253 bytes 1324s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1325s # GLib-DEBUG: io-channel-basic: child writing 8+3122 bytes to 6 1325s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1325s # GLib-DEBUG: io-channel-basic: ...from 5: 3122 bytes 1325s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1325s # GLib-DEBUG: io-channel-basic: child writing 8+1585 bytes to 6 1325s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1325s # GLib-DEBUG: io-channel-basic: ...from 5: 1585 bytes 1325s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1325s not ok - Test timed out after 300 seconds 1325s # GLib-DEBUG: io-channel-basic: child writing 8+1675 bytes to 6 1325s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1325s # GLib-DEBUG: io-channel-basic: ...from 5: 1675 bytes 1325s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1325s # GLib-DEBUG: io-channel-basic: child writing 8+4320 bytes to 6 1325s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1325s # GLib-DEBUG: io-channel-basic: ...from 5: 4320 bytes 1325s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1326s # GLib-DEBUG: io-channel-basic: child writing 8+4782 bytes to 6 1326s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1326s # GLib-DEBUG: io-channel-basic: ...from 5: 4782 bytes 1326s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1326s # GLib-DEBUG: io-channel-basic: child writing 8+1830 bytes to 6 1326s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1326s # GLib-DEBUG: io-channel-basic: ...from 5: 1830 bytes 1326s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1326s # GLib-DEBUG: io-channel-basic: child writing 8+83 bytes to 6 1326s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1326s # GLib-DEBUG: io-channel-basic: ...from 5: 83 bytes 1326s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1327s # GLib-DEBUG: io-channel-basic: child writing 8+2343 bytes to 6 1327s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1327s # GLib-DEBUG: io-channel-basic: ...from 5: 2343 bytes 1327s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1327s # GLib-DEBUG: io-channel-basic: child writing 8+2073 bytes to 6 1327s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1327s # GLib-DEBUG: io-channel-basic: ...from 5: 2073 bytes 1327s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1327s # GLib-DEBUG: io-channel-basic: child writing 8+2395 bytes to 6 1327s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1327s # GLib-DEBUG: io-channel-basic: ...from 5: 2395 bytes 1327s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1327s # GLib-DEBUG: io-channel-basic: child writing 8+1271 bytes to 6 1327s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1327s # GLib-DEBUG: io-channel-basic: ...from 5: 1271 bytes 1327s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1328s # GLib-DEBUG: io-channel-basic: child writing 8+31 bytes to 6 1328s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1328s # GLib-DEBUG: io-channel-basic: ...from 5: 31 bytes 1328s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1328s # GLib-DEBUG: io-channel-basic: child writing 8+4881 bytes to 6 1328s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1328s # GLib-DEBUG: io-channel-basic: ...from 5: 4881 bytes 1328s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1328s # Executing: glib/io-channel-basic.test 1328s # GLib-DEBUG: io-channel-basic: child writing 8+4025 bytes to 6 1328s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1328s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1328s # GLib-DEBUG: io-channel-basic: ...from 5: 4025 bytes 1328s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1328s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1328s # random seed: R02S46c5e31b65a4077e7df7310ccf9bd178 1328s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1328s # random seed: R02Sa99a184dec3d5b07c055dabf9fff6798 1328s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1328s # random seed: R02S6f32b53038a38b00e29406cf1c5c5304 1328s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1328s # random seed: R02S62edfad92b33e0d65a2f2f0e26f1a19b 1328s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1328s # random seed: R02S6c40d309fbd491f908df91c0d80e1ad5 1328s # GLib-DEBUG: io-channel-basic: child writing 8+2097 bytes to 9 1328s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1328s # GLib-DEBUG: io-channel-basic: ...from 8: 2097 bytes 1328s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1328s # GLib-DEBUG: io-channel-basic: child writing 8+1689 bytes to 11 1328s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1328s # GLib-DEBUG: io-channel-basic: ...from 10: 1689 bytes 1328s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1328s # GLib-DEBUG: io-channel-basic: child writing 8+4331 bytes to 13 1328s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1328s # GLib-DEBUG: io-channel-basic: ...from 12: 4331 bytes 1328s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1328s # GLib-DEBUG: io-channel-basic: child writing 8+1407 bytes to 17 1328s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1328s # GLib-DEBUG: io-channel-basic: ...from 16: 1407 bytes 1328s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1328s # GLib-DEBUG: io-channel-basic: child writing 8+2171 bytes to 15 1328s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1328s # GLib-DEBUG: io-channel-basic: ...from 14: 2171 bytes 1328s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+4594 bytes to 11 1329s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 10: 4594 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+3159 bytes to 13 1329s # GLib-DEBUG: io-channel-basic: child writing 8+4249 bytes to 9 1329s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 8: 4249 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1329s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 12: 3159 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+3637 bytes to 17 1329s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 16: 3637 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+2955 bytes to 15 1329s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 14: 2955 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+1336 bytes to 11 1329s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 10: 1336 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+315 bytes to 17 1329s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 16: 315 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+4258 bytes to 9 1329s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 8: 4258 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+1939 bytes to 15 1329s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 14: 1939 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+2094 bytes to 13 1329s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 12: 2094 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+2039 bytes to 11 1329s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 10: 2039 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+3866 bytes to 15 1329s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 14: 3866 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+269 bytes to 17 1329s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 16: 269 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+2946 bytes to 9 1329s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 8: 2946 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+723 bytes to 13 1329s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 12: 723 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+2788 bytes to 15 1329s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 14: 2788 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+1801 bytes to 17 1329s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 16: 1801 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+1489 bytes to 11 1329s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 10: 1489 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+1434 bytes to 9 1329s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 8: 1434 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1329s # GLib-DEBUG: io-channel-basic: child writing 8+4528 bytes to 13 1329s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 12: 4528 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+1157 bytes to 15 1330s # GLib-DEBUG: io-channel-basic: child writing 8+3720 bytes to 11 1330s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 10: 3720 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1330s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 14: 1157 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+3563 bytes to 17 1330s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 16: 3563 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+2871 bytes to 9 1330s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 8: 2871 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+3679 bytes to 13 1330s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 12: 3679 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+3369 bytes to 15 1330s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 14: 3369 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+3108 bytes to 9 1330s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 8: 3108 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+47 bytes to 11 1330s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 10: 47 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+1911 bytes to 17 1330s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 16: 1911 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+3663 bytes to 13 1330s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 12: 3663 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+3994 bytes to 17 1330s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 16: 3994 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+812 bytes to 15 1330s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 14: 812 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+2170 bytes to 9 1330s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 8: 2170 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+2049 bytes to 11 1330s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 10: 2049 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+344 bytes to 13 1330s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 12: 344 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+395 bytes to 15 1330s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 14: 395 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+3383 bytes to 13 1330s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 12: 3383 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+1580 bytes to 9 1330s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 8: 1580 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+1121 bytes to 17 1330s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 16: 1121 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1330s # GLib-DEBUG: io-channel-basic: child writing 8+1326 bytes to 11 1330s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 10: 1326 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+1428 bytes to 15 1331s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 14: 1428 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+4750 bytes to 9 1331s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 8: 4750 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+3238 bytes to 13 1331s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 12: 3238 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+1687 bytes to 17 1331s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 16: 1687 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+4784 bytes to 11 1331s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 10: 4784 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+4309 bytes to 15 1331s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 14: 4309 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+614 bytes to 13 1331s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 12: 614 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+4983 bytes to 9 1331s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 8: 4983 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+803 bytes to 17 1331s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 16: 803 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+3629 bytes to 11 1331s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 10: 3629 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+3752 bytes to 15 1331s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 14: 3752 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+2798 bytes to 13 1331s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 12: 2798 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+1630 bytes to 9 1331s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 8: 1630 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+287 bytes to 17 1331s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 16: 287 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1331s # GLib-DEBUG: io-channel-basic: child writing 8+3440 bytes to 11 1331s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 10: 3440 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+4453 bytes to 15 1332s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 14: 4453 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+3395 bytes to 13 1332s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 12: 3395 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+4437 bytes to 9 1332s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 8: 4437 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+846 bytes to 11 1332s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 10: 846 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+3180 bytes to 17 1332s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 16: 3180 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+4973 bytes to 13 1332s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 12: 4973 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+4567 bytes to 15 1332s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 14: 4567 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+1344 bytes to 9 1332s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 8: 1344 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+2873 bytes to 11 1332s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 10: 2873 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+730 bytes to 17 1332s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 16: 730 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+1488 bytes to 13 1332s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 12: 1488 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+4447 bytes to 15 1332s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 14: 4447 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+4571 bytes to 9 1332s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 8: 4571 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+2484 bytes to 11 1332s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 10: 2484 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+4754 bytes to 17 1332s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 16: 4754 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+2275 bytes to 13 1332s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 12: 2275 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+694 bytes to 15 1332s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 14: 694 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+1954 bytes to 9 1332s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 8: 1954 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+4276 bytes to 11 1332s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 10: 4276 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1332s # GLib-DEBUG: io-channel-basic: child writing 8+3249 bytes to 17 1332s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 16: 3249 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+1082 bytes to 13 1333s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 12: 1082 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+4289 bytes to 15 1333s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 14: 4289 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+3125 bytes to 9 1333s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 8: 3125 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+1217 bytes to 11 1333s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 10: 1217 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+1190 bytes to 17 1333s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 16: 1190 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+465 bytes to 13 1333s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 12: 465 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+375 bytes to 9 1333s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 8: 375 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+3349 bytes to 15 1333s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 14: 3349 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+144 bytes to 11 1333s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 10: 144 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+2403 bytes to 17 1333s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 16: 2403 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1333s # Executing: glib/io-channel-basic.test 1333s # GLib-DEBUG: io-channel-basic: child writing 8+3138 bytes to 13 1333s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 12: 3138 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+3240 bytes to 9 1333s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 8: 3240 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+951 bytes to 15 1333s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 14: 951 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+625 bytes to 11 1333s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 10: 625 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+3764 bytes to 17 1333s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 16: 3764 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+3977 bytes to 13 1333s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 12: 3977 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+1213 bytes to 15 1333s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 14: 1213 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+1297 bytes to 11 1333s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 10: 1297 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+1567 bytes to 9 1333s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 8: 1567 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1333s # GLib-DEBUG: io-channel-basic: child writing 8+1222 bytes to 17 1333s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 16: 1222 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+2664 bytes to 13 1334s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 12: 2664 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+1487 bytes to 9 1334s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 8: 1487 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+2093 bytes to 11 1334s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1334s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1334s # GLib-DEBUG: io-channel-basic: ...from 10: 2093 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+3419 bytes to 15 1334s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 14: 3419 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+4822 bytes to 17 1334s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 16: 4822 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+2988 bytes to 13 1334s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 12: 2988 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+2241 bytes to 9 1334s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 8: 2241 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+2100 bytes to 15 1334s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 14: 2100 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+2726 bytes to 17 1334s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 16: 2726 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+2327 bytes to 13 1334s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 12: 2327 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+2752 bytes to 9 1334s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1334s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1334s # GLib-DEBUG: io-channel-basic: ...from 8: 2752 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+3486 bytes to 15 1334s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 14: 3486 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+1573 bytes to 17 1334s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 16: 1573 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+3619 bytes to 13 1334s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1334s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1334s # GLib-DEBUG: io-channel-basic: ...from 12: 3619 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+3335 bytes to 15 1334s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1334s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1334s # GLib-DEBUG: io-channel-basic: ...from 14: 3335 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1334s # GLib-DEBUG: io-channel-basic: child writing 8+1994 bytes to 17 1334s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 16: 1994 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1335s # GLib-DEBUG: io-channel-basic: child writing 8+4040 bytes to 17 1335s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1335s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1335s # GLib-DEBUG: io-channel-basic: ...from 16: 4040 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1335s ok 1 /gio/io-basics 1335s # slow test /gio/io-basics executed in 12.59 secs 1335s # End of gio tests 1335s ok - glib/io-channel-basic.test 1335s # Running test: glib/properties-refcount4.test 1335s TAP version 14 1335s # random seed: R02S420cd7d199d8afd6d076314d8bd0f407 1335s 1..1 1335s # Start of gobject tests 1335s # Start of refcount tests 1335s ok 1 /gobject/refcount/properties-4 1335s # End of refcount tests 1335s # End of gobject tests 1335s ok - glib/properties-refcount4.test 1335s # Running test: glib/io-channel.test 1335s TAP version 14 1335s # random seed: R02Sb9275d757bf1d16f9f4fcb9643657f16 1335s 1..2 1335s # Start of io-channel tests 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_PUJIE3/io-channel/read-write/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_PUJIE3/io-channel/read-write/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_PUJIE3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_PUJIE3/io-channel/read-write/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_PUJIE3/io-channel/read-write/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_PUJIE3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_PUJIE3/io-channel/read-write/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_PUJIE3/io-channel/read-write/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_PUJIE3/io-channel/read-write/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_PUJIE3/io-channel/read-write/.dirs/runtime 1335s # Line one 1335s # 1335s # Line two 1335s # 1335s # Line three 1335s # 1335s # /* Hello */ 1335s # 1335s # \x1234\x567890\x6666 1335s # 1335s # read 62 bytes, wrote 62 bytes 1335s ok 1 /io-channel/read-write 1335s # Start of read-line tests 1335s ok - glib/io-channel.test 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_PUJIE3/io-channel/read-line/embedded-nuls/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_PUJIE3/io-channel/read-line/embedded-nuls/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_PUJIE3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_PUJIE3/io-channel/read-line/embedded-nuls/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_PUJIE3/io-channel/read-line/embedded-nuls/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_PUJIE3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_PUJIE3/io-channel/read-line/embedded-nuls/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_PUJIE3/io-channel/read-line/embedded-nuls/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_PUJIE3/io-channel/read-line/embedded-nuls/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_PUJIE3/io-channel/read-line/embedded-nuls/.dirs/runtime 1335s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1335s ok 2 /io-channel/read-line/embedded-nuls 1335s # End of read-line tests 1335s # End of io-channel tests 1335s # Running test: glib/throws.test 1335s TAP version 14 1335s # random seed: R02Sb11e6556c697f7c45ac737511e706621 1335s 1..3 1335s # Start of throws tests 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_MHDIE3/throws/invoke-gerror/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_MHDIE3/throws/invoke-gerror/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_MHDIE3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_MHDIE3/throws/invoke-gerror/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_MHDIE3/throws/invoke-gerror/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_MHDIE3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_MHDIE3/throws/invoke-gerror/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_MHDIE3/throws/invoke-gerror/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_MHDIE3/throws/invoke-gerror/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_MHDIE3/throws/invoke-gerror/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1335s ok 1 /throws/invoke-gerror 1335s ok - glib/throws.test 1335s # Running test: glib/gdbus-method-invocation.test 1335s ok - glib/gdbus-method-invocation.test 1335s # Running test: glib/gdbus-exit-on-close.test 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_MHDIE3/throws/vfunc-can-throw-gerror/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_MHDIE3/throws/vfunc-can-throw-gerror/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_MHDIE3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_MHDIE3/throws/vfunc-can-throw-gerror/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_MHDIE3/throws/vfunc-can-throw-gerror/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_MHDIE3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_MHDIE3/throws/vfunc-can-throw-gerror/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_MHDIE3/throws/vfunc-can-throw-gerror/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_MHDIE3/throws/vfunc-can-throw-gerror/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_MHDIE3/throws/vfunc-can-throw-gerror/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1335s ok 2 /throws/vfunc-can-throw-gerror 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_MHDIE3/throws/callback-can-throw-gerror/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_MHDIE3/throws/callback-can-throw-gerror/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_MHDIE3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_MHDIE3/throws/callback-can-throw-gerror/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_MHDIE3/throws/callback-can-throw-gerror/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_MHDIE3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_MHDIE3/throws/callback-can-throw-gerror/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_MHDIE3/throws/callback-can-throw-gerror/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_MHDIE3/throws/callback-can-throw-gerror/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_MHDIE3/throws/callback-can-throw-gerror/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1335s ok 3 /throws/callback-can-throw-gerror 1335s # End of throws tests 1335s TAP version 14 1335s # random seed: R02S161991b3e6ea21cf9f3234f230149224 1335s 1..1 1335s # Start of gdbus tests 1335s # Start of method-invocation tests 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_6V6HE3/gdbus/method-invocation/return/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_6V6HE3/gdbus/method-invocation/return/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_6V6HE3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_6V6HE3/gdbus/method-invocation/return/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_6V6HE3/gdbus/method-invocation/return/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_6V6HE3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_6V6HE3/gdbus/method-invocation/return/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_6V6HE3/gdbus/method-invocation/return/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_6V6HE3/gdbus/method-invocation/return/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_6V6HE3/gdbus/method-invocation/return/.dirs/runtime 1335s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1335s # Calling org.freedesktop.DBus.Properties.Get 1335s # Calling org.freedesktop.DBus.Properties.Get 1335s # Calling org.freedesktop.DBus.Properties.Get 1335s # Calling org.freedesktop.DBus.Properties.Set 1335s # Calling org.freedesktop.DBus.Properties.GetAll 1335s # Calling org.example.Foo.WrongReturnType 1335s # Calling org.example.Foo.GetFDs 1335s # Calling org.example.Foo.GetFDs 1335s # Calling org.example.Foo.ReturnError 1335s # Calling org.example.Foo.CloseBeforeReturning 1335s ok 1 /gdbus/method-invocation/return 1335s # End of method-invocation tests 1335s # End of gdbus tests 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s TAP version 14 1335s # random seed: R02Sf04bd42cba19dd12802c1d758f6118ea 1335s 1..4 1335s # Start of gdbus tests 1335s # Start of exit-on-close tests 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/default/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/default/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/default/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/default/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/default/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/default/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/default/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/default/.dirs/runtime 1335s ok 1 /gdbus/exit-on-close/default 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/true/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/true/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/true/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/true/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/true/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/true/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/true/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/true/.dirs/runtime 1335s ok 2 /gdbus/exit-on-close/true 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/false/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/false/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/false/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/false/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/false/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/false/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/false/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/false/.dirs/runtime 1335s ok 3 /gdbus/exit-on-close/false 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/we-close/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/we-close/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/we-close/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/we-close/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/we-close/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/we-close/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/we-close/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_P5THE3/gdbus/exit-on-close/we-close/.dirs/runtime 1335s ok - glib/gdbus-exit-on-close.test 1335s ok 4 /gdbus/exit-on-close/we-close 1335s # Start of default tests 1335s # End of default tests 1335s # Start of true tests 1335s # End of true tests 1335s # Start of false tests 1335s # End of false tests 1335s # Start of we-close tests 1335s # End of we-close tests 1335s # End of exit-on-close tests 1335s # End of gdbus tests 1335s # Running test: glib/module-test-library.test 1335s TAP version 14 1335s # random seed: R02Sdde9e2e807ce919e961d00269217bfbd 1335s 1..3 1335s # Start of module tests 1335s ok 1 /module/basics 1335s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1335s ok 2 /module/invalid-libtool-archive 1335s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1335s ok - glib/module-test-library.test 1335s ok 3 /module/local-binding 1335s # End of module tests 1335s # SUMMARY: total=330; passed=329; skipped=1; failed=0; user=372.5s; system=106.1s; maxrss=147072 1336s autopkgtest [19:47:48]: test installed-tests: -----------------------] 1340s autopkgtest [19:47:52]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1340s installed-tests PASS 1344s autopkgtest [19:47:56]: test closure-refcount: preparing testbed 1346s Reading package lists... 1346s Building dependency tree... 1346s Reading state information... 1346s Solving dependencies... 1347s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1354s autopkgtest [19:48:06]: test closure-refcount: [----------------------- 1356s Running test: glib/closure-refcount.test 1356s TAP version 14 1356s # random seed: R02Sf0f389c17918cf7cf3ed49ee92f9f6bc 1356s 1..1 1356s # Start of closure tests 1356s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1356s # End of closure tests 1356s PASS: glib/closure-refcount.test 1356s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2304 1356s autopkgtest [19:48:08]: test closure-refcount: -----------------------] 1360s autopkgtest [19:48:12]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1360s closure-refcount PASS 1363s autopkgtest [19:48:15]: test debugcontroller: preparing testbed 1365s Reading package lists... 1365s Building dependency tree... 1365s Reading state information... 1366s Solving dependencies... 1366s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1374s autopkgtest [19:48:26]: test debugcontroller: [----------------------- 1376s Running test: glib/debugcontroller.test 1376s TAP version 14 1376s # random seed: R02S7617f894b0ac6e81091c83403477e560 1376s 1..3 1376s # Start of debug-controller tests 1376s # Start of dbus tests 1376s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1376s # GLib-GIO-DEBUG: Debug output enabled 1376s # GLib-GIO-DEBUG: Debug output disabled 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s ok 1 /debug-controller/dbus/basic 1376s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s ok 2 /debug-controller/dbus/duplicate 1376s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1376s # GLib-GIO-DEBUG: Debug output enabled 1376s # GLib-GIO-DEBUG: Debug output disabled 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s ok 3 /debug-controller/dbus/properties 1376s # End of dbus tests 1376s # End of debug-controller tests 1376s PASS: glib/debugcontroller.test 1376s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4608 1376s autopkgtest [19:48:28]: test debugcontroller: -----------------------] 1380s debugcontroller PASS 1380s autopkgtest [19:48:32]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1383s autopkgtest [19:48:35]: test gdbus-server-auth: preparing testbed 1385s Reading package lists... 1385s Building dependency tree... 1385s Reading state information... 1385s Solving dependencies... 1386s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1393s autopkgtest [19:48:45]: test gdbus-server-auth: [----------------------- 1395s Running test: glib/gdbus-server-auth.test 1395s TAP version 14 1395s # random seed: R02S48f0ded66615ddbd870c2416344ed124 1395s 1..9 1395s # Start of gdbus tests 1395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/.dirs/home 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/.dirs/cache 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/.dirs/system-config2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/.dirs/config 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/.dirs/system-data2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/.dirs/data 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/.dirs/state 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/.dirs/runtime 1395s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_H1BUE3/gdbus-server-auth-BJBUE3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1395s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_H1BUE3/gdbus-server-auth-BJBUE3/dbus-DnUWiOPv 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39678 1395s ok 1 /gdbus/server-auth 1395s # Start of server-auth tests 1395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/abstract/.dirs/home 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/abstract/.dirs/cache 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/abstract/.dirs/system-config2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/abstract/.dirs/config 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/abstract/.dirs/system-data2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/abstract/.dirs/data 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/abstract/.dirs/state 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/abstract/.dirs/runtime 1395s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_H1BUE3/gdbus-server-auth-IWXTE3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1395s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_H1BUE3/gdbus-server-auth-IWXTE3/dbus-rFV0cADq 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39678 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1395s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39678 1395s ok 2 /gdbus/server-auth/abstract 1395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/tcp/.dirs/home 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/tcp/.dirs/cache 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/tcp/.dirs/system-config2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/tcp/.dirs/config 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/tcp/.dirs/system-data2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/tcp/.dirs/data 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/tcp/.dirs/state 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/tcp/.dirs/runtime 1395s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1395s # Connectable address: tcp:host=127.0.0.1,port=42645 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1395s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1395s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1395s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1395s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1395s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1395s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1395s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1395s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1395s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1395s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1396s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1396s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1396s ok 3 /gdbus/server-auth/tcp 1396s # slow test /gdbus/server-auth/tcp executed in 0.88 secs 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/.dirs/runtime 1396s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_H1BUE3/gdbus-server-auth-E73VE3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1396s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_H1BUE3/gdbus-server-auth-E73VE3/dbus-svOfRLWf 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39678 1396s ok 4 /gdbus/server-auth/anonymous 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/.dirs/runtime 1396s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_H1BUE3/gdbus-server-auth-QBWVE3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1396s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_H1BUE3/gdbus-server-auth-QBWVE3/dbus-aMPRGmlL 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1396s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39678 1396s ok 5 /gdbus/server-auth/external 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/.dirs/runtime 1396s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_H1BUE3/gdbus-server-auth-IXEVE3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1396s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_H1BUE3/gdbus-server-auth-IXEVE3/dbus-Wy5u0sD4 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39678 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1396s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39678 1396s ok 6 /gdbus/server-auth/sha1 1396s # Start of anonymous tests 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/tcp/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/tcp/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/tcp/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/tcp/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1396s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1396s # Connectable address: tcp:host=127.0.0.1,port=41121 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1396s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1396s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1396s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1396s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1396s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1397s ok 7 /gdbus/server-auth/anonymous/tcp 1397s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.85 secs 1397s # End of anonymous tests 1397s # Start of external tests 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/require-same-user/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/require-same-user/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/require-same-user/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/require-same-user/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/require-same-user/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1397s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_H1BUE3/gdbus-server-auth-2DTXE3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1397s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_H1BUE3/gdbus-server-auth-2DTXE3/dbus-I81wqtEM 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39678 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1397s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39678,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39678 1397s ok 8 /gdbus/server-auth/external/require-same-user 1397s # End of external tests 1397s # Start of sha1 tests 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/tcp/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/tcp/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/tcp/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/tcp/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/tcp/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_H1BUE3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1397s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1397s # Connectable address: tcp:host=127.0.0.1,port=34519 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1398s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1398s ok 9 /gdbus/server-auth/sha1/tcp 1398s # slow test /gdbus/server-auth/sha1/tcp executed in 0.85 secs 1398s # End of sha1 tests 1398s # End of server-auth tests 1398s # End of gdbus tests 1398s PASS: glib/gdbus-server-auth.test 1398s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.2s; maxrss=5888 1398s autopkgtest [19:48:50]: test gdbus-server-auth: -----------------------] 1402s gdbus-server-auth PASS 1402s autopkgtest [19:48:54]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1406s autopkgtest [19:48:58]: test gdbus-threading: preparing testbed 1407s Reading package lists... 1408s Building dependency tree... 1408s Reading state information... 1408s Solving dependencies... 1409s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1416s autopkgtest [19:49:08]: test gdbus-threading: [----------------------- 1418s Running test: glib/gdbus-threading.test 1418s TAP version 14 1418s # random seed: R02Sa45059299b3949a793119a0e0ce43d0e 1418s 1..3 1418s # Start of gdbus tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/delivery-in-thread/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/delivery-in-thread/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_VPPOE3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_VPPOE3/gdbus/delivery-in-thread/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/delivery-in-thread/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_VPPOE3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_VPPOE3/gdbus/delivery-in-thread/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/delivery-in-thread/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/delivery-in-thread/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_VPPOE3/gdbus/delivery-in-thread/.dirs/runtime 1418s ok 1 /gdbus/delivery-in-thread 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/method-calls-in-thread/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/method-calls-in-thread/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_VPPOE3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_VPPOE3/gdbus/method-calls-in-thread/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/method-calls-in-thread/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_VPPOE3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_VPPOE3/gdbus/method-calls-in-thread/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/method-calls-in-thread/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/method-calls-in-thread/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_VPPOE3/gdbus/method-calls-in-thread/.dirs/runtime 1419s ok 2 /gdbus/method-calls-in-thread 1419s # slow test /gdbus/method-calls-in-thread executed in 0.86 secs 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/threaded-singleton/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/threaded-singleton/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_VPPOE3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_VPPOE3/gdbus/threaded-singleton/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/threaded-singleton/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_VPPOE3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_VPPOE3/gdbus/threaded-singleton/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/threaded-singleton/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_VPPOE3/gdbus/threaded-singleton/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_VPPOE3/gdbus/threaded-singleton/.dirs/runtime 1420s ok 3 /gdbus/threaded-singleton 1420s # slow test /gdbus/threaded-singleton executed in 1.36 secs 1420s # End of gdbus tests 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s PASS: glib/gdbus-threading.test 1420s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.5s; maxrss=4224 1421s autopkgtest [19:49:13]: test gdbus-threading: -----------------------] 1425s gdbus-threading PASS 1425s autopkgtest [19:49:17]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1428s autopkgtest [19:49:20]: test gmenumodel: preparing testbed 1430s Reading package lists... 1430s Building dependency tree... 1430s Reading state information... 1430s Solving dependencies... 1431s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1438s autopkgtest [19:49:30]: test gmenumodel: [----------------------- 1440s Running test: glib/gmenumodel.test 1440s TAP version 14 1440s # random seed: R02S69bf5e1554e79c06ccab67f0b3ee3bfa 1440s 1..15 1440s # Start of gmenu tests 1441s ok 1 /gmenu/equality 1441s # slow test /gmenu/equality executed in 0.83 secs 1442s ok 2 /gmenu/random 1442s # slow test /gmenu/random executed in 0.99 secs 1442s ok 3 /gmenu/attributes 1442s ok 4 /gmenu/links 1442s ok 5 /gmenu/mutable 1442s ok 6 /gmenu/convenience 1442s ok 7 /gmenu/menuitem 1442s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1442s ok 8 /gmenu/input-validation 1442s # Start of dbus tests 1443s ok 9 /gmenu/dbus/roundtrip 1443s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1444s ok 10 /gmenu/dbus/subscriptions 1445s ok 11 /gmenu/dbus/threaded 1445s # slow test /gmenu/dbus/threaded executed in 1.20 secs 1445s # Start of peer tests 1446s ok 12 /gmenu/dbus/peer/roundtrip 1446s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs 1446s Executing: glib/gmenumodel.test 1446s ok 13 /gmenu/dbus/peer/subscriptions 1446s # End of peer tests 1446s # Start of export tests 1446s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1446s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1446s ok 14 /gmenu/dbus/export/error-handling 1446s # End of export tests 1446s # End of dbus tests 1446s # Start of attributes tests 1446s ok 15 /gmenu/attributes/iterate 1446s # End of attributes tests 1446s # End of gmenu tests 1446s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1446s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1446s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1446s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1446s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1446s PASS: glib/gmenumodel.test 1446s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=5.9s; system=1.1s; maxrss=11648 1447s autopkgtest [19:49:39]: test gmenumodel: -----------------------] 1450s gmenumodel PASS 1450s autopkgtest [19:49:42]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1454s autopkgtest [19:49:46]: test mainloop: preparing testbed 1456s Reading package lists... 1456s Building dependency tree... 1456s Reading state information... 1456s Solving dependencies... 1457s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1464s autopkgtest [19:49:56]: test mainloop: [----------------------- 1466s Running test: glib/mainloop.test 1466s TAP version 14 1466s # random seed: R02S0eb451350086af06adc31369948f6d86 1466s 1..47 1466s # Start of maincontext tests 1466s ok 1 /maincontext/basic 1466s # Add same-priority sources: 35 1466s # Find each source: 7 1466s # Remove in random order: 53 1466s ok 2 /maincontext/nsources_same_priority 1466s # Add different-priority sources: 43 1466s # Find each source: 7 1466s # Remove in random order: 57 1466s ok 3 /maincontext/nsources_different_priority 1467s # Add sources from threads: 616 1467s # Remove sources from threads: 129 1467s ok 4 /maincontext/nsources_threadpool 1467s # slow test /maincontext/nsources_threadpool executed in 0.75 secs 1467s ok 5 /maincontext/source_finalization 1467s # /maincontext/idle-once summary: Test g_idle_add_once() works 1467s ok 6 /maincontext/idle-once 1467s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1467s ok 7 /maincontext/timeout-once 1467s # /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. 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1467s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1467s # Start of source_finalization_from_source tests 1467s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1467s ok 9 /maincontext/source_finalization_from_source/0 1467s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1467s ok 10 /maincontext/source_finalization_from_source/1 1467s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1467s ok 11 /maincontext/source_finalization_from_source/2 1467s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1467s ok 12 /maincontext/source_finalization_from_source/3 1467s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1467s ok 13 /maincontext/source_finalization_from_source/4 1467s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1467s ok 14 /maincontext/source_finalization_from_source/5 1467s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1467s ok 15 /maincontext/source_finalization_from_source/6 1467s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1467s ok 16 /maincontext/source_finalization_from_source/7 1467s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1467s ok 17 /maincontext/source_finalization_from_source/8 1467s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1467s ok 18 /maincontext/source_finalization_from_source/9 1467s # End of source_finalization_from_source tests 1467s # Start of source_finalization_from_dispatch tests 1467s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1467s ok 19 /maincontext/source_finalization_from_dispatch/0 1467s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1467s ok 20 /maincontext/source_finalization_from_dispatch/1 1467s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1467s ok 21 /maincontext/source_finalization_from_dispatch/2 1467s # End of source_finalization_from_dispatch tests 1467s # End of maincontext tests 1467s # Start of mainloop tests 1467s ok 22 /mainloop/basic 1467s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1467s ok 24 /mainloop/priorities 1467s ok 25 /mainloop/invoke 1467s # slow test /mainloop/invoke executed in 0.50 secs 1469s ok 26 /mainloop/child_sources 1469s # slow test /mainloop/child_sources executed in 1.20 secs 1471s ok 27 /mainloop/recursive_child_sources 1471s # slow test /mainloop/recursive_child_sources executed in 2.21 secs 1471s ok 28 /mainloop/recursive_loop_child_sources 1471s ok 29 /mainloop/swapping_child_sources 1471s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1471s ok 30 /mainloop/blocked_child_sources 1471s Executing: glib/mainloop.test 1472s ok 31 /mainloop/source_time 1472s # slow test /mainloop/source_time executed in 1.00 secs 1472s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1472s ok 32 /mainloop/overflow 1472s ok 33 /mainloop/ready-time 1472s # slow test /mainloop/ready-time executed in 0.50 secs 1472s ok 34 /mainloop/wakeup 1472s ok 35 /mainloop/remove-invalid 1472s ok 36 /mainloop/unref-while-pending 1473s ok 37 /mainloop/unix-fd 1473s # slow test /mainloop/unix-fd executed in 0.89 secs 1473s ok 38 /mainloop/unix-fd-source 1473s ok 39 /mainloop/source-unix-fd-api 1474s ok 40 /mainloop/wait 1474s ok 41 /mainloop/unix-file-poll 1474s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1474s ok 42 /mainloop/unix-fd-priority 1474s ok 43 /mainloop/nfds 1474s ok 44 /mainloop/steal-fd 1476s ok 45 /mainloop/simultaneous-source-context-destruction 1476s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.97 secs 1476s # Start of ownerless-polling tests 1476s ok 46 /mainloop/ownerless-polling/attach-first 1476s ok 47 /mainloop/ownerless-polling/pop-first 1476s # End of ownerless-polling tests 1476s # End of mainloop tests 1476s PASS: glib/mainloop.test 1476s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.9s; system=5.6s; maxrss=10360 1476s autopkgtest [19:50:08]: test mainloop: -----------------------] 1480s autopkgtest [19:50:12]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1480s mainloop PASS 1484s autopkgtest [19:50:16]: test memory-monitor-dbus: preparing testbed 1485s Reading package lists... 1486s Building dependency tree... 1486s Reading state information... 1486s Solving dependencies... 1487s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1494s autopkgtest [19:50:26]: test memory-monitor-dbus: [----------------------- 1496s Running test: glib/memory-monitor-dbus.test 1496s TAP version 13 1496s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1496s # Received memory warning signal, level 1496s # Received memory warning signal, level 1496s # Received memory warning signal, level 1496s 1..1 1496s PASS: glib/memory-monitor-dbus.test 1496s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.1s; maxrss=20996 1497s autopkgtest [19:50:29]: test memory-monitor-dbus: -----------------------] 1500s memory-monitor-dbus PASS 1500s autopkgtest [19:50:32]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1504s autopkgtest [19:50:36]: test socket: preparing testbed 1506s Reading package lists... 1506s Building dependency tree... 1506s Reading state information... 1506s Solving dependencies... 1507s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1514s autopkgtest [19:50:46]: test socket: [----------------------- 1516s Running test: glib/socket.test 1516s TAP version 14 1516s # random seed: R02Se91e34a8f79821c06c868652cb1249fd 1516s 1..30 1516s # Start of socket tests 1517s ok 1 /socket/ipv4_sync 1517s # slow test /socket/ipv4_sync executed in 1.00 secs 1518s ok 2 /socket/ipv4_async 1518s # slow test /socket/ipv4_async executed in 1.00 secs 1518s ok 3 /socket/ipv6_sync 1518s ok 4 /socket/ipv6_async 1518s ok 5 /socket/ipv6_v4mapped 1519s ok 6 /socket/close_graceful 1519s # slow test /socket/close_graceful executed in 1.00 secs 1519s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1519s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1519s ok 8 /socket/fd_reuse 1519s ok 9 /socket/address 1519s ok 10 /socket/unix-from-fd 1519s ok 11 /socket/unix-connection 1519s ok 12 /socket/unix-connection-ancillary-data 1519s ok 13 /socket/source-postmortem 1519s ok 14 /socket/read_write 1519s ok 15 /socket/read_writev 1519s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1519s ok 16 /socket/receive_bytes 1519s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1519s ok 17 /socket/receive_bytes_from 1519s # Start of ipv4_sync tests 1519s ok 18 /socket/ipv4_sync/datagram 1519s # Start of datagram tests 1520s ok 19 /socket/ipv4_sync/datagram/timeouts 1520s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1520s # End of datagram tests 1520s # End of ipv4_sync tests 1520s # Start of ipv6_sync tests 1520s ok 20 /socket/ipv6_sync/datagram 1520s # Start of datagram tests 1521s Executing: glib/socket.test 1521s ok 21 /socket/ipv6_sync/datagram/timeouts 1521s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1521s # End of datagram tests 1521s # End of ipv6_sync tests 1521s # Start of reuse tests 1521s ok 22 /socket/reuse/tcp 1521s ok 23 /socket/reuse/udp 1521s # End of reuse tests 1521s # Start of get_available tests 1522s ok 24 /socket/get_available/datagram 1522s ok 25 /socket/get_available/stream 1522s # End of get_available tests 1522s # Start of credentials tests 1522s # Supported on this OS: GCredentials:linux-ucred:pid=0 1522s ok 26 /socket/credentials/tcp_client 1522s # Supported on this OS: GCredentials:linux-ucred:pid=0 1522s ok 27 /socket/credentials/tcp_server 1522s # Supported on this OS: GCredentials:linux-ucred:pid=65869,uid=1000,gid=1000 1522s ok 28 /socket/credentials/unix_socketpair 1522s # End of credentials tests 1522s # Start of accept tests 1522s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1522s ok 29 /socket/accept/cancelled 1522s # End of accept tests 1522s # Start of connect tests 1522s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1522s ok 30 /socket/connect/cancelled 1522s # End of connect tests 1522s # End of socket tests 1522s PASS: glib/socket.test 1522s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4096 1522s autopkgtest [19:50:54]: test socket: -----------------------] 1526s socket PASS 1526s autopkgtest [19:50:58]: test socket: - - - - - - - - - - results - - - - - - - - - - 1529s autopkgtest [19:51:01]: test testfilemonitor: preparing testbed 1531s Reading package lists... 1531s Building dependency tree... 1531s Reading state information... 1532s Solving dependencies... 1532s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1540s autopkgtest [19:51:12]: test testfilemonitor: [----------------------- 1542s Running test: glib/testfilemonitor.test 1542s TAP version 14 1542s # random seed: R02S0e2bd12fdf7662d358c7bb5c131eea23 1542s 1..8 1542s # Start of monitor tests 1542s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1542s # Using temporary directory: /tmp/gio-test-testfilemonitor_95JKE3 1542s # Using GFileMonitor GInotifyFileMonitor 1544s ok 1 /monitor/atomic-replace 1544s # slow test /monitor/atomic-replace executed in 2.00 secs 1544s # Using temporary directory: /tmp/gio-test-testfilemonitor_ZZNKE3 1544s # Using GFileMonitor GInotifyFileMonitor 1546s ok 2 /monitor/file-changes 1546s # slow test /monitor/file-changes executed in 2.50 secs 1546s # Using temporary directory: /tmp/gio-test-testfilemonitor_II6VE3 1546s # Using GFileMonitor GInotifyFileMonitor 1547s Executing: glib/testfilemonitor.test 1550s ok 3 /monitor/dir-monitor 1550s # slow test /monitor/dir-monitor executed in 3.51 secs 1550s # Using temporary directory: /tmp/gio-test-testfilemonitor_DJHKE3 1550s # Using GFileMonitor GInotifyFileMonitor 1552s Executing: glib/testfilemonitor.test 1557s Executing: glib/testfilemonitor.test 1562s Executing: glib/testfilemonitor.test 1567s Executing: glib/testfilemonitor.test 1572s Executing: glib/testfilemonitor.test 1575s ok 4 /monitor/dir-not-existent 1575s # slow test /monitor/dir-not-existent executed in 25.02 secs 1575s # Using temporary directory: /tmp/gio-test-testfilemonitor_B2YJE3 1575s # Using GFileMonitor 0 GInotifyFileMonitor 1575s # Using GFileMonitor 1 GInotifyFileMonitor 1577s ok 5 /monitor/cross-dir-moves 1577s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1577s # Using temporary directory: /tmp/gio-test-testfilemonitor_DOWJE3 1577s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 1577s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1577s ok 6 /monitor/finalize-in-callback 1577s # Using temporary directory: /tmp/gio-test-testfilemonitor_JZRJE3 1577s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1577s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1577s ok 7 /monitor/root 1577s # Start of file tests 1577s # Using temporary directory: /tmp/gio-test-testfilemonitor_NVRJE3 1577s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1577s # Running with hard link tests 1577s # Using GFileMonitor GInotifyFileMonitor 1577s Executing: glib/testfilemonitor.test 1580s # Event 0 at expected index 7 skipped because it is marked as optional 1580s # Event 2 at expected index 11 skipped because it is marked as optional 1580s ok 8 /monitor/file/hard-links 1580s # slow test /monitor/file/hard-links executed in 3.50 secs 1580s # End of file tests 1580s # End of monitor tests 1580s PASS: glib/testfilemonitor.test 1580s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4096 1581s autopkgtest [19:51:53]: test testfilemonitor: -----------------------] 1584s testfilemonitor PASS 1584s autopkgtest [19:51:56]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1588s autopkgtest [19:52:00]: test thread-pool-slow: preparing testbed 1590s Reading package lists... 1590s Building dependency tree... 1590s Reading state information... 1590s Solving dependencies... 1591s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1598s autopkgtest [19:52:10]: test thread-pool-slow: [----------------------- 1600s Running test: glib/thread-pool-slow.test 1600s TAP version 14 1600s # random seed: R02S9a194de585b9867002f051a4cb619e7b 1600s 1..7 1600s # Start of threadpool tests 1600s ok 1 /threadpool/functions 1601s ok 2 /threadpool/stop-unused 1601s # slow test /threadpool/stop-unused executed in 0.51 secs 1601s ok 3 /threadpool/pools 1601s # [unsorted] ===> pushed new thread with id:25, number of threads:1, unprocessed:1 1601s # [unsorted] ===> pushed new thread with id:54, number of threads:2, unprocessed:2 1601s # [unsorted] ===> pushed new thread with id:63, number of threads:3, unprocessed:3 1601s # [unsorted] ===> pushed new thread with id:9, number of threads:4, unprocessed:4 1601s # [unsorted] ===> pushed new thread with id:96, number of threads:5, unprocessed:5 1601s # [unsorted] ===> pushed new thread with id:93, number of threads:6, unprocessed:6 1601s # [unsorted] ===> pushed new thread with id:65, number of threads:7, unprocessed:7 1601s # [unsorted] ===> pushed new thread with id:99, number of threads:8, unprocessed:0 1601s # [unsorted] ===> pushed new thread with id:74, number of threads:9, unprocessed:1 1601s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:2 1601s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:3 1601s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:4 1601s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:5 1601s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:6 1601s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:6 1601s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:7 1601s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:8 1601s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:9 1601s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:10 1601s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:11 1601s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:12 1601s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:13 1601s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:14 1601s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:15 1601s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:16 1601s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:17 1601s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:18 1601s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:19 1601s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:20 1601s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:21 1601s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:22 1601s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:23 1601s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:24 1601s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:25 1601s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:26 1601s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:27 1601s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:28 1601s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:29 1601s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:30 1601s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:31 1601s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:32 1601s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:33 1601s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:34 1601s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:35 1601s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:36 1601s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:37 1601s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:38 1601s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:39 1601s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:40 1601s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:41 1601s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:42 1601s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:43 1601s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:44 1601s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:45 1601s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:46 1601s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:47 1601s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:48 1601s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:49 1601s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:50 1601s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:51 1601s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:52 1601s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:53 1601s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:54 1601s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:55 1601s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:56 1601s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:57 1601s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:58 1601s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:59 1601s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:60 1601s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:61 1601s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:62 1601s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:63 1601s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:64 1601s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:65 1601s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:66 1601s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:67 1601s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:68 1601s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:69 1601s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:70 1601s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:71 1601s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:72 1601s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:73 1601s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:74 1601s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:75 1601s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:76 1601s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:77 1601s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:78 1601s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:79 1601s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:80 1601s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:81 1601s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:82 1601s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:83 1601s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:84 1601s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:85 1601s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:86 1601s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:87 1601s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:88 1601s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:89 1601s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:90 1601s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:91 1601s ok 4 /threadpool/no-sort 1601s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:1 1601s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:2 1601s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:3 1601s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:4 1601s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:5 1601s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:6 1601s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:7 1601s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:8 1601s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:9 1601s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:10 1601s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:11 1601s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:12 1601s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:13 1601s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:14 1601s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:15 1601s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:16 1601s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:17 1601s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:18 1601s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:19 1601s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:20 1601s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:21 1601s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:22 1601s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:23 1601s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:24 1601s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:25 1601s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:26 1601s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:27 1601s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:28 1601s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:29 1601s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:30 1601s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:31 1601s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:32 1601s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:33 1601s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:34 1601s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:35 1601s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:36 1601s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:37 1601s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:38 1601s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:39 1601s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:40 1601s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:41 1601s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:42 1601s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:43 1601s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:44 1601s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:45 1601s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:46 1601s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:47 1601s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:48 1601s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:49 1601s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:50 1601s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:51 1601s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:52 1601s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:53 1601s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:54 1601s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:55 1601s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:56 1601s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:57 1601s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:58 1601s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:59 1601s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:60 1601s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:61 1601s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:62 1601s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:63 1601s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:64 1601s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:65 1601s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:66 1601s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:67 1601s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:68 1601s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:69 1601s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:70 1601s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:71 1601s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:72 1601s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:73 1601s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:74 1601s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:75 1601s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:76 1601s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:77 1601s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:78 1601s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:79 1601s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:80 1601s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:81 1601s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:82 1601s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:83 1601s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:84 1601s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:85 1601s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:86 1601s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:87 1601s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:88 1601s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:89 1601s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:90 1601s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:91 1601s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:92 1601s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:93 1601s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:94 1601s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:95 1601s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:96 1601s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:97 1601s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:98 1601s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:99 1601s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:100 1601s # Starting thread pool processing 1601s ok 5 /threadpool/sort 1601s ok 6 /threadpool/stop-unused-multiple 1601s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1601s # Pool idle thread count: 0, unprocessed jobs: 40 1602s # Pool idle thread count: 0, unprocessed jobs: 0 1602s # Pool idle thread count: 0, unprocessed jobs: 0 1602s # Pool idle thread count: 10, unprocessed jobs: 0 1602s # Pool idle thread count: 10, unprocessed jobs: 0 1603s # Pool idle thread count: 10, unprocessed jobs: 0 1603s # Pool idle thread count: 10, unprocessed jobs: 0 1603s # Pool idle thread count: 10, unprocessed jobs: 0 1603s # Pool idle thread count: 10, unprocessed jobs: 0 1604s # Pool idle thread count: 10, unprocessed jobs: 0 1604s # Pool idle thread count: 10, unprocessed jobs: 0 1604s # Pool idle thread count: 10, unprocessed jobs: 0 1604s # Pool idle thread count: 10, unprocessed jobs: 0 1605s # Pool idle thread count: 10, unprocessed jobs: 0 1605s # Pool idle thread count: 10, unprocessed jobs: 0 1605s Executing: glib/thread-pool-slow.test 1605s # Pool idle thread count: 10, unprocessed jobs: 0 1605s # Pool idle thread count: 10, unprocessed jobs: 0 1606s # Pool idle thread count: 10, unprocessed jobs: 0 1606s # Pool idle thread count: 10, unprocessed jobs: 0 1606s # Pool idle thread count: 10, unprocessed jobs: 0 1606s # Pool idle thread count: 10, unprocessed jobs: 0 1607s # Pool idle thread count: 10, unprocessed jobs: 0 1607s # Pool idle thread count: 10, unprocessed jobs: 0 1607s # Pool idle thread count: 10, unprocessed jobs: 0 1607s # Pool idle thread count: 10, unprocessed jobs: 0 1608s # Pool idle thread count: 10, unprocessed jobs: 0 1608s # Pool idle thread count: 10, unprocessed jobs: 0 1608s # Pool idle thread count: 10, unprocessed jobs: 0 1608s # Pool idle thread count: 10, unprocessed jobs: 0 1609s # Pool idle thread count: 10, unprocessed jobs: 0 1609s # Pool idle thread count: 10, unprocessed jobs: 0 1609s # Pool idle thread count: 10, unprocessed jobs: 0 1609s # Pool idle thread count: 10, unprocessed jobs: 0 1610s # Pool idle thread count: 10, unprocessed jobs: 0 1610s # Pool idle thread count: 10, unprocessed jobs: 0 1610s Executing: glib/thread-pool-slow.test 1610s # Pool idle thread count: 10, unprocessed jobs: 2 1610s # Pool idle thread count: 9, unprocessed jobs: 1 1610s # Pool idle thread count: 8, unprocessed jobs: 0 1610s # Pool idle thread count: 8, unprocessed jobs: 0 1611s # Pool idle thread count: 10, unprocessed jobs: 0 1611s # Pool idle thread count: 10, unprocessed jobs: 0 1611s # Pool idle thread count: 10, unprocessed jobs: 0 1611s # Pool idle thread count: 10, unprocessed jobs: 0 1612s # Pool idle thread count: 10, unprocessed jobs: 0 1612s # Pool idle thread count: 10, unprocessed jobs: 0 1612s # Pool idle thread count: 2, unprocessed jobs: 0 1612s # Pool idle thread count: 2, unprocessed jobs: 0 1613s # Pool idle thread count: 2, unprocessed jobs: 0 1613s # Pool idle thread count: 2, unprocessed jobs: 0 1613s # Pool idle thread count: 2, unprocessed jobs: 0 1613s # Pool idle thread count: 2, unprocessed jobs: 0 1614s # Pool idle thread count: 2, unprocessed jobs: 0 1614s # Pool idle thread count: 2, unprocessed jobs: 0 1614s # Pool idle thread count: 2, unprocessed jobs: 0 1614s # Pool idle thread count: 2, unprocessed jobs: 0 1615s # Pool idle thread count: 2, unprocessed jobs: 0 1615s # Pool idle thread count: 2, unprocessed jobs: 0 1615s Executing: glib/thread-pool-slow.test 1615s # Pool idle thread count: 2, unprocessed jobs: 0 1615s # Pool idle thread count: 2, unprocessed jobs: 0 1616s # Pool idle thread count: 2, unprocessed jobs: 0 1616s # Pool idle thread count: 2, unprocessed jobs: 0 1616s # Pool idle thread count: 2, unprocessed jobs: 0 1616s # Pool idle thread count: 2, unprocessed jobs: 0 1617s # Pool idle thread count: 2, unprocessed jobs: 0 1617s # Pool idle thread count: 2, unprocessed jobs: 0 1617s # Pool idle thread count: 2, unprocessed jobs: 0 1617s # Pool idle thread count: 2, unprocessed jobs: 0 1618s # Pool idle thread count: 2, unprocessed jobs: 0 1618s # Pool idle thread count: 2, unprocessed jobs: 0 1618s # Pool idle thread count: 2, unprocessed jobs: 0 1618s # Pool idle thread count: 2, unprocessed jobs: 0 1619s # Pool idle thread count: 2, unprocessed jobs: 0 1619s # Pool idle thread count: 2, unprocessed jobs: 0 1619s # Pool idle thread count: 2, unprocessed jobs: 0 1619s # Pool idle thread count: 2, unprocessed jobs: 0 1620s # Pool idle thread count: 2, unprocessed jobs: 0 1620s # Pool idle thread count: 2, unprocessed jobs: 0 1620s Executing: glib/thread-pool-slow.test 1620s # Pool idle thread count: 2, unprocessed jobs: 0 1620s # Pool idle thread count: 2, unprocessed jobs: 0 1621s ok 7 /threadpool/idle-time 1621s # slow test /threadpool/idle-time executed in 19.52 secs 1621s # End of threadpool tests 1621s PASS: glib/thread-pool-slow.test 1621s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=2560 1621s autopkgtest [19:52:33]: test thread-pool-slow: -----------------------] 1625s thread-pool-slow PASS 1625s autopkgtest [19:52:37]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1629s autopkgtest [19:52:41]: test threadtests: preparing testbed 1631s Reading package lists... 1631s Building dependency tree... 1631s Reading state information... 1632s Solving dependencies... 1632s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1640s autopkgtest [19:52:52]: test threadtests: [----------------------- 1642s Running test: glib/threadtests.test 1642s TAP version 14 1642s # random seed: R02S038e177ef7f451d09f3b56519b02e816 1642s 1..5 1642s # Start of GObject tests 1642s ok 1 /GObject/threaded-object-init 1642s ok 2 /GObject/threaded-weak-ref 1642s # slow test /GObject/threaded-weak-ref executed in 0.79 secs 1642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1642s # /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 1647s Executing: glib/threadtests.test 1652s Executing: glib/threadtests.test 1657s Executing: glib/threadtests.test 1662s Executing: glib/threadtests.test 1667s Executing: glib/threadtests.test 1672s Executing: glib/threadtests.test 1677s Executing: glib/threadtests.test 1677s ok 3 /GObject/threaded-toggle-notify 1677s # slow test /GObject/threaded-toggle-notify executed in 34.70 secs 1677s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1677s # Start of threaded-weak-ref tests 1677s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1677s # /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. 1677s ok 5 /GObject/threaded-weak-ref/on-finalization 1677s # End of threaded-weak-ref tests 1677s # End of GObject tests 1677s PASS: glib/threadtests.test 1677s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=137.4s; system=0.5s; maxrss=2560 1678s autopkgtest [19:53:30]: test threadtests: -----------------------] 1681s threadtests PASS 1681s autopkgtest [19:53:33]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1685s autopkgtest [19:53:37]: test timeout: preparing testbed 1687s Reading package lists... 1687s Building dependency tree... 1687s Reading state information... 1687s Solving dependencies... 1688s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1695s autopkgtest [19:53:47]: test timeout: [----------------------- 1697s Running test: glib/timeout.test 1697s TAP version 14 1697s # random seed: R02Sd5c6b0d5a6014b4a5050f9e3a8b8f13e 1697s 1..5 1697s # Start of timeout tests 1697s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1699s ok 1 /timeout/seconds 1699s # slow test /timeout/seconds executed in 2.10 secs 1701s ok 2 /timeout/seconds-once 1701s # slow test /timeout/seconds-once executed in 2.10 secs 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1702s Executing: glib/timeout.test 1703s ok 3 /timeout/weeks-overflow 1703s # slow test /timeout/weeks-overflow executed in 2.10 secs 1703s ok 4 /timeout/far-future-ready-time 1707s Executing: glib/timeout.test 1712s Executing: glib/timeout.test 1714s ok 5 /timeout/rounding 1714s # slow test /timeout/rounding executed in 10.74 secs 1714s # End of timeout tests 1714s PASS: glib/timeout.test 1714s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=1920 1714s autopkgtest [19:54:06]: test timeout: -----------------------] 1718s autopkgtest [19:54:10]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1718s timeout PASS 1722s autopkgtest [19:54:14]: test timer: preparing testbed 1724s Reading package lists... 1724s Building dependency tree... 1724s Reading state information... 1724s Solving dependencies... 1725s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1732s autopkgtest [19:54:24]: test timer: [----------------------- 1734s Running test: glib/timer.test 1734s TAP version 14 1734s # random seed: R02S3c2b9977c81189da9bf5c20b50cbb8e9 1734s 1..10 1734s # Start of timer tests 1734s ok 1 /timer/basic 1734s ok 2 /timer/stop 1734s ok 3 /timer/continue 1734s ok 4 /timer/reset 1734s ok 5 /timer/is_active 1734s # End of timer tests 1734s # Start of timeval tests 1734s ok 6 /timeval/add 1734s ok 7 /timeval/from-iso8601 1734s ok 8 /timeval/to-iso8601 1734s # Start of to-iso8601 tests 1734s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 1734s # End of to-iso8601 tests 1734s # End of timeval tests 1734s # Start of usleep tests 1734s ok 10 /usleep/with-zero-wait 1734s # End of usleep tests 1734s PASS: glib/timer.test 1734s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2176 1734s autopkgtest [19:54:26]: test timer: -----------------------] 1738s autopkgtest [19:54:30]: test timer: - - - - - - - - - - results - - - - - - - - - - 1738s timer PASS 1742s autopkgtest [19:54:34]: test 1065022-futureproofing: preparing testbed 1763s autopkgtest [19:54:55]: testbed dpkg architecture: armhf 1765s autopkgtest [19:54:57]: testbed apt version: 3.1.6ubuntu2 1769s autopkgtest [19:55:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1771s autopkgtest [19:55:03]: testbed release detected to be: resolute 1778s autopkgtest [19:55:10]: updating testbed package index (apt update) 1780s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 1780s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [83.3 kB] 1780s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1780s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1780s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 1781s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 1781s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 1781s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 1781s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [85.4 kB] 1781s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 1781s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [321 kB] 1781s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [3680 B] 1781s Get:13 http://ftpmaster.internal/ubuntu resolute/restricted Sources [14.4 kB] 1781s Get:14 http://ftpmaster.internal/ubuntu resolute/main Sources [1399 kB] 1781s Get:15 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [307 kB] 1781s Get:16 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.1 MB] 1782s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1357 kB] 1782s Get:18 http://ftpmaster.internal/ubuntu resolute/restricted armhf Packages [1672 B] 1782s Get:19 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.8 MB] 1783s Get:20 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [182 kB] 1786s Fetched 40.3 MB in 6s (6640 kB/s) 1787s Reading package lists... 1792s autopkgtest [19:55:24]: upgrading testbed (apt dist-upgrade and autopurge) 1794s Reading package lists... 1795s Building dependency tree... 1795s Reading state information... 1795s Calculating upgrade... 1796s The following packages will be upgraded: 1796s apparmor apt base-files binutils binutils-arm-linux-gnueabihf 1796s binutils-common cloud-init cloud-init-base distro-info-data gcc-15-base 1796s gir1.2-girepository-2.0 libapparmor1 libapt-pkg7.0 libatomic1 libbinutils 1796s libctf-nobfd0 libctf0 libgcc-s1 libgirepository-1.0-1 libpython3-stdlib 1796s libsframe2 libstdc++6 lto-disabled-list python3 python3-minimal sudo-rs 1796s 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1796s Need to get 7366 kB of archives. 1796s After this operation, 14.3 kB of additional disk space will be used. 1796s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf base-files armhf 14ubuntu4 [75.4 kB] 1796s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf libatomic1 armhf 15.2.0-5ubuntu1 [7942 B] 1796s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-base armhf 15.2.0-5ubuntu1 [58.1 kB] 1796s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-s1 armhf 15.2.0-5ubuntu1 [40.6 kB] 1797s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++6 armhf 15.2.0-5ubuntu1 [731 kB] 1797s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libapt-pkg7.0 armhf 3.1.8ubuntu1 [1148 kB] 1797s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf apt armhf 3.1.8ubuntu1 [1404 kB] 1797s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.7-2 [27.8 kB] 1797s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.7-2 [23.9 kB] 1797s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.7-2 [10.6 kB] 1797s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf distro-info-data all 0.67~ubuntu1 [7004 B] 1797s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libgirepository-1.0-1 armhf 1.86.0-6 [111 kB] 1797s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf gir1.2-girepository-2.0 armhf 1.86.0-6 [25.3 kB] 1797s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libapparmor1 armhf 5.0.0~alpha1-0ubuntu8.1 [52.9 kB] 1797s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf sudo-rs armhf 0.2.8-1ubuntu5.1 [548 kB] 1797s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf apparmor armhf 5.0.0~alpha1-0ubuntu8.1 [631 kB] 1797s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf libctf0 armhf 2.45-7ubuntu2 [75.7 kB] 1797s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf libctf-nobfd0 armhf 2.45-7ubuntu2 [79.1 kB] 1797s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-arm-linux-gnueabihf armhf 2.45-7ubuntu2 [1022 kB] 1797s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf libbinutils armhf 2.45-7ubuntu2 [411 kB] 1797s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf binutils armhf 2.45-7ubuntu2 [3240 B] 1797s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-common armhf 2.45-7ubuntu2 [220 kB] 1797s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf libsframe2 armhf 2.45-7ubuntu2 [13.4 kB] 1797s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init-base all 25.3-0ubuntu1 [625 kB] 1797s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init all 25.3-0ubuntu1 [2106 B] 1797s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf lto-disabled-list all 71 [12.5 kB] 1798s Preconfiguring packages ... 1798s Fetched 7366 kB in 1s (5098 kB/s) 1798s (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 ... 61081 files and directories currently installed.) 1798s Preparing to unpack .../base-files_14ubuntu4_armhf.deb ... 1798s Unpacking base-files (14ubuntu4) over (14ubuntu3) ... 1798s Setting up base-files (14ubuntu4) ... 1798s Installing new version of config file /etc/issue ... 1798s Installing new version of config file /etc/issue.net ... 1798s Installing new version of config file /etc/lsb-release ... 1799s motd-news.service is a disabled or a static unit not running, not starting it. 1799s (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 ... 61081 files and directories currently installed.) 1799s Preparing to unpack .../libatomic1_15.2.0-5ubuntu1_armhf.deb ... 1799s Unpacking libatomic1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 1799s Preparing to unpack .../gcc-15-base_15.2.0-5ubuntu1_armhf.deb ... 1799s Unpacking gcc-15-base:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 1799s Setting up gcc-15-base:armhf (15.2.0-5ubuntu1) ... 1799s (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 ... 61081 files and directories currently installed.) 1799s Preparing to unpack .../libgcc-s1_15.2.0-5ubuntu1_armhf.deb ... 1799s Unpacking libgcc-s1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 1799s Setting up libgcc-s1:armhf (15.2.0-5ubuntu1) ... 1799s (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 ... 61081 files and directories currently installed.) 1799s Preparing to unpack .../libstdc++6_15.2.0-5ubuntu1_armhf.deb ... 1799s Unpacking libstdc++6:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 1800s Setting up libstdc++6:armhf (15.2.0-5ubuntu1) ... 1800s (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 ... 61081 files and directories currently installed.) 1800s Preparing to unpack .../libapt-pkg7.0_3.1.8ubuntu1_armhf.deb ... 1800s Unpacking libapt-pkg7.0:armhf (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 1800s Setting up libapt-pkg7.0:armhf (3.1.8ubuntu1) ... 1800s (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 ... 61081 files and directories currently installed.) 1800s Preparing to unpack .../apt_3.1.8ubuntu1_armhf.deb ... 1800s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 1800s Setting up apt (3.1.8ubuntu1) ... 1801s (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 ... 61081 files and directories currently installed.) 1801s Preparing to unpack .../python3-minimal_3.13.7-2_armhf.deb ... 1801s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 1801s Setting up python3-minimal (3.13.7-2) ... 1801s (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 ... 61081 files and directories currently installed.) 1801s Preparing to unpack .../00-python3_3.13.7-2_armhf.deb ... 1801s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 1801s Preparing to unpack .../01-libpython3-stdlib_3.13.7-2_armhf.deb ... 1801s Unpacking libpython3-stdlib:armhf (3.13.7-2) over (3.13.7-1) ... 1801s Preparing to unpack .../02-distro-info-data_0.67~ubuntu1_all.deb ... 1801s Unpacking distro-info-data (0.67~ubuntu1) over (0.66) ... 1801s Preparing to unpack .../03-libgirepository-1.0-1_1.86.0-6_armhf.deb ... 1801s Unpacking libgirepository-1.0-1:armhf (1.86.0-6) over (1.84.0-1) ... 1801s Preparing to unpack .../04-gir1.2-girepository-2.0_1.86.0-6_armhf.deb ... 1801s Unpacking gir1.2-girepository-2.0:armhf (1.86.0-6) over (1.84.0-1) ... 1801s Preparing to unpack .../05-libapparmor1_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 1801s Unpacking libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 1801s Preparing to unpack .../06-sudo-rs_0.2.8-1ubuntu5.1_armhf.deb ... 1801s Unpacking sudo-rs (0.2.8-1ubuntu5.1) over (0.2.8-1ubuntu5) ... 1801s Preparing to unpack .../07-apparmor_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 1802s Unpacking apparmor (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 1803s Preparing to unpack .../08-libctf0_2.45-7ubuntu2_armhf.deb ... 1803s Unpacking libctf0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 1803s Preparing to unpack .../09-libctf-nobfd0_2.45-7ubuntu2_armhf.deb ... 1803s Unpacking libctf-nobfd0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 1803s Preparing to unpack .../10-binutils-arm-linux-gnueabihf_2.45-7ubuntu2_armhf.deb ... 1803s Unpacking binutils-arm-linux-gnueabihf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 1803s Preparing to unpack .../11-libbinutils_2.45-7ubuntu2_armhf.deb ... 1803s Unpacking libbinutils:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 1803s Preparing to unpack .../12-binutils_2.45-7ubuntu2_armhf.deb ... 1803s Unpacking binutils (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 1803s Preparing to unpack .../13-binutils-common_2.45-7ubuntu2_armhf.deb ... 1803s Unpacking binutils-common:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 1803s Preparing to unpack .../14-libsframe2_2.45-7ubuntu2_armhf.deb ... 1803s Unpacking libsframe2:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 1803s Preparing to unpack .../15-cloud-init-base_25.3-0ubuntu1_all.deb ... 1804s Unpacking cloud-init-base (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 1804s Preparing to unpack .../16-cloud-init_25.3-0ubuntu1_all.deb ... 1804s Unpacking cloud-init (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 1804s Preparing to unpack .../17-lto-disabled-list_71_all.deb ... 1804s Unpacking lto-disabled-list (71) over (69) ... 1804s Setting up lto-disabled-list (71) ... 1804s Setting up libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) ... 1804s Setting up distro-info-data (0.67~ubuntu1) ... 1804s Setting up libsframe2:armhf (2.45-7ubuntu2) ... 1804s Setting up binutils-common:armhf (2.45-7ubuntu2) ... 1804s Setting up libctf-nobfd0:armhf (2.45-7ubuntu2) ... 1804s Setting up apparmor (5.0.0~alpha1-0ubuntu8.1) ... 1804s Installing new version of config file /etc/apparmor.d/fusermount3 ... 1804s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1804s 1804s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1804s 1804s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1804s 1805s Reloading AppArmor profiles 1805s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1805s 1805s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1805s 1805s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1805s 1805s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1805s 1805s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1805s 1805s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1805s 1805s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1805s 1805s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1805s 1805s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1805s 1806s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "bwrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "babeld". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "bfdd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "bgpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "alsamixer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "dnstracer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "eigrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "fabricd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "dig". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "hostname". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "iotop-c". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "fusermount3". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "isisd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "gs". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "john". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "ldpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "irssi". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "linux-boot-prober". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "compressor". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "locale". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "lsblk". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "lsusb". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "mosquitto". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Unable to replace "mbsync". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Unable to replace "nhrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "nslookup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "notify-send". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "nc.openbsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "ospf6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "ospfd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "pbrd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "pathd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "pim6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "os-prober". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "pimd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "ripngd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "qpdf". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "ripd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "ssh-keyscan". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "openvpn". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "systemd-detect-virt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Unable to replace "staticd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "proftpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "tinyproxy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "mx-extract". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "rygel". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "/usr/sbin/chronyd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "vrrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "wg". /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "dumpcap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "tshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "cmds". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "tnftp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "who". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "wg-quick". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "znc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1806s 1806s Error: At least one profile failed to load 1806s Setting up libatomic1:armhf (15.2.0-5ubuntu1) ... 1806s Setting up libgirepository-1.0-1:armhf (1.86.0-6) ... 1806s Setting up libbinutils:armhf (2.45-7ubuntu2) ... 1806s Setting up sudo-rs (0.2.8-1ubuntu5.1) ... 1806s Setting up libpython3-stdlib:armhf (3.13.7-2) ... 1806s Setting up libctf0:armhf (2.45-7ubuntu2) ... 1806s Setting up python3 (3.13.7-2) ... 1806s Setting up cloud-init-base (25.3-0ubuntu1) ... 1808s Setting up gir1.2-girepository-2.0:armhf (1.86.0-6) ... 1808s Setting up binutils-arm-linux-gnueabihf (2.45-7ubuntu2) ... 1808s Setting up cloud-init (25.3-0ubuntu1) ... 1808s Setting up binutils (2.45-7ubuntu2) ... 1808s Processing triggers for plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu1) ... 1808s Processing triggers for procps (2:4.0.4-8ubuntu3) ... 1808s Processing triggers for install-info (7.1.1-1ubuntu1) ... 1808s Processing triggers for libc-bin (2.42-0ubuntu3) ... 1808s Processing triggers for rsyslog (8.2504.0-1ubuntu2) ... 1808s Processing triggers for systemd (257.9-0ubuntu2) ... 1808s Processing triggers for man-db (2.13.1-1) ... 1813s Reading package lists... 1813s Building dependency tree... 1813s Reading state information... 1814s Solving dependencies... 1814s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1816s autopkgtest [19:55:48]: rebooting testbed after setup commands that affected boot 1879s Reading package lists... 1879s Building dependency tree... 1879s Reading state information... 1879s Solving dependencies... 1880s The following NEW packages will be installed: 1880s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1880s libdconf1 1880s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1880s Need to get 140 kB of archives. 1880s After this operation, 634 kB of additional disk space will be used. 1880s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libdconf1 armhf 0.40.0-5willsync1 [38.9 kB] 1880s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf dconf-service armhf 0.40.0-5willsync1 [27.7 kB] 1880s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf dconf-gsettings-backend armhf 0.40.0-5willsync1 [24.0 kB] 1880s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf dpkg-repack all 1.54 [11.2 kB] 1880s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf gsettings-desktop-schemas all 49.0-1ubuntu1 [38.1 kB] 1881s Fetched 140 kB in 0s (327 kB/s) 1882s Selecting previously unselected package libdconf1:armhf. 1882s (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 ... 61081 files and directories currently installed.) 1882s Preparing to unpack .../libdconf1_0.40.0-5willsync1_armhf.deb ... 1882s Unpacking libdconf1:armhf (0.40.0-5willsync1) ... 1882s Selecting previously unselected package dconf-service. 1882s Preparing to unpack .../dconf-service_0.40.0-5willsync1_armhf.deb ... 1882s Unpacking dconf-service (0.40.0-5willsync1) ... 1882s Selecting previously unselected package dconf-gsettings-backend:armhf. 1882s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5willsync1_armhf.deb ... 1882s Unpacking dconf-gsettings-backend:armhf (0.40.0-5willsync1) ... 1882s Selecting previously unselected package dpkg-repack. 1882s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1882s Unpacking dpkg-repack (1.54) ... 1882s Selecting previously unselected package gsettings-desktop-schemas. 1882s Preparing to unpack .../gsettings-desktop-schemas_49.0-1ubuntu1_all.deb ... 1882s Unpacking gsettings-desktop-schemas (49.0-1ubuntu1) ... 1882s Setting up dpkg-repack (1.54) ... 1882s Setting up libdconf1:armhf (0.40.0-5willsync1) ... 1882s Setting up dconf-service (0.40.0-5willsync1) ... 1882s Setting up dconf-gsettings-backend:armhf (0.40.0-5willsync1) ... 1882s Setting up gsettings-desktop-schemas (49.0-1ubuntu1) ... 1882s Processing triggers for man-db (2.13.1-1) ... 1882s Processing triggers for libglib2.0-0t64:armhf (2.86.0-2) ... 1882s Processing triggers for libc-bin (2.42-0ubuntu3) ... 1896s autopkgtest [19:57:08]: test 1065022-futureproofing: [----------------------- 1898s + export DEBIAN_FRONTEND=noninteractive 1898s + n=0 1898s + failed=0 1898s + binary_package=libglib2.0-0t64 1898s + future_binary_package=libglib2.0-0xyz 1898s + pwd 1898s + srcdir=/tmp/autopkgtest.N9ntvz/build.gKy/src 1898s + mktemp -d 1898s + tmpdir=/tmp/tmp.7p3V1kkdqM 1898s + cd /tmp/tmp.7p3V1kkdqM 1898s + exec 1898s + [ -e /tmp/autopkgtest.N9ntvz/build.gKy/src/debian/tests/manual/local-1065022.sources ] 1898s + dpkg-query -W dpkg-repack 1898s dpkg-repack 1.54 1898s + dpkg-query -s libglib2.0-0t64 1898s Package: libglib2.0-0t64 1898s Status: install ok installed 1898s Priority: important 1898s Section: libs 1898s Installed-Size: 3447 1898s Maintainer: Ubuntu Developers 1898s Architecture: armhf 1898s Multi-Arch: same 1898s Source: glib2.0 1898s Version: 2.86.0-2 1898s Replaces: libglib2.0-0 (<< 2.80.0-7~) 1898s Provides: libgio-2.0-0 (= 2.86.0-2), libglib-2.0-0 (= 2.86.0-2), libgmodule-2.0-0 (= 2.86.0-2), libgobject-2.0-0 (= 2.86.0-2), libgthread-2.0-0 (= 2.86.0-2) 1898s 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) 1898s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1898s Suggests: low-memory-monitor 1898s Breaks: glib-networking-tests (<< 2.70.0~), gnome-keyring (<< 40.0-3~), gnome-shell (<< 44.9-2~), libedataserver-1.2-26 (<< 3.44.3-2~), libgladeui-2-6 (<< 3.22.2), libglib2.0-0 (<< 2.80.0-7~), libsoup2.4-tests (<< 2.72.0-3~) 1898s Description: GLib library of C routines 1898s GLib is a library containing many useful C routines for things such 1898s as trees, hashes, lists, and strings. It is a useful general-purpose 1898s C library used by projects such as GTK+, GIMP, and GNOME. 1898s . 1898s This package contains the shared libraries. 1898s Original-Maintainer: Debian GNOME Maintainers 1898s Homepage: https://gitlab.gnome.org/GNOME/glib 1898s + dpkg-query -W -f ${Version} libglib2.0-0t64 1898s + binary_version=2.86.0-2 1898s + dpkg-repack --generate libglib2.0-0t64 1899s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1899s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.Vrdy4z for libglib2.0-0t64 1899s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.Vrdy4z ." 1899s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.Vrdy4z/DEBIAN/control 1899s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.Vrdy4z/DEBIAN/control 1899s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.Vrdy4z/DEBIAN/control 1899s + env binary_package=libglib2.0-0t64 binary_version=2.86.0-2 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package} (= $ENV{binary_version})/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.Vrdy4z/DEBIAN/control 1899s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.Vrdy4z libglib2.0-0xyz.deb 1899s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1900s + dpkg-deb --info libglib2.0-0xyz.deb 1900s new Debian package, version 2.0. 1900s size 1479698 bytes: control archive=25861 bytes. 1900s 1354 bytes, 24 lines control 1900s 1168 bytes, 14 lines md5sums 1900s 1312 bytes, 44 lines * postinst #!/bin/sh 1900s 2580 bytes, 87 lines * postrm #!/bin/sh 1900s 2408 bytes, 53 lines * preinst #!/bin/sh 1900s 466 bytes, 10 lines shlibs 1900s 172677 bytes, 4529 lines symbols 1900s 176 bytes, 4 lines triggers 1900s Package: libglib2.0-0xyz 1900s Source: glib2.0 1900s Version: 2.86.0-2 1900s Architecture: armhf 1900s Maintainer: Ubuntu Developers 1900s Installed-Size: 3447 1900s 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) 1900s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1900s Suggests: low-memory-monitor 1900s Breaks: glib-networking-tests (<< 2.70.0~), gnome-keyring (<< 40.0-3~), gnome-shell (<< 44.9-2~), libedataserver-1.2-26 (<< 3.44.3-2~), libgladeui-2-6 (<< 3.22.2), libglib2.0-0 (<< 2.80.0-7~), libsoup2.4-tests (<< 2.72.0-3~), libglib2.0-0t64 1900s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1900s Provides: libgio-2.0-0 (= 2.86.0-2), libglib-2.0-0 (= 2.86.0-2), libgmodule-2.0-0 (= 2.86.0-2), libgobject-2.0-0 (= 2.86.0-2), libgthread-2.0-0 (= 2.86.0-2), libglib2.0-0t64 (= 2.86.0-2) 1900s Section: libs 1900s Priority: important 1900s Multi-Arch: same 1900s Homepage: https://gitlab.gnome.org/GNOME/glib 1900s Description: GLib library of C routines 1900s GLib is a library containing many useful C routines for things such 1900s as trees, hashes, lists, and strings. It is a useful general-purpose 1900s C library used by projects such as GTK+, GIMP, and GNOME. 1900s . 1900s This package contains the shared libraries. 1900s . 1900s (Repackaged on Sat, 18 Oct 2025 19:57:11 +0000 by dpkg-repack.) 1900s + dpkg-deb --contents libglib2.0-0xyz.deb 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./ 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./usr/ 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./usr/lib/ 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./usr/lib/arm-linux-gnueabihf/ 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./usr/lib/arm-linux-gnueabihf/gio/ 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./usr/lib/arm-linux-gnueabihf/gio/modules/ 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./usr/lib/arm-linux-gnueabihf/glib-2.0/ 1900s -rwxr-xr-x root/root 67176 2025-09-12 02:01 ./usr/lib/arm-linux-gnueabihf/glib-2.0/gio-launch-desktop 1900s -rwxr-xr-x root/root 67176 2025-09-12 02:01 ./usr/lib/arm-linux-gnueabihf/glib-2.0/gio-querymodules 1900s -rwxr-xr-x root/root 67196 2025-09-12 02:01 ./usr/lib/arm-linux-gnueabihf/glib-2.0/glib-compile-schemas 1900s -rw-r--r-- root/root 1312984 2025-09-12 02:01 ./usr/lib/arm-linux-gnueabihf/libgio-2.0.so.0.8600.0 1900s -rw-r--r-- root/root 1051024 2025-09-12 02:01 ./usr/lib/arm-linux-gnueabihf/libglib-2.0.so.0.8600.0 1900s -rw-r--r-- root/root 67048 2025-09-12 02:01 ./usr/lib/arm-linux-gnueabihf/libgmodule-2.0.so.0.8600.0 1900s -rw-r--r-- root/root 264408 2025-09-12 02:01 ./usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0.8600.0 1900s -rw-r--r-- root/root 67016 2025-09-12 02:01 ./usr/lib/arm-linux-gnueabihf/libgthread-2.0.so.0.8600.0 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./usr/share/ 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./usr/share/doc/ 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./usr/share/doc/libglib2.0-0t64/ 1900s -rw-r--r-- root/root 256698 2025-09-05 12:42 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 1900s -rw-r--r-- root/root 1703 2025-09-12 02:01 ./usr/share/doc/libglib2.0-0t64/README.Debian 1900s -rw-r--r-- root/root 3248 2025-09-05 12:42 ./usr/share/doc/libglib2.0-0t64/README.md 1900s -rw-r--r-- root/root 37088 2025-09-12 02:01 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 1900s -rw-r--r-- root/root 55103 2025-09-12 02:01 ./usr/share/doc/libglib2.0-0t64/copyright 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./usr/share/glib-2.0/ 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./usr/share/glib-2.0/schemas/ 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./usr/share/lintian/ 1900s drwxr-xr-x root/root 0 2025-10-18 19:57 ./usr/share/lintian/overrides/ 1900s -rw-r--r-- root/root 520 2025-09-12 02:01 ./usr/share/lintian/overrides/libglib2.0-0t64 1900s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/arm-linux-gnueabihf/libgio-2.0.so.0 -> libgio-2.0.so.0.8600.0 1900s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/arm-linux-gnueabihf/libglib-2.0.so.0 -> libglib-2.0.so.0.8600.0 1900s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/arm-linux-gnueabihf/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8600.0 1900s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8600.0 1900s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/arm-linux-gnueabihf/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8600.0 1900s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 1900s Reading package lists... 1901s Building dependency tree... 1901s Reading state information... 1901s dconf-gsettings-backend is already the newest version (0.40.0-5willsync1). 1901s gsettings-desktop-schemas is already the newest version (49.0-1ubuntu1). 1901s Solving dependencies... 1902s The following additional packages will be installed: 1902s xdg-user-dirs 1902s Suggested packages: 1902s low-memory-monitor 1902s The following packages will be REMOVED: 1902s libglib2.0-0t64 1902s The following NEW packages will be installed: 1902s libglib2.0-0xyz xdg-user-dirs 1902s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1902s Need to get 18.0 kB/1498 kB of archives. 1902s After this operation, 213 kB of additional disk space will be used. 1902s Get:1 /tmp/tmp.7p3V1kkdqM/libglib2.0-0xyz.deb libglib2.0-0xyz armhf 2.86.0-2 [1480 kB] 1902s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf xdg-user-dirs armhf 0.18-3 [18.0 kB] 1903s Fetched 18.0 kB in 0s (56.5 kB/s) 1903s dpkg: libglib2.0-0t64:armhf: dependency problems, but removing anyway as you requested: 1903s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 1903s python3-gi depends on libglib2.0-0t64 (>= 2.78.0). 1903s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 1903s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 1903s netplan-generator depends on libglib2.0-0t64 (>= 2.70.0). 1903s libnetplan1:armhf depends on libglib2.0-0t64 (>= 2.76.0). 1903s libgirepository-1.0-1:armhf depends on libglib2.0-0t64 (>= 2.82.0). 1903s libdconf1:armhf depends on libglib2.0-0t64 (>= 2.80.0). 1903s gir1.2-glib-2.0:armhf depends on libglib2.0-0t64 (= 2.86.0-2). 1903s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 1903s dconf-gsettings-backend:armhf depends on libglib2.0-0t64 (>= 2.80.0). 1903s 1903s (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 ... 61148 files and directories currently installed.) 1903s Removing libglib2.0-0t64:armhf (2.86.0-2) ... 1903s Selecting previously unselected package libglib2.0-0xyz:armhf. 1903s (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 ... 61129 files and directories currently installed.) 1903s Preparing to unpack .../libglib2.0-0xyz.deb ... 1903s Unpacking libglib2.0-0xyz:armhf (2.86.0-2) ... 1903s Selecting previously unselected package xdg-user-dirs. 1903s Preparing to unpack .../xdg-user-dirs_0.18-3_armhf.deb ... 1903s Unpacking xdg-user-dirs (0.18-3) ... 1903s Setting up xdg-user-dirs (0.18-3) ... 1903s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 1903s Setting up libglib2.0-0xyz:armhf (2.86.0-2) ... 1903s Processing triggers for libc-bin (2.42-0ubuntu3) ... 1903s Processing triggers for man-db (2.13.1-1) ... 1904s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1904s + n=1 1904s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1904s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1904s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1904s + n=2 1904s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1904s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1904s + assert test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1904s + n=3 1904s + test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1904s + echo ok 3 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1904s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1904s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1904s ok 3 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1904s ok 4 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1904s ok 5 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1904s + assert test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1904s + n=4 1904s + test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1904s + echo ok 4 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1904s + assert test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1904s + n=5 1904s + test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1904s + echo ok 5 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1904s + assert test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1904s + n=6 1904s + test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1904s + echo ok 6 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1904s ok 6 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1904s + apt-get -y purge libglib2.0-0t64 1904s Reading package lists... 1904s Building dependency tree... 1904s Reading state information... 1905s Solving dependencies... 1905s The following packages will be REMOVED: 1905s libglib2.0-0t64* 1906s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1906s After this operation, 0 B of additional disk space will be used. 1906s (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 ... 61163 files and directories currently installed.) 1906s Purging configuration files for libglib2.0-0t64:armhf (2.86.0-2) ... 1906s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1906s + n=7 1906s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1906s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1906s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1906s + n=8 1906s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1906s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1906s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1906s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1906s ok 9 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1906s ok 10 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1906s ok 11 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1906s ok 12 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1906s + assert test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1906s + n=9 1906s + test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1906s + echo ok 9 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1906s + assert test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1906s + n=10 1906s + test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1906s + echo ok 10 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1906s + assert test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1906s + n=11 1906s + test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1906s + echo ok 11 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1906s + assert test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1906s + n=12 1906s + test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1906s + echo ok 12 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1906s + apt-get -y purge libglib2.0-0xyz 1906s Reading package lists... 1906s Building dependency tree... 1906s Reading state information... 1907s Solving dependencies... 1907s The following additional packages will be installed: 1907s libglib2.0-0t64 1907s Suggested packages: 1907s low-memory-monitor 1907s The following packages will be REMOVED: 1907s libglib2.0-0xyz* 1907s The following NEW packages will be installed: 1907s libglib2.0-0t64 1908s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1908s Need to get 1480 kB of archives. 1908s After this operation, 0 B of additional disk space will be used. 1908s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-0t64 armhf 2.86.0-2 [1480 kB] 1909s Fetched 1480 kB in 1s (2456 kB/s) 1909s dpkg: libglib2.0-0xyz:armhf: dependency problems, but removing anyway as you requested: 1909s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 1909s Package libglib2.0-0t64 is not installed. 1909s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1909s python3-gi depends on libglib2.0-0t64 (>= 2.78.0); however: 1909s Package libglib2.0-0t64 is not installed. 1909s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1909s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 1909s Package libglib2.0-0t64 is not installed. 1909s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1909s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 1909s Package libglib2.0-0t64 is not installed. 1909s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1909s netplan-generator depends on libglib2.0-0t64 (>= 2.70.0); however: 1909s Package libglib2.0-0t64 is not installed. 1909s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1909s libnetplan1:armhf depends on libglib2.0-0t64 (>= 2.76.0); however: 1909s Package libglib2.0-0t64 is not installed. 1909s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1909s libgirepository-1.0-1:armhf depends on libglib2.0-0t64 (>= 2.82.0); however: 1909s Package libglib2.0-0t64 is not installed. 1909s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1909s libdconf1:armhf depends on libglib2.0-0t64 (>= 2.80.0); however: 1909s Package libglib2.0-0t64 is not installed. 1909s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1909s gir1.2-glib-2.0:armhf depends on libglib2.0-0t64 (= 2.86.0-2); however: 1909s Package libglib2.0-0t64 is not installed. 1909s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1909s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 1909s Package libglib2.0-0t64 is not installed. 1909s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1909s dconf-gsettings-backend:armhf depends on libglib2.0-0t64 (>= 2.80.0); however: 1909s Package libglib2.0-0t64 is not installed. 1909s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1909s 1909s (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 ... 61163 files and directories currently installed.) 1909s Removing libglib2.0-0xyz:armhf (2.86.0-2) ... 1909s Selecting previously unselected package libglib2.0-0t64:armhf. 1909s (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 ... 61144 files and directories currently installed.) 1909s Preparing to unpack .../libglib2.0-0t64_2.86.0-2_armhf.deb ... 1909s Unpacking libglib2.0-0t64:armhf (2.86.0-2) ... 1909s Setting up libglib2.0-0t64:armhf (2.86.0-2) ... 1909s Processing triggers for libc-bin (2.42-0ubuntu3) ... 1909s (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 ... 61163 files and directories currently installed.) 1909s Purging configuration files for libglib2.0-0xyz:armhf (2.86.0-2) ... 1909s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1909s + n=13 1909s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1909s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1909s + failed=1 1909s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1909s + n=14 1909s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1909s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1909s + failed=1 1909s + assert_not test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1909s + n=15 1909s + test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1909s + echo not ok 15 - should not have succeeded: test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1909s + failed=1 1909s + assert_not test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1909s + n=16 1909s + test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1909s + echo not ok 16 - should not have succeeded: test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1909s + failed=1 1909s + echo 1..16 1909s + exit 1 1909s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1909s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1909s not ok 15 - should not have succeeded: test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1909s not ok 16 - should not have succeeded: test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1909s 1..16 1910s autopkgtest [19:57:22]: test 1065022-futureproofing: -----------------------] 1915s autopkgtest [19:57:27]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1915s 1065022-futureproofing FLAKY non-zero exit status 1 1918s autopkgtest [19:57:30]: @@@@@@@@@@@@@@@@@@@@ summary 1918s build PASS (superficial) 1918s build-static PASS (superficial) 1918s girepository-tools PASS (superficial) 1918s libgio-2.0-dev-bin PASS (superficial) 1918s libglib2.0-dev PASS (superficial) 1918s installed-tests PASS 1918s closure-refcount PASS 1918s debugcontroller PASS 1918s gdbus-server-auth PASS 1918s gdbus-threading PASS 1918s gmenumodel PASS 1918s mainloop PASS 1918s memory-monitor-dbus PASS 1918s socket PASS 1918s testfilemonitor PASS 1918s thread-pool-slow PASS 1918s threadtests PASS 1918s timeout PASS 1918s timer PASS 1918s 1065022-futureproofing FLAKY non-zero exit status 1